Summary: | ASTERISK-14782: No call progress ringback sent to PSTN caller when Answer() is used in context | ||
Reporter: | Samuel Atkins (comcardllc) | Labels: | |
Date Opened: | 2009-09-07 10:28:55 | Date Closed: | 2011-06-07 14:00:34 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I notice what appears to be serious Bug in asterisk 1.6.2.0-beta2 and 1.6.2.0-beta4 I have searched but reports and could not find this issue posted before. When I receive calls from any DID provider there is no ringback that a caller hears if I use Answer() in my context-dialplan Example I have a DID 812-952-5702 from vitelity and using trunk “vitel-inbound” Its routed to my context “DID” which uses Answer(). When a caller calls from PSTN to 812-952-5702 the softphone or ATA will begin ringing but the PSTN-caller will not hear any ringtones-ringback. This issue did not exist in earlier versions of asterisk. My set up is very simple. I have also tested this on a fresh install of 1.6.2.0-beta4 on linux centos 5.3 server which never had asterisk before and got the same no results. The only way I can get caller to hear a ring-back tone is by removing “exten => _X.,1,Answer()” This issue is very serious because I need to play a voice prompt before routing the caller to client on softphone or ata so I must answer the call to play the voice prompt. I even tried to make an extra Context like below. The first will answer and play file than use “Dial(LOCAL” command to call the second Context which will not us the answer() command before sending the call out to the Softphone or ATA. I even changed the r to R and even removed the r. I done this in every combination possible between the 2 context and still same results. IF I need to provide Additional CLI outputs give me the verbose or debug Level I need to use or any other command to output Additional CLI [DID] exten => _X.,1,Answer() exten => _X.,2,Playback(hello-world) exten => _X.,3,Dial(LOCAL/${EXTEN}@Test123,60,Lr(9000000)) exten => _X.,4,Hangup [Test123] exten => _X.,1,Dial(SIP/${EXTEN}@8129525702,60,Lr(9000000)) exten => _X.,2,Hangup Below is how my original trunk and Context settings. Sip.Conf File (Only trunks shown here) [vitel-inbound] disallow=all type=friend host=inbound5.vitelity.net dtmfmode=rfc2833 context=DID allow=ulaw canreinvite=no [8129525702] deny=0.0.0.0/0.0.0.0 disallow=all secret_origional=XXXX secret=XXXXX dtmfmode=rfc2833 canreinvite=no context=from-internal host=dynamic type=friend nat=yes port=5060 qualify=yes allow=ulaw dial=SIP/8129525702 accountcode=1000000 mailbox=8129525702@default permit=0.0.0.0/0.0.0.0 callerid=device <8129525702> call-limit=50 Extension.conf file [DID] exten => _X.,1,Answer() exten => _X.,1,Dial(SIP/${EXTEN}@8129525702,60,Lr(9000000)) exten => _X.,2,Hangup | ||
Comments: | By: Leif Madsen (lmadsen) 2009-09-15 13:10:38 Can you try not using Answer() at all, and just use Playback? Try this: exten => _X.,1,Playback(silence/1&hello-world) This will answer the line for you. By: Leif Madsen (lmadsen) 2009-09-30 09:56:02 I'm closing this issue as it has been waiting on feedback for more than 2 weeks. If the reporter has additional information that can be submitted, than they are welcome to reopen the issue. Thanks! |