|
Hi,
Does anyone have an idea why the dialplan is moving to priority h (hangup) in macro-dial after 10s of every inbound call?
I am helping someone with a problem whereby an incoming call ends after exactly 10s.
The console shows:
-- SIP/201-0889cd68 is ringing
-- SIP/201-0889cd68 answered SIP/4908187-08845848
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/4908187-08845848' in macro 'dial'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/4908187-08845848' in macro 'exten-vm'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/4908187-08845848'
-- Executing [h@macro-dial:1] Macro("SIP/4908187-08845848", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/4908187-08845848", "w") in new stack
It seems that after the call has been answered and parties are talking, the script moves to priority h which causes the hangup.
I have overcome the problem by putting a new, simple macro-dial in extensions_custom.conf but this is more of a workaround than a solution and prevents some changes being made through the GUI.
Can anyone help? I imagine something is going wrong inside dialparties.agi as I can see no reason for this behaviour in the dialplan.
Thanks for any help.
Seabro |