-bash-4.0# service asterisk start Starting asterisk: [ OK ] -bash-4.0# asterisk -rvvvvvvvvvvv Asterisk 1.6.0.16-rc1, Copyright (C) 1999 - 2009 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.0.16-rc1 currently running on vpbx03 (pid = 18775) Verbosity was 0 and is now 11 [Sep 18 16:49:49] NOTICE[18787]: chan_sip.c:16023 handle_response_peerpoke: Peer '204-0004132311d4-1' is now Reachable. (47ms / 2000ms) [Sep 18 16:49:49] NOTICE[18787]: chan_sip.c:16023 handle_response_peerpoke: Peer '202-000413401713-1' is now Reachable. (15ms / 2000ms) [Sep 18 16:49:50] NOTICE[18787]: chan_sip.c:16023 handle_response_peerpoke: Peer 'lpbx02' is now Reachable. (1ms / 2000ms) > Saved useragent "snom360/7.3.14" for peer 204-0004132311d4-1 [Sep 18 16:49:50] NOTICE[18787]: chan_sip.c:16023 handle_response_peerpoke: Peer 'lpbx01' is now Reachable. (1ms / 2000ms) vpbx03*CLI> sip show peers Name/username Host Dyn Nat ACL Port Status 204-00041323640f-1 (Unspecified) D 5060 UNKNOWN 204-0004132311d4-1/204-00 10.0.42.230 D 2049 OK (53 ms) 203-0004132450fd-1 (Unspecified) D 5060 UNKNOWN 202-000413401713-1/202-00 10.0.42.232 D 1024 OK (15 ms) 201-000e08d4eb26-1 (Unspecified) D 5060 UNKNOWN 200-0016b6915c2f-1 (Unspecified) D 5060 UNKNOWN lpbx02 172.31.0.9 5060 OK (1 ms) lpbx01 172.31.0.8 5060 OK (1 ms) 8 sip peers [Monitored: 4 online, 4 offline Unmonitored: 0 online, 0 offline] vpbx03*CLI> core show hints vpbx03*CLI> -= Registered Asterisk Dial Plan Hints =- 204@Hints : SIP/204-0004132311d4 State:Idle Watchers 0 203@Hints : SIP/203-0004132450fd State:Busy Watchers 0 202@Hints : SIP/202-000413401713 State:Idle Watchers 0 201@Hints : SIP/201-000e08d4eb26 State:Busy Watchers 0 200@Hints : SIP/200-0016b6915c2f State:Busy Watchers 0 _X!@Hints : SIP/NoHint State:Idle Watchers 0 ---------------- - 6 hints registered == Using SIP RTP TOS bits 24 == Using SIP RTP CoS mark 5 -- Executing [202@CallFromSipDevice:1] Set("SIP/204-0004132311d4-1-e4007438", "__OutgoingCallerIDName=Demo") in new stack -- Executing [202@CallFromSipDevice:2] ExecIf("SIP/204-0004132311d4-1-e4007438", "1?Set(__OutgoingCallerIDNumber=)") in new stack -- Executing [202@CallFromSipDevice:3] ExecIf("SIP/204-0004132311d4-1-e4007438", "1?Set(__OutgoingCallerIDNumber=4588887777)") in new stack -- Executing [202@CallFromSipDevice:4] Set("SIP/204-0004132311d4-1-e4007438", "__CallerIDName=Snom 360") in new stack -- Executing [202@CallFromSipDevice:5] ExecIf("SIP/204-0004132311d4-1-e4007438", "0?Set(CALLERID(num)=):Set(__CallerIDNumber=204)") in new stack -- Executing [202@CallFromSipDevice:6] Set("SIP/204-0004132311d4-1-e4007438", "__CallFlowID=202") in new stack -- Executing [202@CallFromSipDevice:7] Set("SIP/204-0004132311d4-1-e4007438", "__Account=204-0004132311d4-1") in new stack -- Executing [202@CallFromSipDevice:8] Set("SIP/204-0004132311d4-1-e4007438", "__Location=Nærum") in new stack -- Executing [202@CallFromSipDevice:9] Set("SIP/204-0004132311d4-1-e4007438", "__LocalNumber=204") in new stack -- Executing [202@CallFromSipDevice:10] ExecIf("SIP/204-0004132311d4-1-e4007438", "0?Congestion") in new stack -- Executing [202@CallFromSipDevice:11] Set("SIP/204-0004132311d4-1-e4007438", "__InternationalPrefix=00") in new stack -- Executing [202@CallFromSipDevice:12] Set("SIP/204-0004132311d4-1-e4007438", "__NationalPrefix=45") in new stack -- Executing [202@CallFromSipDevice:13] Set("SIP/204-0004132311d4-1-e4007438", "__CountryCode=") in new stack -- Executing [202@CallFromSipDevice:14] Set("SIP/204-0004132311d4-1-e4007438", "__AreaCode=") in new stack -- Executing [202@CallFromSipDevice:15] Set("SIP/204-0004132311d4-1-e4007438", "__MunicipalityCode=") in new stack -- Executing [202@CallFromSipDevice:16] Set("SIP/204-0004132311d4-1-e4007438", "CDR(bnumber)=202") in new stack -- Executing [202@CallFromSipDevice:17] Set("SIP/204-0004132311d4-1-e4007438", "CDR(anumber)=204") in new stack -- Executing [202@CallFromSipDevice:18] Set("SIP/204-0004132311d4-1-e4007438", "_TRANSFER_CONTEXT=TransferContext") in new stack -- Executing [202@CallFromSipDevice:19] SIPAddHeader("SIP/204-0004132311d4-1-e4007438", "X-TDCPrefix: ") in new stack -- Executing [202@CallFromSipDevice:20] SIPAddHeader("SIP/204-0004132311d4-1-e4007438", "X-CDR-Cookie: ") in new stack -- Executing [202@CallFromSipDevice:21] GotoIf("SIP/204-0004132311d4-1-e4007438", "0?AdminNumber,202,1") in new stack -- Executing [202@CallFromSipDevice:22] GotoIf("SIP/204-0004132311d4-1-e4007438", "1?Internal,202,1") in new stack -- Goto (Internal,202,1) -- Executing [202@Internal:1] Set("SIP/204-0004132311d4-1-e4007438", "CallFlowID=202") in new stack -- Executing [202@Internal:2] Goto("SIP/204-0004132311d4-1-e4007438", "DemoDirect,s,1") in new stack -- Goto (DemoDirect,s,1) -- Executing [s@DemoDirect:1] NoOp("SIP/204-0004132311d4-1-e4007438", "DemoDirect") in new stack -- Executing [s@DemoDirect:2] GotoIf("SIP/204-0004132311d4-1-e4007438", "0?Queue") in new stack -- Executing [s@DemoDirect:3] GotoIf("SIP/204-0004132311d4-1-e4007438", "0?Queue") in new stack -- Executing [s@DemoDirect:4] GotoIf("SIP/204-0004132311d4-1-e4007438", "0?Return") in new stack -- Executing [s@DemoDirect:5] Dial("SIP/204-0004132311d4-1-e4007438", "Local/202@DuetNumber,10,") in new stack -- Called 202@DuetNumber -- Executing [202@DuetNumber:1] Set("Local/202@DuetNumber-af66;2", "CallFlowID=202") in new stack -- Executing [202@DuetNumber:2] Goto("Local/202@DuetNumber-af66;2", "s,1") in new stack -- Goto (DuetNumber,s,1) -- Executing [s@DuetNumber:1] Gosub("Local/202@DuetNumber-af66;2", "RecordCall,s,1") in new stack -- Executing [s@RecordCall:1] GotoIf("Local/202@DuetNumber-af66;2", "0?RecordCall") in new stack -- Executing [s@RecordCall:2] GotoIf("Local/202@DuetNumber-af66;2", "0?RecordCall") in new stack -- Executing [s@RecordCall:3] Return("Local/202@DuetNumber-af66;2", "") in new stack -- Executing [s@DuetNumber:2] GotoIf("Local/202@DuetNumber-af66;2", "1?Local") in new stack -- Goto (DuetNumber,s,4) -- Executing [s@DuetNumber:4] GotoIf("Local/202@DuetNumber-af66;2", "0?DialLocal") in new stack -- Executing [s@DuetNumber:5] GotoIf("Local/202@DuetNumber-af66;2", "0?DialLocal") in new stack -- Executing [s@DuetNumber:6] GotoIf("Local/202@DuetNumber-af66;2", "1?DialLocal") in new stack -- Goto (DuetNumber,s,10) -- Executing [s@DuetNumber:10] Dial("Local/202@DuetNumber-af66;2", "Local/202@DialAccount,,r") in new stack -- Called 202@DialAccount -- Local/202@DuetNumber-af66;1 is ringing -- Executing [202@DialAccount:1] Set("Local/202@DialAccount-eabe;2", "CallFlowID=202") in new stack -- Executing [202@DialAccount:2] ExecIf("Local/202@DialAccount-eabe;2", "0?Hangup(UNALLOCATED)") in new stack -- Executing [202@DialAccount:3] GotoIf("Local/202@DialAccount-eabe;2", "0?Dial") in new stack -- Executing [202@DialAccount:4] GotoIf("Local/202@DialAccount-eabe;2", "0?Dial") in new stack -- Executing [202@DialAccount:5] GotoIf("Local/202@DialAccount-eabe;2", "1?Dial") in new stack -- Goto (DialAccount,202,9) -- Executing [202@DialAccount:9] Gosub("Local/202@DialAccount-eabe;2", "RecordCall,s,1") in new stack -- Executing [s@RecordCall:1] GotoIf("Local/202@DialAccount-eabe;2", "0?RecordCall") in new stack -- Executing [s@RecordCall:2] GotoIf("Local/202@DialAccount-eabe;2", "0?RecordCall") in new stack -- Executing [s@RecordCall:3] Return("Local/202@DialAccount-eabe;2", "") in new stack -- Executing [202@DialAccount:10] Dial("Local/202@DialAccount-eabe;2", "Local/202-000413401713-1@DialLine/n") in new stack -- Called 202-000413401713-1@DialLine/n -- Executing [202-000413401713-1@DialLine:1] Set("Local/202-000413401713-1@DialLine-9acb;2", "_TRANSFER_FROM=202-000413401713-1") in new stack -- Executing [202-000413401713-1@DialLine:2] Set("Local/202-000413401713-1@DialLine-9acb;2", "__Location=Nærum") in new stack -- Executing [202-000413401713-1@DialLine:3] Set("Local/202-000413401713-1@DialLine-9acb;2", "__Address=Skodsborgvej 305D, 2850 Nærum, Danmark") in new stack [Sep 18 16:50:11] WARNING[18795]: pbx.c:8198 pbx_builtin_setvar_multiple: MSet: ignoring entry ' 2850 Nærum' with no '=' (in 202-000413401713-1@DialLine:3 [Sep 18 16:50:11] WARNING[18795]: pbx.c:8198 pbx_builtin_setvar_multiple: MSet: ignoring entry ' Danmark' with no '=' (in 202-000413401713-1@DialLine:3 -- Executing [202-000413401713-1@DialLine:4] Set("Local/202-000413401713-1@DialLine-9acb;2", "__InternationalPrefix=00") in new stack -- Executing [202-000413401713-1@DialLine:5] Set("Local/202-000413401713-1@DialLine-9acb;2", "__NationalPrefix=") in new stack -- Executing [202-000413401713-1@DialLine:6] Set("Local/202-000413401713-1@DialLine-9acb;2", "__CountryCode=") in new stack -- Executing [202-000413401713-1@DialLine:7] Set("Local/202-000413401713-1@DialLine-9acb;2", "__AreaCode=") in new stack -- Executing [202-000413401713-1@DialLine:8] Set("Local/202-000413401713-1@DialLine-9acb;2", "__MunicipalityCode=") in new stack -- Executing [202-000413401713-1@DialLine:9] GotoIf("Local/202-000413401713-1@DialLine-9acb;2", "1?QueueName") in new stack -- Goto (DialLine,202-000413401713-1,12) -- Executing [202-000413401713-1@DialLine:12] ExecIf("Local/202-000413401713-1@DialLine-9acb;2", "0?Hangup(UNALLOCATED)") in new stack -- Executing [202-000413401713-1@DialLine:13] Goto("Local/202-000413401713-1@DialLine-9acb;2", "SipDevice") in new stack -- Goto (DialLine,202-000413401713-1,20) -- Executing [202-000413401713-1@DialLine:20] NoOp("Local/202-000413401713-1@DialLine-9acb;2", "Line=202-000413401713-1") in new stack -- Executing [202-000413401713-1@DialLine:21] Gosub("Local/202-000413401713-1@DialLine-9acb;2", "FromE164,204,1") in new stack -- Executing [204@FromE164:1] Return("Local/202-000413401713-1@DialLine-9acb;2", "204") in new stack -- Executing [202-000413401713-1@DialLine:22] Set("Local/202-000413401713-1@DialLine-9acb;2", "CALLERID(num)=204") in new stack -- Executing [202-000413401713-1@DialLine:23] ExecIf("Local/202-000413401713-1@DialLine-9acb;2", "0?Set(DialOptionRecord=w)") in new stack -- Executing [202-000413401713-1@DialLine:24] Dial("Local/202-000413401713-1@DialLine-9acb;2", "SIP/202-000413401713-1,,") in new stack == Using SIP RTP TOS bits 24 == Using SIP RTP CoS mark 5 -- Called 202-000413401713-1 -- SIP/202-000413401713-1-c0002288 is ringing -- Local/202-000413401713-1@DialLine-9acb;1 is ringing -- Local/202@DialAccount-eabe;1 is ringing -- Local/202@DuetNumber-af66;1 is ringing -- SIP/202-000413401713-1-c0002288 is ringing -- SIP/202-000413401713-1-c0002288 is ringing == Spawn extension (DemoDirect, s, 5) exited non-zero on 'SIP/204-0004132311d4-1-e4007438' == Spawn extension (DuetNumber, s, 10) exited non-zero on 'Local/202@DuetNumber-af66;2' == Spawn extension (DialAccount, 202, 10) exited non-zero on 'Local/202@DialAccount-eabe;2' == Spawn extension (DialLine, 202-000413401713-1, 24) exited non-zero on 'Local/202-000413401713-1@DialLine-9acb;2' vpbx03*CLI> core show hints vpbx03*CLI> -= Registered Asterisk Dial Plan Hints =- 204@Hints : SIP/204-0004132311d4 State:InUse&Ringing Watchers 0 203@Hints : SIP/203-0004132450fd State:Busy Watchers 0 202@Hints : SIP/202-000413401713 State:InUse&Ringing Watchers 0 201@Hints : SIP/201-000e08d4eb26 State:Busy Watchers 0 200@Hints : SIP/200-0016b6915c2f State:Busy Watchers 0 _X!@Hints : SIP/NoHint State:Idle Watchers 0 ---------------- - 6 hints registered vpbx03*CLI> exit Executing last minute cleanups