hi all, I am calling a PSTN and trying to transfer it to another asterisk server through exec_dial function. $agi->exec_dial(SIP,2001:j0nny at 172.26.48.62:5060,NULL,NULL,NULL); Though this is the function written by me in a file inbound.php which is called when an extension is dialled. When ever i dial through PSTN it gives beeps sound, but without this line program runs smoothly. Can someone help??? -- Nikhil Kumar rit2007033 b.tech IT 6th sem IIIT Allahabad contact at 9793905858 email: rit2007033 at iiita.ac.in niksinghania at gmail.com http://profile.iiita.ac.in/RIT2007033/ -- Nikhil Kumar rit2007033 b.tech IT 6th sem IIIT Allahabad contact at 9793905858 email: rit2007033 at iiita.ac.in niksinghania at gmail.com http://profile.iiita.ac.in/RIT2007033/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100609/69365892/attachment.htm
Since you have some inherent timeouts due to technology jumps, you might try $agi->exec_dial(SIP,ww2001:j0nny at 172.26.48.62:5060,NULL,NULL,NULL); To make asterisk wait 1 second before trying the call. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of nikhil singhania Sent: Wednesday, June 09, 2010 7:19 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] PSTN-IVR call hi all, I am calling a PSTN and trying to transfer it to another asterisk server through exec_dial function. $agi->exec_dial(SIP,2001:j0nny at 172.26.48.62:5060,NULL,NULL,NULL); Though this is the function written by me in a file inbound.php which is called when an extension is dialled. When ever i dial through PSTN it gives beeps sound, but without this line program runs smoothly. Can someone help??? -- Nikhil Kumar rit2007033 b.tech IT 6th sem IIIT Allahabad contact at 9793905858 email: rit2007033 at iiita.ac.in niksinghania at gmail.com http://profile.iiita.ac.in/RIT2007033/ -- Nikhil Kumar rit2007033 b.tech IT 6th sem IIIT Allahabad contact at 9793905858 email: rit2007033 at iiita.ac.in niksinghania at gmail.com http://profile.iiita.ac.in/RIT2007033/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100609/4b75e087/attachment.htm
On Wed, 9 Jun 2010, nikhil singhania wrote:> ?I am calling a PSTN and trying to transfer it to another asterisk server through exec_dial function. > ?? $agi->exec_dial(SIP,2001:j0nny at 172.26.48.62:5060,NULL,NULL,NULL); > Though this is the function written by me in? a file inbound.php which is called when an extension is dialled.If you enable AGI debugging, this may give you a clue. Posting the console output may help someone help you. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000