Calls disconnect after dialing

rubenpita
Joined: Tue 30 of Oct, 2012

Calls disconnect after dialing

Posted:Tue 30 of Oct, 2012 (17:16 UTC)
Hello guys,

Any help you can offer me in the troubleshooting of this issue will be very appreciated. I have a fresh installation of Asterisk that was running trouble free for almost 2 month but suddenly without any changes to the system, calls started to disconnect as soon as the users press the send key to make the call and they need to dial several times to get the call connected. The message in the screen is "finalized".

Thank you so much in advance.

Configuration:

Asterisk 1.4.36
Elastix 1.6.2-37
CentOS release 5.8 (Final)
ISO: Elastix-1.6.0-i386-bin-29Oct2009.
PC Dell Vostro 260, 4GB RAM, CPU Intel Core i3 2120 3.3GHz (Brand new)

[b]Actions:[/b]
1. The problem was reported the our ISP and no issues were found in the T1.
2. We restored a backup done post the fresh installation when the system was working fine and still have the same problem. 

[b]Notes: [/b]
- When we reboot the PC, the system work normally for several hours and then start giving the problem (a pattern)
- We have another system installed with the same ISO and is working properly.

[b]Log of activity while attempting several calls:[/b]

[quote]   -- Executing [8094724479@from-internal:3] Macro("SIP/307-000000e5", "record-enable|307|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/307-000000e5", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/307-000000e5", "recordingcheck|20121012-104550|1350053150.427") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20121012-104550|1350053150.427: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/307-000000e5", "") in new stack
    -- Executing [8094724479@from-internal:4] Macro("SIP/307-000000e5", "dialout-trunk|1|8094724479||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/307-000000e5", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/307-000000e5", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/307-000000e5", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/307-000000e5", "DIAL_NUMBER=8094724479") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/307-000000e5", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/307-000000e5", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/307-000000e5", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/307-000000e5", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/307-000000e5", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/307-000000e5", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/307-000000e5", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/307-000000e5", "0|Set|REALCALLERIDNUM=8295470616") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/307-000000e5", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/307-000000e5", "USEROUTCID=8096162127") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/307-000000e5", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/307-000000e5", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/307-000000e5", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/307-000000e5", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/307-000000e5", "1|Set|CALLERID(all)=8096162127") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/307-000000e5", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/307-000000e5", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/307-000000e5", "OUTNUM=8094724479") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/307-000000e5", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/307-000000e5", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/307-000000e5", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/307-000000e5", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/307-000000e5", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/307-000000e5", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/307-000000e5", "DAHDI/g0/8094724479|300|") in new stack
    -- Called g0/8094724479
    -- DAHDI/1-1 answered SIP/307-000000e5
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/307-000000e5", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/307-000000e5", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/307-000000e5", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/307-000000e5", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] NoOp("SIP/307-000000e5", "MEETME_RECORDINGFILE=") in new stack
    -- Executing [s@macro-hangupcall:13] GotoIf("SIP/307-000000e5", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,15)
    -- Executing [s@macro-hangupcall:15] NoOp("SIP/307-000000e5", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:16] GotoIf("SIP/307-000000e5", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,18)
    -- Executing [s@macro-hangupcall:18] NoOp("SIP/307-000000e5", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:19] GotoIf("SIP/307-000000e5", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,22)
    -- Executing [s@macro-hangupcall:22] GotoIf("SIP/307-000000e5", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,25)
    -- Executing [s@macro-hangupcall:25] GotoIf("SIP/307-000000e5", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,27)
    -- Executing [s@macro-hangupcall:27] Hangup("SIP/307-000000e5", "") in new stack
  == Spawn extension (macro-hangupcall, s, 27) exited non-zero on 'SIP/307-000000e5' in macro 'hangupcall'
  == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/307-000000e5'
    -- Hungup 'DAHDI/1-1'
  == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/307-000000e5' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 8094724479, 4) exited non-zero on 'SIP/307-000000e5'
    -- Executing [8094724479@from-internal:1] Macro("SIP/307-000000e6", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/307-000000e6", "AMPUSER=307") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/307-000000e6", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/307-000000e6", "1|Set|REALCALLERIDNUM=307") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/307-000000e6", "AMPUSER=307") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/307-000000e6", "AMPUSERCIDNAME=Mery") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/307-000000e6", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/307-000000e6", "AMPUSERCID=8295470616") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/307-000000e6", "CALLERID(all)="Mery" <8295470616>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/307-000000e6", "1|Set|CHANNEL(language)=es") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/307-000000e6", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/307-000000e6", "Using CallerID "Mery" <8295470616>") in new stack
    -- Executing [8094724479@from-internal:2] Set("SIP/307-000000e6", "_NODEST=") in new stack
    -- Executing [8094724479@from-internal:3] Macro("SIP/307-000000e6", "record-enable|307|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/307-000000e6", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/307-000000e6", "recordingcheck|20121012-104556|1350053156.429") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20121012-104556|1350053156.429: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/307-000000e6", "") in new stack
    -- Executing [8094724479@from-internal:4] Macro("SIP/307-000000e6", "dialout-trunk|1|8094724479||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/307-000000e6", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/307-000000e6", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/307-000000e6", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/307-000000e6", "DIAL_NUMBER=8094724479") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/307-000000e6", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/307-000000e6", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/307-000000e6", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/307-000000e6", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/307-000000e6", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/307-000000e6", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/307-000000e6", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/307-000000e6", "0|Set|REALCALLERIDNUM=8295470616") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/307-000000e6", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/307-000000e6", "USEROUTCID=8096162127") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/307-000000e6", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/307-000000e6", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/307-000000e6", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/307-000000e6", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/307-000000e6", "1|Set|CALLERID(all)=8096162127") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/307-000000e6", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/307-000000e6", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/307-000000e6", "OUTNUM=8094724479") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/307-000000e6", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/307-000000e6", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/307-000000e6", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/307-000000e6", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/307-000000e6", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/307-000000e6", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/307-000000e6", "DAHDI/g0/8094724479|300|") in new stack
    -- Called g0/8094724479
    -- DAHDI/1-1 answered SIP/307-000000e6
