Thanks for you reply.
i have the 'r' option under Asterisk Dial Options set as you suggested.
I have set answer_call = no and added the ringing command before the DeadAGI() statement and i still have no luck on getting the ringing tone while the AGI processes the call.
Executing Wait("SIP/0319475766-09dbc8b8", "1") in new stack
-- Executing BackGround("SIP/0319475766-09dbc8b8", "pls-wait-connect-call") in new stack
-- Playing 'pls-wait-connect-call' (language 'en')
-- Executing Ringing("SIP/0319475766-09dbc8b8", "") in new stack
-- Executing DeadAGI("SIP/0319475766-09dbc8b8", "a2billing.php|1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php|1: A2Billing AGI internal configuration:
a2billing.php|1: Array
Any other ideas on how to get the ringing tone while the AGI is processing the call?
|