oddly it does not, I tried placing a non existing sip trunk name, and I tried your theory,
it plays the recording and then just drops/closes the call
This is the CLI dump with your theory, it seems it needs to fill some variable as a failing trunk. Some how it does not fall thru other trunks, just stops.
CLI Dump:
– Executing [s@macro-dialout-trunk:28] Dial(“SIP/202-08ab2c98”, “Local/7273601@mobile-warn-custom|300|”) in new stack
– Called 7273601@mobile-warn-custom
– Executing [7273601@mobile-warn-custom:1] Answer(“Local/7273601@mobile-warn-custom-70ba,2”, “”) in new stack
– Executing [7273601@mobile-warn-custom:2] Wait(“Local/7273601@mobile-warn-custom-70ba,2”, “1”) in new stack
– Local/7273601@mobile-warn-custom-70ba,1 answered SIP/202-08ab2c98
– Executing [7273601@mobile-warn-custom:3] NoOp(“Local/7273601@mobile-warn-custom-70ba,2”, “Playing announcement Expensive-Call-Warning”) in new stack
– Executing [7273601@mobile-warn-custom:4] Playback(“Local/7273601@mobile-warn-custom-70ba,2”, “SaldoPendienteMujer|noanswer”) in new stack
– <Local/7273601@mobile-warn-custom-70ba,2> Playing ‘Outboundmsg’ (language ‘es’)
– Remote UNIX connection
– Remote UNIX connection disconnected
– Executing [7273601@mobile-warn-custom:5] Wait(“Local/7273601@mobile-warn-custom-70ba,2”, “1”) in new stack
== Auto fallthrough, channel ‘Local/7273601@mobile-warn-custom-70ba,2’ status is ‘UNKNOWN’
== Spawn extension (macro-dialout-trunk, s, 28) exited non-zero on ‘SIP/202-08ab2c98’ in macro ‘dialout-trunk’
== Spawn extension (macro-dialout-trunk, s, 28) exited non-zero on ‘SIP/202-08ab2c98’
– Executing [h@macro-dialout-trunk:1] Macro(“SIP/202-08ab2c98”, “hangupcall|”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“SIP/202-08ab2c98”, “w”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“SIP/202-08ab2c98”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“SIP/202-08ab2c98”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“SIP/202-08ab2c98”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] GotoIf(“SIP/202-08ab2c98”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“SIP/202-08ab2c98”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/202-08ab2c98’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/202-08ab2c98’
== End MixMonitor Recording SIP/202-08ab2c98
I’ll be more than glad to test other theories.
thanks for the prompt reply.