pbx-charles*CLI>
[/quote]

[quote]  -- Executing [s@macro-outbound-callerid:6] Set("SIP/307-000000ea", "USEROUTCID=8096162127") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/307-000000ea", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/307-000000ea", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/307-000000ea", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/307-000000ea", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/307-000000ea", "1|Set|CALLERID(all)=8096162127") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/307-000000ea", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/307-000000ea", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/307-000000ea", "OUTNUM=8096338204") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/307-000000ea", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/307-000000ea", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/307-000000ea", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/307-000000ea", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/307-000000ea", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/307-000000ea", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/307-000000ea", "DAHDI/g0/8096338204|300|") in new stack
    -- Called g0/8096338204
    -- DAHDI/1-1 answered SIP/307-000000ea
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/307-000000ea", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/307-000000ea", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/307-000000ea", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/307-000000ea", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] NoOp("SIP/307-000000ea", "MEETME_RECORDINGFILE=") in new stack
    -- Executing [s@macro-hangupcall:13] GotoIf("SIP/307-000000ea", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,15)
    -- Executing [s@macro-hangupcall:15] NoOp("SIP/307-000000ea", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:16] GotoIf("SIP/307-000000ea", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,18)
    -- Executing [s@macro-hangupcall:18] NoOp("SIP/307-000000ea", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:19] GotoIf("SIP/307-000000ea", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,22)
    -- Executing [s@macro-hangupcall:22] GotoIf("SIP/307-000000ea", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,25)
    -- Executing [s@macro-hangupcall:25] GotoIf("SIP/307-000000ea", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,27)
    -- Executing [s@macro-hangupcall:27] Hangup("SIP/307-000000ea", "") in new stack
  == Spawn extension (macro-hangupcall, s, 27) exited non-zero on 'SIP/307-000000ea' in macro 'hangupcall'
  == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/307-000000ea'
    -- Hungup 'DAHDI/1-1'
  == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/307-000000ea' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 8096338204, 4) exited non-zero on 'SIP/307-000000ea'
    -- Executing [8096338204@from-internal:1] Macro("SIP/307-000000eb", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/307-000000eb", "AMPUSER=307") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/307-000000eb", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/307-000000eb", "1|Set|REALCALLERIDNUM=307") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/307-000000eb", "AMPUSER=307") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/307-000000eb", "AMPUSERCIDNAME=Mery") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/307-000000eb", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/307-000000eb", "AMPUSERCID=8295470616") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/307-000000eb", "CALLERID(all)="Mery" <8295470616>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/307-000000eb", "1|Set|CHANNEL(language)=es") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/307-000000eb", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/307-000000eb", "Using CallerID "Mery" <8295470616>") in new stack
    -- Executing [8096338204@from-internal:2] Set("SIP/307-000000eb", "_NODEST=") in new stack
    -- Executing [8096338204@from-internal:3] Macro("SIP/307-000000eb", "record-enable|307|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/307-000000eb", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/307-000000eb", "recordingcheck|20121012-104859|1350053339.439") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20121012-104859|1350053339.439: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/307-000000eb", "") in new stack
    -- Executing [8096338204@from-internal:4] Macro("SIP/307-000000eb", "dialout-trunk|1|8096338204||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/307-000000eb", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/307-000000eb", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/307-000000eb", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/307-000000eb", "DIAL_NUMBER=8096338204") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/307-000000eb", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/307-000000eb", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/307-000000eb", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/307-000000eb", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/307-000000eb", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/307-000000eb", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/307-000000eb", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/307-000000eb", "0|Set|REALCALLERIDNUM=8295470616") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/307-000000eb", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/307-000000eb", "USEROUTCID=8096162127") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/307-000000eb", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/307-000000eb", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/307-000000eb", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/307-000000eb", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/307-000000eb", "1|Set|CALLERID(all)=8096162127") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/307-000000eb", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/307-000000eb", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/307-000000eb", "OUTNUM=8096338204") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/307-000000eb", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/307-000000eb", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/307-000000eb", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/307-000000eb", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/307-000000eb", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/307-000000eb", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/307-000000eb", "DAHDI/g0/8096338204|300|") in new stack
    -- Called g0/8096338204
    -- DAHDI/1-1 answered SIP/307-000000eb
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/307-000000eb", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/307-000000eb", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/307-000000eb", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/307-000000eb", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] NoOp("SIP/307-000000eb", "MEETME_RECORDINGFILE=") in new stack
    -- Executing [s@macro-hangupcall:13] GotoIf("SIP/307-000000eb", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,15)
    -- Executing [s@macro-hangupcall:15] NoOp("SIP/307-000000eb", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:16] GotoIf("SIP/307-000000eb", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,18)
    -- Executing [s@macro-hangupcall:18] NoOp("SIP/307-000000eb", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:19] GotoIf("SIP/307-000000eb", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,22)
    -- Executing [s@macro-hangupcall:22] GotoIf("SIP/307-000000eb", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,25)
    -- Executing [s@macro-hangupcall:25] GotoIf("SIP/307-000000eb", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,27)
    -- Executing [s@macro-hangupcall:27] Hangup("SIP/307-000000eb", "") in new stack
  == Spawn extension (macro-hangupcall, s, 27) exited non-zero on 'SIP/307-000000eb' in macro 'hangupcall'
  == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/307-000000eb'
    -- Hungup 'DAHDI/1-1'
  == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/307-000000eb' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 8096338204, 4) exited non-zero on 'SIP/307-000000eb'
pbx-charles*CLI>[/quote]