Since you have some inherent timeouts due to technology jumps, you might try

$agi->exec_dial(SIP,ww2001:j0...@172.26.48.62:5060,NULL,NULL,NULL);

To make asterisk wait 1 second before trying the call.

  _____  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of nikhil
singhania
Sent: Wednesday, June 09, 2010 7:19 AM
To: asterisk-users@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:j0...@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
cont...@9793905858
email: rit2007...@iiita.ac.in
         niksingha...@gmail.com
http://profile.iiita.ac.in/RIT2007033/




-- 
Nikhil Kumar
rit2007033
b.tech IT 6th sem
IIIT Allahabad
cont...@9793905858
email: rit2007...@iiita.ac.in
         niksingha...@gmail.com
http://profile.iiita.ac.in/RIT2007033/

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to