0 Replies - 3441 Views - Last Post: 21 September 2012 - 01:09 AM Rate Topic: -----

#1 pranav1188  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 20-September 12

Asterisk hangup/busy tone not detected on mobile call

Posted 21 September 2012 - 01:09 AM

hi friends,
i need a help on my asterisk project.

i have already set up an ivr for my company using asterisk.
server configurations are:
asterisk 10.0
digium TE121
E1 pri from reliance communication india.

MY PROBLEM IS THAT WHEN SOME CALLS ON MY IVR NUMBER HE/SHE WILL BE REDICTED TO MOBILE/LANDLINE NUMBER AS PER THE DTMF INPUT THEY GIVE.WHEN I REDIRECT IT TO LANDLINE NUMBER THE BUSY/NOANSWER STATE IS DETECTED PERFECTLY AND "dialstatus"
VARIABLE IS BEING SET AS PER IT. BUT WHEN I REDIRECT IT TO MOBILE NUMBER THE BUSY STATE IS NOT BEING DETECTED AND ASTERISK SHOWS IT AS RINGING UNTIL THE DIAL TIMEOUT IS REACHED.

THE PROBLEM IS THAT IN INDIA ON LANDLINE NUMBERS THE TONES DEFINED BY INTERNATIONAL TELECOME AUTHORITY ARE GIVEN IMMEGIATELY, BUT ON MOBILE NUMBERS OPERATOR PLAYS A VOICE FILE FIRST INSTEAD OF GIVING BUSY TONE FIRST AND THEN GIVES THE BUSY TONE (AFTER ABOUT 20-30 SECONDS). SO THE ASTERISK DO NOT DETECT BUSY TONE ON MOBILE NUMBERS.

SO IF THERE IS ANY TECHNIQUE OR PATCH TO SOLVE THIS PROBLEM PLEASE LET ME KNOW.
IS THERE IS ANY SOLUTION BY USING AGI/AMI SCRIPTING, THEN IT WILL BE ALSO APPRECIATED.

MY IVR DIALPLAN IS AS GIVEN BELOW.
I HAVE CHANGED THE EXTENSION NUMBER FOR PRIVACY ISSUES.

[code]
exten => _2121212,1,GotoIfTime(10:00-19:00,mon-sat,*,*?2121212,2:2121212,4)
exten => _2121212,2,Background(ive1new)
exten => _2121212,3,WaitExten(15)

exten => _2121212,4,Playback(officehours1)
exten => _2121212,5,WaitExten(3)
exten => _2121212,6,Goto(3090700,4)

exten => 0,1,Dial(DAHDI/g2/<mobilenumber here>,30)
exten => 0,2,Goto(2121212-${DIALSTATUS},1)

exten => 1,1,Dial(DAHDI/g2/<mobilenumber here>,20,r)
exten => 1,n,Goto(2121212-${DIALSTATUS},1)

exten => 2,1,Dial(DAHDI/g2/<mobilenumber here>,20,r)
exten => 2,n,Goto(2121212-${DIALSTATUS},1)

exten => 3,1,Dial(DAHDI/g2/<mobilenumber here>,20,r)
exten => 3,n,Goto(2121212-${DIALSTATUS},1)

exten => 9,1,Goto(2121212,2)

exten => 2121212-NOANSWER,1,Dial(DAHDI/g2/<mobilenumber here>,20,r)
exten => 2121212-NOANSWER,2,hangup()

exten => 2121212-BUSY,1,Dial(DAHDI/g2/<mobilenumber here>,20,r)
exten => 2121212-BUSY,2,hangup()

exten => 2121212-CONGESTION,1,Dial(DAHDI/g2/<mobilenumber here>,20,r)
exten => 2121212-CONGESTION,2,hangup()

exten => 2121212-CHANUNAVAIL,1,Dial(DAHDI/g2/<mobilenumber here>,20,r)
exten => 2121212-CHANUNAVAIL,2,hangup()
[code]

Is This A Good Question/Topic? 0
  • +

Page 1 of 1