2 Replies - 2729 Views - Last Post: 21 September 2012 - 06:02 AM

#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 calls

Posted 21 September 2012 - 01:07 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. IS 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.

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()


This post has been edited by macosxnerd101: 21 September 2012 - 06:01 AM
Reason for edit:: Fixed code tags


Is This A Good Question/Topic? 0
  • +

Replies To: Asterisk hangup/busy tone not detected on mobile calls

#2 g00se  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2650
  • View blog
  • Posts: 11,181
  • Joined: 20-September 08

Re: Asterisk hangup/busy tone not detected on mobile calls

Posted 21 September 2012 - 05:49 AM

You posted this in the wrong place - Asterisk has nothing to do with Java
Was This Post Helpful? 0
  • +
  • -

#3 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10376
  • View blog
  • Posts: 38,415
  • Joined: 27-December 08

Re: Asterisk hangup/busy tone not detected on mobile calls

Posted 21 September 2012 - 06:02 AM

Moved to Mobile Development.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1