I’m facing a strange result as i’m testing an Asterisk dialer system
Call files are functioning very well but as i don’t answer test calls on my cellphone i got on failed extensions always 0
exten = failed,1,NoOp(The call failed)
exten = failed,n,GotoIf($[${REASON} ----------------> always got 0 so
0 - Failed (not busy or congested)
But on Asterisk cli i’m reading: Reason 3 (the correct ones)
3 - Ring timeout
SIP/01821985661-00000002 is making progress
– Executing [failed@call-file-test:1] NoOp(“OutgoingSpoolFailed”, “The call failed”) in new stack
– Executing [failed@call-file-test:2] GotoIf(“OutgoingSpoolFailed”, “0?busy”) in new stack
– Executing [failed@call-file-test:3] GotoIf(“OutgoingSpoolFailed”, “0?congested”) in new stack
– Executing [failed@call-file-test:4] NoOp(“OutgoingSpoolFailed”, “The line was closed due to congestion”) in new stack
– Executing [failed@call-file-test:5] Hangup(“OutgoingSpoolFailed”, “”) in new stack
== Spawn extension (call-file-test, failed, 5) exited non-zero on ‘OutgoingSpoolFailed’
[2017-03-11 10:32:20] NOTICE[5388][C-00000003]: pbx_spool.c:413 attempt_thread: Call failed to go through, reason (3) Remote end Ringing
is there any reason to this different result?