When dialing out on the old server, this is the log
[Jun 28 12:56:52] VERBOSE[2922] logger.c: == Using SIP RTP TOS bits 184
[Jun 28 12:56:52] VERBOSE[2922] logger.c: == Using SIP RTP CoS mark 5
[Jun 28 12:56:52] VERBOSE[2922] logger.c: == Using SIP VRTP TOS bits 136
[Jun 28 12:56:52] VERBOSE[2922] logger.c: == Using SIP VRTP CoS mark 6
[Jun 28 12:56:52] DEBUG[2881] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[Jun 28 12:56:52] DEBUG[2881] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[Jun 28 12:56:52] VERBOSE[2881] logger.c: == Extension Changed 111[ext-local] new state InUse for Notify User 101
[Jun 28 12:56:52] VERBOSE[2881] logger.c: == Extension Changed 111[ext-local] new state InUse for Notify User 101
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [93864350@from-unrestricted:1] Macro(“SIP/111-00000109”, “user-callerid,SKIPTTL,”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:1] Set(“SIP/111-00000109”, “AMPUSER=111”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:2] GotoIf(“SIP/111-00000109”, “0?report”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:3] ExecIf(“SIP/111-00000109”, “1?Set(REALCALLERIDNUM=111)”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:4] Set(“SIP/111-00000109”, “AMPUSER=111”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:5] Set(“SIP/111-00000109”, “AMPUSERCIDNAME=Director of IT”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/111-00000109”, “0?report”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:7] Set(“SIP/111-00000109”, “AMPUSERCID=111”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:8] Set(“SIP/111-00000109”, "CALLERID(all)=“Director of IT” ") in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:9] ExecIf(“SIP/111-00000109”, “0?Set(CHANNEL(language)=)”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:10] GotoIf(“SIP/111-00000109”, “1?continue”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Goto (macro-user-callerid,s,19)
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-user-callerid:19] NoOp(“SIP/111-00000109”, "Using CallerID “Director of IT” ") in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [93864350@from-unrestricted:2] Set(“SIP/111-00000109”, “_NODEST=”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [93864350@from-unrestricted:3] Macro(“SIP/111-00000109”, “record-enable,111,OUT,”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-record-enable:1] GotoIf(“SIP/111-00000109”, “1?check”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Goto (macro-record-enable,s,4)
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Executing [s@macro-record-enable:4] AGI(“SIP/111-00000109”, “recordingcheck,20130628-125652,1372442212.807”) in new stack
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Jun 28 12:56:52] VERBOSE[19326] logger.c: recordingcheck,20130628-125652,1372442212.807: Outbound recording not enabled
[Jun 28 12:56:52] VERBOSE[19326] logger.c: – <SIP/111-00000109>AGI Script recordingcheck completed, returning 0
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-record-enable:5] MacroExit(“SIP/111-00000109”, “”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [93864350@from-unrestricted:4] Macro(“SIP/111-00000109”, “dialout-trunk,6,3864350,”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/111-00000109”, “DIAL_TRUNK=6”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/111-00000109”, “0?sub-pincheck,s,1”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/111-00000109”, “0?disabletrunk,1”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/111-00000109”, “DIAL_NUMBER=3864350”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/111-00000109”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/111-00000109”, “OUTBOUND_GROUP=OUT_6”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/111-00000109”, “0?nomax”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/111-00000109”, “0?chanfull”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/111-00000109”, “0?skipoutcid”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/111-00000109”, “DIAL_TRUNK_OPTIONS=”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/111-00000109”, “outbound-callerid,6”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/111-00000109”, “0?Set(CALLERPRES()=)”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/111-00000109”, “0?Set(REALCALLERIDNUM=111)”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/111-00000109”, “1?normcid”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Goto (macro-outbound-callerid,s,6)
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/111-00000109”, “USEROUTCID=”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/111-00000109”, “EMERGENCYCID=6203455501”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/111-00000109”, “TRUNKOUTCID=”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/111-00000109”, “1?trunkcid”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Goto (macro-outbound-callerid,s,12)
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/111-00000109”, “0?Set(CALLERID(all)=)”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/111-00000109”, “0?Set(CALLERID(all)=)”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/111-00000109”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:12] ExecIf(“SIP/111-00000109”, “1?AGI(fixlocalprefix)”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
[Jun 28 12:56:53] VERBOSE[19326] logger.c: == fixlocalprefix: Dialpattern NXXXXXX matched. 3864350 -> 3864350
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – <SIP/111-00000109>AGI Script fixlocalprefix completed, returning 0
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/111-00000109”, “OUTNUM=3864350”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/111-00000109”, “custom=DAHDI/g0”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/111-00000109”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:16] Macro(“SIP/111-00000109”, “dialout-trunk-predial-hook,”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/111-00000109”, “”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/111-00000109”, “0?bypass,1”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/111-00000109”, “0?customtrunk”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Executing [s@macro-dialout-trunk:19] Dial(“SIP/111-00000109”, “DAHDI/g0/3864350,300,”) in new stack
[Jun 28 12:56:53] VERBOSE[19326] logger.c: – Called g0/3864350
[Jun 28 12:57:02] VERBOSE[19329] logger.c: – Starting simple switch on ‘DAHDI/2-1’
[Jun 28 12:57:03] DEBUG[2881] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[Jun 28 12:57:03] DEBUG[2881] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[Jun 28 12:57:03] VERBOSE[2881] logger.c: == Extension Changed 111[ext-local] new state Idle for Notify User 101
[Jun 28 12:57:03] VERBOSE[2881] logger.c: == Extension Changed 111[ext-local] new state Idle for Notify User 101
[Jun 28 12:57:03] VERBOSE[19326] logger.c: – Hungup ‘DAHDI/1-1’
[Jun 28 12:57:03] VERBOSE[19326] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on ‘SIP/111-00000109’ in macro ‘dialout-trunk’
[Jun 28 12:57:03] VERBOSE[19326] logger.c: == Spawn extension (from-unrestricted, 93864350, 4) exited non-zero on ‘SIP/111-00000109’
[Jun 28 12:57:03] VERBOSE[19326] logger.c: – Executing [h@from-unrestricted:1] System(“SIP/111-00000109”, "/var/lib/asterisk/bin/fax-process.pl --to --from [email protected] --dest “” --subject “Fax from 111 Director%20of%20IT” --attachment fax_111.pdf --type application/pdf --file ") in new stack
[Jun 28 12:57:04] VERBOSE[19326] logger.c: – Executing [h@from-unrestricted:2] Hangup(“SIP/111-00000109”, “”) in new stack
[Jun 28 12:57:04] VERBOSE[19326] logger.c: == Spawn extension (from-unrestricted, h, 2) exited non-zero on ‘SIP/111-00000109’