[asterisk-users] Error While Calling AGI

Nitesh Divecha nitesh at vipernetworks.com
Wed Jun 27 14:24:27 CDT 2007


Hello All,

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