[asterisk-users] Error While Calling AGI

Nitesh Divecha nitesh at vipernetworks.com
Thu Jun 28 07:54:26 CDT 2007


Hello All,
Please anyone can help me with this error...

Found some strange problem while Asterisk trying to call the AGI file.
If I pick up the call on the first attempt, it will execute my AGI file 
properly.
But if I don't pick up the call and let Asterisk call me again, it adds 
"StartRetry: 3700 1 (1182971439)" next to my AGI file name, which will 
cause the AGI to fail to execute.

-- Attempting call on SIP/5181 for application AGI(recordvoice.php) 
(Retry 1)
   -- Attempting call on SIP/5181 for application 
AGI(recordvoice.phpStartRetry: 3700 1 (1182971439)) (Retry 2)
   -- Attempting call on SIP/5181 for application 
AGI(recordvoice.phpStartRetry: 3700 1 (1182971439)) (Retry 3)
      > Channel SIP/08f39360 was answered.
      > Launching AGI(recordvoice.phpStartRetry: 3700 1 (1182971439)) on 
SIP/08f39360
   -- Launched AGI Script 
/var/lib/asterisk/agi-bin/recordvoice.phpStartRetry: 3700 1 (1182971439)
   -- AGI Script recordvoice.phpStartRetry: 3700 1 (1182971439) 
completed, returning 0

Can anyone help? By the way I am executing using *.call file.

File make.call: -
Channel: SIP/5181
MaxRetries: 3
RetryTime: 30
WaitTime: 15
Application: AGI
Data: recordvoice.php

Cheers,
Nitesh






More information about the asterisk-users mailing list