Mark Hagler
2006-Jun-06 15:15 UTC
[Asterisk-Users] pbx_spool - outgoing qcall failure upon call progress
Does anybody have a work around for this problem. I create a call file in /var/spool/asterisk/outgoing and Asterisk picks it up and starts placing the call. However if the called channel provides any sort of progress indication (such as a SIP or IAX channel indicating ringing that causes the console to say "SIP/xxxx is ringing") the code in pbx_spool.c indicates a call failure and drops the call with "reason 3". I suspect the call progress handling code is newer than the pbx_spool.c and pbx_spool.c expects any indication returned to be a failure, which is not necessarily the case anymore. Is this a bug? -- Executing Dial("Local/778@stations-45be,2", "SIP/778|20") in new stack -- Called 778 -- SIP/778-2431 is ringing -- Local/778@stations-45be,1 is ringing Jun 6 14:39:44 NOTICE[15746]: pbx_spool.c:269 attempt_thread: Call failed to go through, reason 3 == Spawn extension (default, 571, 1) exited non-zero on 'Local/571@default-60cd,2'