I have a fresh install of asterisknow 1.7.1 and got as far as getting cisco 7960 sip phones on the local network in place. I can see them when I run sip show peers.
But for some reason (and I know its going to be something trivial) I cant get extension A to call extension B! Here is the dump from the command line.
Any pointers would be appreciated.
localhostCLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
110101 10.101.2.110 A 5060 OK (90 ms)
110102 10.101.2.111 A 5060 OK (93 ms)
SIP_OUT2_SBC/userid 10.101.0.2 5060 Unmonitored
3 sip peers [Monitored: 2 online, 0 offline Unmonitored: 1 online, 0 offline]
localhostCLI>
localhostCLI>
localhostCLI>
localhostCLI>
localhostCLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [8110121@from-internal:1] Macro(“SIP/110102-0000000c”, “user-callerid,SKIPTTL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/110102-0000000c”, “AMPUSER=110102”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/110102-0000000c”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/110102-0000000c”, “1?Set(REALCALLERIDNUM=110102)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/110102-0000000c”, “AMPUSER=110102”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/110102-0000000c”, “AMPUSERCIDNAME=110102”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/110102-0000000c”, “0?report”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/110102-0000000c”, “AMPUSERCID=110102”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/110102-0000000c”, “CALLERID(all)=“110102” <110102>”) in new stack
– Executing [s@macro-user-callerid:9] GotoIf(“SIP/110102-0000000c”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,18)
– Executing [s@macro-user-callerid:18] NoOp(“SIP/110102-0000000c”, “Using CallerID “110102” <110102>”) in new stack
– Executing [8110121@from-internal:2] Set(“SIP/110102-0000000c”, “_NODEST=”) in new stack
– Executing [8110121@from-internal:3] Macro(“SIP/110102-0000000c”, “record-enable,110102,OUT,”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/110102-0000000c”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] ExecIf(“SIP/110102-0000000c”, “0?MacroExit()”) in new stack
– Executing [s@macro-record-enable:5] GotoIf(“SIP/110102-0000000c”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,16)
– Executing [s@macro-record-enable:16] GotoIf(“SIP/110102-0000000c”, “0?IN”) in new stack
– Executing [s@macro-record-enable:17] ExecIf(“SIP/110102-0000000c”, “1?MacroExit()”) in new stack
– Executing [8110121@from-internal:4] Macro(“SIP/110102-0000000c”, “dialout-trunk,2,110121,”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/110102-0000000c”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/110102-0000000c”, “0?sub-pincheck,s,1”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/110102-0000000c”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/110102-0000000c”, “DIAL_NUMBER=110121”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/110102-0000000c”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/110102-0000000c”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/110102-0000000c”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/110102-0000000c”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/110102-0000000c”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/110102-0000000c”, “outbound-callerid,2”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/110102-0000000c”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/110102-0000000c”, “0?Set(REALCALLERIDNUM=110102)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/110102-0000000c”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/110102-0000000c”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/110102-0000000c”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/110102-0000000c”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/110102-0000000c”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/110102-0000000c”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/110102-0000000c”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/110102-0000000c”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/110102-0000000c”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-dialout-trunk:12] ExecIf(“SIP/110102-0000000c”, “0?AGI(fixlocalprefix)”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/110102-0000000c”, “OUTNUM=110121”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/110102-0000000c”, “custom=SIP/SIP_OUT2_SBC”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/110102-0000000c”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))”) in new stack
– Executing [s@macro-dialout-trunk:16] Macro(“SIP/110102-0000000c”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/110102-0000000c”, “”) in new stack
– Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/110102-0000000c”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/110102-0000000c”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:19] Dial(“SIP/110102-0000000c”, “SIP/SIP_OUT2_SBC/110121,300,”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP_OUT2_SBC/110121
– SIP/SIP_OUT2_SBC-0000000d is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [s@macro-dialout-trunk:20] NoOp(“SIP/110102-0000000c”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 127”) in new stack
– Executing [s@macro-dialout-trunk:21] Goto(“SIP/110102-0000000c”, “s-CONGESTION,1”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,1)
– Executing [s-CONGESTION@macro-dialout-trunk:1] Set(“SIP/110102-0000000c”, “RC=127”) in new stack
– Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(“SIP/110102-0000000c”, “127,1”) in new stack
– Goto (macro-dialout-trunk,127,1)
– Executing [127@macro-dialout-trunk:1] Goto(“SIP/110102-0000000c”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] GotoIf(“SIP/110102-0000000c”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,continue,3)
– Executing [continue@macro-dialout-trunk:3] NoOp(“SIP/110102-0000000c”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 127 - failing through to other trunks”) in new stack
– Executing [8110121@from-internal:5] Macro(“SIP/110102-0000000c”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“SIP/110102-0000000c”, “”) in new stack
– Executing [s@macro-outisbusy:2] Playback(“SIP/110102-0000000c”, “all-circuits-busy-now,noanswer”) in new stack
– <SIP/110102-0000000c> Playing ‘all-circuits-busy-now.gsm’ (language ‘en’)
– Executing [s@macro-outisbusy:3] Playback(“SIP/110102-0000000c”, “pls-try-call-later,noanswer”) in new stack
– <SIP/110102-0000000c> Playing ‘pls-try-call-later.gsm’ (language ‘en’)
– Executing [s@macro-outisbusy:4] Macro(“SIP/110102-0000000c”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/110102-0000000c”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] GotoIf(“SIP/110102-0000000c”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] GotoIf(“SIP/110102-0000000c”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] Hangup(“SIP/110102-0000000c”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/110102-0000000c’ in macro ‘hangupcall’
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on ‘SIP/110102-0000000c’ in macro ‘outisbusy’
== Spawn extension (from-internal, 8110121, 5) exited non-zero on ‘SIP/110102-0000000c’
– Executing [h@from-internal:1] Macro(“SIP/110102-0000000c”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/110102-0000000c”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] GotoIf(“SIP/110102-0000000c”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] GotoIf(“SIP/110102-0000000c”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] Hangup(“SIP/110102-0000000c”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/110102-0000000c’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/110102-0000000c’