Tribox/OCS 2007 R2/Toshiba CIX PBX Integration SIP trunk problem

MissouriMule
Posts: 2
Member Since:
2010-07-08

I am pretty new to asterisk but have had success setting it up to use as a conference bridge with the T-1 PRI connection and recently I have a Tribox setup between a MS Office Communication Server 2007 R2 box and a Toshiba CIX PBX connected with SIP trunks. I can call back and forth from the OCS and X-lite on the Asterisk server. I used this wesite for direction on setting up the OCS to Asterisk:

http://blogs.breezetraining.com.au/mickb/CommentView,guid,5bcf8c6...

In his example a SIP provider was used not a PBX though. I have the SIP licenses installed and have created a trunk that appearss to be up:

esnmed1*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
From-Toshiba 10.7.4.3 5060 OK (14 ms)
from-Super-OCS 10.2.0.40 5060 Unmonitored
Connect-with-OCS 10.2.0.40 5060 Unmonitored
8001/8001 10.2.1.5 D A 61770 OK (4 ms)
1234567890 10.7.4.3 5060 OK (14 ms)
5 sip peers [Monitored: 3 online, 0 offline Unmonitored: 2 online, 0 offline]

**********Calls to the Toshiba fail with "circuit-busy" Everyone is busy/congested at this time (1:0/1/0):

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [3157@from-internal:1] Macro("SIP/8001-09369508", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/8001-09369508", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/8001-09369508", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/8001-09369508", "1?Set(REALCALLERIDNUM=8001)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/8001-09369508", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/8001-09369508", "AMPUSERCIDNAME=8001") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/8001-09369508", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/8001-09369508", "AMPUSERCID=8001") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/8001-09369508", "CALLERID(all)="8001" ") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/8001-09369508", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/8001-09369508", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/8001-09369508", "Using CallerID "8001" ") in new stack
-- Executing [3157@from-internal:2] Set("SIP/8001-09369508", "_NODEST=") in new stack
-- Executing [3157@from-internal:3] Macro("SIP/8001-09369508", "record-enable,8001,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/8001-09369508", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/8001-09369508", "recordingcheck,20100716-170439,1279317879.34") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20100716-170439,1279317879.34: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/8001-09369508", "") in new stack
-- Executing [3157@from-internal:4] Macro("SIP/8001-09369508", "dialout-trunk,3,3157,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/8001-09369508", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/8001-09369508", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/8001-09369508", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/8001-09369508", "DIAL_NUMBER=3157") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/8001-09369508", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/8001-09369508", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/8001-09369508", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/8001-09369508", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/8001-09369508", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/8001-09369508", "outbound-callerid,3") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/8001-09369508", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/8001-09369508", "0?Set(REALCALLERIDNUM=8001)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/8001-09369508", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/8001-09369508", "USEROUTCID=8001") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/8001-09369508", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/8001-09369508", "TRUNKOUTCID=1234567890") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/8001-09369508", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/8001-09369508", "1?Set(CALLERID(all)=1234567890)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/8001-09369508", "1?Set(CALLERID(all)=8001)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/8001-09369508", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/8001-09369508", "1?AGI(fixlocalprefix)") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern 3NNN
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/8001-09369508", "OUTNUM=3157") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/8001-09369508", "custom=SIP/1234567890") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/8001-09369508", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/8001-09369508", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/8001-09369508", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/8001-09369508", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/8001-09369508", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/8001-09369508", "SIP/1234567890/3157,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called 1234567890/3157
-- SIP/1234567890-09697720 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:20] Goto("SIP/8001-09369508", "s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/8001-09369508", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/8001-09369508", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
-- Executing [3157@from-internal:5] Macro("SIP/8001-09369508", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/8001-09369508", "all-circuits-busy-now,noanswer") in new stack
-- Playing 'all-circuits-busy-now.ulaw' (language 'en')
-- Executing [s@macro-outisbusy:2] Playback("SIP/8001-09369508", "pls-try-call-later,noanswer") in new stack
-- Playing 'pls-try-call-later.ulaw' (language 'en')
-- Executing [s@macro-outisbusy:3] Macro("SIP/8001-09369508", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/8001-09369508", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/8001-09369508", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/8001-09369508", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/8001-09369508", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/8001-09369508' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/8001-09369508' in macro 'outisbusy'
== Spawn extension (from-internal, 3157, 5) exited non-zero on 'SIP/8001-09369508'
-- Executing [h@from-internal:1] Macro("SIP/8001-09369508", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/8001-09369508", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/8001-09369508", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/8001-09369508", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/8001-09369508", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/8001-09369508' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/8001-09369508'

***********Dialing from X-lite to OCS:

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [+93157@from-internal:1] Macro("SIP/8001-09369508", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/8001-09369508", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/8001-09369508", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/8001-09369508", "1?Set(REALCALLERIDNUM=8001)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/8001-09369508", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/8001-09369508", "AMPUSERCIDNAME=8001") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/8001-09369508", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/8001-09369508", "AMPUSERCID=8001") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/8001-09369508", "CALLERID(all)="8001" ") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/8001-09369508", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/8001-09369508", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/8001-09369508", "Using CallerID "8001" ") in new stack
-- Executing [+93157@from-internal:2] Set("SIP/8001-09369508", "_NODEST=") in new stack
-- Executing [+93157@from-internal:3] Macro("SIP/8001-09369508", "record-enable,8001,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/8001-09369508", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/8001-09369508", "recordingcheck,20100716-165253,1279317173.22") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20100716-165253,1279317173.22: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/8001-09369508", "") in new stack
-- Executing [+93157@from-internal:4] Macro("SIP/8001-09369508", "dialout-trunk,2,+93157,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/8001-09369508", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/8001-09369508", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/8001-09369508", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/8001-09369508", "DIAL_NUMBER=+93157") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/8001-09369508", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/8001-09369508", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/8001-09369508", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/8001-09369508", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/8001-09369508", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/8001-09369508", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/8001-09369508", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/8001-09369508", "0?Set(REALCALLERIDNUM=8001)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/8001-09369508", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/8001-09369508", "USEROUTCID=8001") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/8001-09369508", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/8001-09369508", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/8001-09369508", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/8001-09369508", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/8001-09369508", "1?Set(CALLERID(all)=8001)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/8001-09369508", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/8001-09369508", "1?AGI(fixlocalprefix)") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern 9NNNN
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/8001-09369508", "OUTNUM=+93157") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/8001-09369508", "custom=SIP/Connect-with-OCS") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/8001-09369508", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/8001-09369508", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/8001-09369508", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/8001-09369508", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/8001-09369508", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/8001-09369508", "SIP/Connect-with-OCS/+93157,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called Connect-with-OCS/+93157
-- SIP/Connect-with-OCS-09695828 is ringing
-- SIP/Connect-with-OCS-09695828 is ringing
-- SIP/Connect-with-OCS-09695828 answered SIP/8001-09369508
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/8001-09369508", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/8001-09369508", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/8001-09369508", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/8001-09369508", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/8001-09369508", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/8001-09369508' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/8001-09369508'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/8001-09369508' in macro 'dialout-trunk'
== Spawn extension (from-internal, +93157, 4) exited non-zero on 'SIP/8001-09369508'
esnmed1*CLI>

***************Dialing to OCS to X-lite:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [8001@from-Super-OCS:1] Answer("SIP/EBCOCS1.edcogroup.net-09695828", "") in new stack
-- Executing [8001@from-Super-OCS:2] Dial("SIP/EBCOCS1.edcogroup.net-09695828", "SIP/8001,20,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called 8001
-- SIP/8001-096938b8 is ringing
-- SIP/8001-096938b8 answered SIP/EBCOCS1.edcogroup.net-09695828
== Spawn extension (from-Super-OCS, 8001, 2) exited non-zero on 'SIP/EBCOCS1.edcogroup.net-09695828'
esnmed1*CLI>

Dialing Toshiba from X-lite:

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [3157@from-internal:1] Macro("SIP/8001-09369508", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/8001-09369508", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/8001-09369508", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/8001-09369508", "1?Set(REALCALLERIDNUM=8001)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/8001-09369508", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/8001-09369508", "AMPUSERCIDNAME=8001") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/8001-09369508", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/8001-09369508", "AMPUSERCID=8001") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/8001-09369508", "CALLERID(all)="8001" ") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/8001-09369508", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/8001-09369508", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/8001-09369508", "Using CallerID "8001" ") in new stack
-- Executing [3157@from-internal:2] Set("SIP/8001-09369508", "_NODEST=") in new stack
-- Executing [3157@from-internal:3] Macro("SIP/8001-09369508", "record-enable,8001,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/8001-09369508", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/8001-09369508", "recordingcheck,20100716-165808,1279317488.30") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20100716-165808,1279317488.30: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/8001-09369508", "") in new stack
-- Executing [3157@from-internal:4] Macro("SIP/8001-09369508", "dialout-trunk,3,3157,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/8001-09369508", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/8001-09369508", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/8001-09369508", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/8001-09369508", "DIAL_NUMBER=3157") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/8001-09369508", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/8001-09369508", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/8001-09369508", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/8001-09369508", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/8001-09369508", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/8001-09369508", "outbound-callerid,3") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/8001-09369508", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/8001-09369508", "0?Set(REALCALLERIDNUM=8001)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/8001-09369508", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/8001-09369508", "USEROUTCID=8001") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/8001-09369508", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/8001-09369508", "TRUNKOUTCID=1234567890") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/8001-09369508", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/8001-09369508", "1?Set(CALLERID(all)=1234567890)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/8001-09369508", "1?Set(CALLERID(all)=8001)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/8001-09369508", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/8001-09369508", "1?AGI(fixlocalprefix)") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern 3NNN
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/8001-09369508", "OUTNUM=3157") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/8001-09369508", "custom=SIP/1234567890") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/8001-09369508", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/8001-09369508", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/8001-09369508", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/8001-09369508", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/8001-09369508", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/8001-09369508", "SIP/1234567890/3157,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called 1234567890/3157
-- SIP/1234567890-09697720 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:20] Goto("SIP/8001-09369508", "s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/8001-09369508", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/8001-09369508", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
-- Executing [3157@from-internal:5] Macro("SIP/8001-09369508", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/8001-09369508", "all-circuits-busy-now,noanswer") in new stack
-- Playing 'all-circuits-busy-now.ulaw' (language 'en')
-- Executing [s@macro-outisbusy:2] Playback("SIP/8001-09369508", "pls-try-call-later,noanswer") in new stack
-- Playing 'pls-try-call-later.ulaw' (language 'en')
-- Executing [s@macro-outisbusy:3] Macro("SIP/8001-09369508", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/8001-09369508", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/8001-09369508", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/8001-09369508", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/8001-09369508", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/8001-09369508' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/8001-09369508' in macro 'outisbusy'
== Spawn extension (from-internal, 3157, 5) exited non-zero on 'SIP/8001-09369508'
-- Executing [h@from-internal:1] Macro("SIP/8001-09369508", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/8001-09369508", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/8001-09369508", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/8001-09369508", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/8001-09369508", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/8001-09369508' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/8001-09369508'

************Trunk on Tribox:
Peer:
type=friend
context=Toshiba
host=10.7.4.3
transport=udp
port=5060
insecure=very
canreinvite=yes
allow=all
nat=no
dtmfmode=rfc2833
qualify=yes

User:

type=friend
context=Toshiba
host=10.7.4.3
transport=udp
port=5060
allow=all
canreinvite=yes
insecure=very
qualify=yes
nat=no
dtmfmode=rfc2833

It is really verbose but here is the X-lite to Toshiba with debug turned on:

UDP://10.7.4.3:5060 --->
REGISTER sip:10.2.0.53 SIP/2.0
Via: SIP/2.0/UDP 10.7.4.3:5060;branch=z9hG4bK88618cbd3acaca4971f4362b7b5d4a22
Max-Forwards: 70
From: ;tag=7c44c408da046cdb
To: sip:1234567890@10.2.0.53
Call-ID: 154c408da0@10.7.4.3
CSeq: 424 REGISTER
Contact: sip:1234567890@10.7.4.3:5060
Content-Length: 0
Expires: 3600


--- (10 headers 0 lines) ---
Sending to 10.7.4.3 : 5060 (no NAT)


SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.7.4.3:5060;branch=z9hG4bK88618cbd3acaca4971f4362b7b5d4a22;received=10.7.4.3
From: ;tag=7c44c408da046cdb
To: sip:1234567890@10.2.0.53;tag=as707e281e
Call-ID: 154c408da0@10.7.4.3
CSeq: 424 REGISTER
User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="432d933d"
Content-Length: 0


Scheduling destruction of SIP dialog '154c408da0@10.7.4.3' in 32000 ms (Method: REGISTER)
Scheduling destruction of SIP dialog '154c408da0@10.7.4.3' in 32000 ms (Method: REGISTER)
esnmed1*CLI>
UDP://10.7.4.3:5060 --->
REGISTER sip:10.2.0.53 SIP/2.0
Max-Forwards: 70
Via: SIP/2.0/UDP 10.7.4.3:5060;branch=z9hG4bKc0b873477663c78dd7eef1c87a8fbc45
From: ;tag=7c44c408da046cdb
To: sip:1234567890@10.2.0.53
Call-ID: 154c408da0@10.7.4.3
CSeq: 425 REGISTER
Contact: sip:1234567890@10.7.4.3:5060
Content-Length: 0
Expires: 3600
Authorization: Digest username="",realm="asterisk",nonce="432d933d",uri="sip:10.2.0.53",algorithm=MD5,response="5e04c2fa4fda93a7becdf478271c93c1"


--- (11 headers 0 lines) ---
Sending to 10.7.4.3 : 5060 (no NAT)


SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 10.7.4.3:5060;branch=z9hG4bKc0b873477663c78dd7eef1c87a8fbc45;received=10.7.4.3
From: ;tag=7c44c408da046cdb
To: sip:1234567890@10.2.0.53;tag=as707e281e
Call-ID: 154c408da0@10.7.4.3
CSeq: 425 REGISTER
User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Length: 0


Scheduling destruction of SIP dialog '154c408da0@10.7.4.3' in 32000 ms (Method: REGISTER)
esnmed1*CLI>
UDP://10.2.1.5:61770 --->
INVITE sip:3157@8001 SIP/2.0
Via: SIP/2.0/UDP 10.2.1.5:61770;branch=z9hG4bK-d8754z-9676951ca0533fe6-1---d8754z-;rport
Max-Forwards: 70
Contact:
To:
From: "8001";tag=d6ee1e6e
Call-ID: NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite Beta release 4.0 Beta 2 stamp 56233
Content-Length: 252

v=0
o=- 2 2 IN IP4 10.2.1.5
s=CounterPath X-Lite 4.0
c=IN IP4 10.2.1.5
t=0 0
m=audio 25704 RTP/AVP 107 0 8 101
a=sendrecv
a=rtpmap:107 BV32/16000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : zITPs/fh lp2fpUtK 10.2.1.5 25704


--- (12 headers 11 lines) ---
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
Sending to 10.2.1.5 : 61770 (NAT)
Using INVITE request as basis request - NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
Found user '8001' for '8001'


SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.2.1.5:61770;branch=z9hG4bK-d8754z-9676951ca0533fe6-1---d8754z-;received=10.2.1.5;rport=61770
From: "8001";tag=d6ee1e6e
To: ;tag=as3295e22d
Call-ID: NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
CSeq: 1 INVITE
User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="6a5bdce3"
Content-Length: 0


Scheduling destruction of SIP dialog 'NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.' in 32000 ms (Method: INVITE)
esnmed1*CLI>
UDP://10.2.1.5:61770 --->
ACK sip:3157@8001 SIP/2.0
Via: SIP/2.0/UDP 10.2.1.5:61770;branch=z9hG4bK-d8754z-9676951ca0533fe6-1---d8754z-;rport
Max-Forwards: 70
To: ;tag=as3295e22d
From: "8001";tag=d6ee1e6e
Call-ID: NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
CSeq: 1 ACK
Content-Length: 0


--- (8 headers 0 lines) ---
esnmed1*CLI>
UDP://10.2.1.5:61770 --->
INVITE sip:3157@8001 SIP/2.0
Via: SIP/2.0/UDP 10.2.1.5:61770;branch=z9hG4bK-d8754z-2a56c4e521ef763a-1---d8754z-;rport
Max-Forwards: 70
Contact:
To:
From: "8001";tag=d6ee1e6e
Call-ID: NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite Beta release 4.0 Beta 2 stamp 56233
Authorization: Digest username="8001",realm="asterisk",nonce="6a5bdce3",uri="sip:3157@8001",response="fe681f4a415b5ab3e4174af23917aad0",algorithm=MD5
Content-Length: 252

v=0
o=- 2 2 IN IP4 10.2.1.5
s=CounterPath X-Lite 4.0
c=IN IP4 10.2.1.5
t=0 0
m=audio 25704 RTP/AVP 107 0 8 101
a=sendrecv
a=rtpmap:107 BV32/16000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : zITPs/fh lp2fpUtK 10.2.1.5 25704


--- (13 headers 11 lines) ---
Sending to 10.2.1.5 : 61770 (NAT)
Using INVITE request as basis request - NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
Found user '8001' for '8001'
Found RTP audio format 107
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 101
Peer audio RTP is at port 10.2.1.5:25704
Found unknown media description format BV32 for ID 107
Found audio description format telephone-event for ID 101
Capabilities: us - 0x28000c (ulaw|alaw|h263|h264), peer - audio=0xc (ulaw|alaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 10.2.1.5:25704
Looking for 3157 in from-internal (domain 8001)
list_route: hop:


SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.2.1.5:61770;branch=z9hG4bK-d8754z-2a56c4e521ef763a-1---d8754z-;received=10.2.1.5;rport=61770
From: "8001";tag=d6ee1e6e
To:
Call-ID: NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
CSeq: 2 INVITE
User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Contact:
Content-Length: 0


-- Executing [3157@from-internal:1] Macro("SIP/8001-09695828", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/8001-09695828", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/8001-09695828", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/8001-09695828", "1?Set(REALCALLERIDNUM=8001)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/8001-09695828", "AMPUSER=8001") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/8001-09695828", "AMPUSERCIDNAME=8001") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/8001-09695828", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/8001-09695828", "AMPUSERCID=8001") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/8001-09695828", "CALLERID(all)="8001" ") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/8001-09695828", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/8001-09695828", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/8001-09695828", "Using CallerID "8001" ") in new stack
-- Executing [3157@from-internal:2] Set("SIP/8001-09695828", "_NODEST=") in new stack
-- Executing [3157@from-internal:3] Macro("SIP/8001-09695828", "record-enable,8001,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/8001-09695828", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/8001-09695828", "recordingcheck,20100716-171131,1279318291.36") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20100716-171131,1279318291.36: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/8001-09695828", "") in new stack
-- Executing [3157@from-internal:4] Macro("SIP/8001-09695828", "dialout-trunk,3,3157,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/8001-09695828", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/8001-09695828", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/8001-09695828", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/8001-09695828", "DIAL_NUMBER=3157") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/8001-09695828", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/8001-09695828", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/8001-09695828", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/8001-09695828", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/8001-09695828", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/8001-09695828", "outbound-callerid,3") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/8001-09695828", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/8001-09695828", "0?Set(REALCALLERIDNUM=8001)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/8001-09695828", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/8001-09695828", "USEROUTCID=8001") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/8001-09695828", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/8001-09695828", "TRUNKOUTCID=1234567890") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/8001-09695828", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/8001-09695828", "1?Set(CALLERID(all)=1234567890)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/8001-09695828", "1?Set(CALLERID(all)=8001)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/8001-09695828", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/8001-09695828", "1?AGI(fixlocalprefix)") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern 3NNN
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/8001-09695828", "OUTNUM=3157") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/8001-09695828", "custom=SIP/1234567890") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/8001-09695828", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/8001-09695828", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/8001-09695828", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/8001-09695828", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/8001-09695828", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/8001-09695828", "SIP/1234567890/3157,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
Audio is at 10.2.0.53 port 16428
Video is at 10.2.0.53 port 14360
We think we can do text
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x10 (g726aal2) to SDP
Adding codec 0x20 (adpcm) to SDP
Adding codec 0x40 (slin) to SDP
Adding codec 0x80 (lpc10) to SDP
Adding codec 0x200 (speex) to SDP
Adding codec 0x800 (g726) to SDP
Adding codec 0x1000 (g722) to SDP
Adding codec 0x8000 (slin16) to SDP
Adding video codec 0x10000 (jpeg) to SDP
Adding video codec 0x20000 (png) to SDP
Adding video codec 0x40000 (h261) to SDP
Adding video codec 0x80000 (h263) to SDP
Adding video codec 0x100000 (h263p) to SDP
Adding video codec 0x200000 (h264) to SDP
Adding video codec 0x400000 (mpeg4) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 10.7.4.3:5060:
INVITE sip:3157@10.7.4.3 SIP/2.0
Via: SIP/2.0/UDP 10.2.0.53:5060;branch=z9hG4bK76e2dabd;rport
Max-Forwards: 70
From: "8001" ;tag=as4f331e63
To:
Contact:
Call-ID: 5baf6f3600e9862065e3a9bd75562e8c@10.2.0.53
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
Date: Fri, 16 Jul 2010 22:11:32 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 724

v=0
o=root 857776167 857776167 IN IP4 10.2.0.53
s=Asterisk PBX 1.6.0.10-FONCORE-r40
c=IN IP4 10.2.0.53
b=CT:384
t=0 0
m=audio 16428 RTP/AVP 0 8 3 112 5 10 7 110 111 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:112 AAL2-G726-32/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:10 L16/8000
a=rtpmap:7 LPC/8000
a=rtpmap:110 speex/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
m=video 14360 RTP/AVP 26 31 34 98 99 104
a=rtpmap:26 JPEG/90000
a=rtpmap:31 H261/90000
a=rtpmap:34 H263/90000
a=rtpmap:98 h263-1998/90000
a=rtpmap:99 H264/90000
a=rtpmap:104 MP4V-ES/90000
a=sendrecv

---
-- Called 1234567890/3157

UDP://10.7.4.3:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 10.2.0.53:5060;branch=z9hG4bK76e2dabd;rport;received=10.2.0.53
From: "8001" ;tag=as4f331e63
To: ;tag=5b64c408da44331c
Call-ID: 5baf6f3600e9862065e3a9bd75562e8c@10.2.0.53
CSeq: 102 INVITE
Content-Length: 0


--- (7 headers 0 lines) ---
Transmitting (no NAT) to 10.7.4.3:5060:
ACK sip:3157@10.7.4.3 SIP/2.0
Via: SIP/2.0/UDP 10.2.0.53:5060;branch=z9hG4bK76e2dabd;rport
Max-Forwards: 70
From: "8001" ;tag=as4f331e63
To: ;tag=5b64c408da44331c
Contact:
Call-ID: 5baf6f3600e9862065e3a9bd75562e8c@10.2.0.53
CSeq: 102 ACK
User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
Content-Length: 0

---
-- SIP/1234567890-096938b8 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:20] Goto("SIP/8001-09695828", "s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/8001-09695828", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/8001-09695828", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
-- Executing [3157@from-internal:5] Macro("SIP/8001-09695828", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/8001-09695828", "all-circuits-busy-now,noanswer") in new stack
Audio is at 10.2.0.53 port 19156
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP


SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 10.2.1.5:61770;branch=z9hG4bK-d8754z-2a56c4e521ef763a-1---d8754z-;received=10.2.1.5;rport=61770
From: "8001";tag=d6ee1e6e
To: ;tag=as7459658d
Call-ID: NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
CSeq: 2 INVITE
User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Contact:
Content-Type: application/sdp
Content-Length: 292

v=0
o=root 736775377 736775377 IN IP4 10.2.0.53
s=Asterisk PBX 1.6.0.10-FONCORE-r40
c=IN IP4 10.2.0.53
t=0 0
m=audio 19156 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv


-- Playing 'all-circuits-busy-now.ulaw' (language 'en')
Really destroying SIP dialog '5baf6f3600e9862065e3a9bd75562e8c@10.2.0.53' Method: INVITE
-- Executing [s@macro-outisbusy:2] Playback("SIP/8001-09695828", "pls-try-call-later,noanswer") in new stack
-- Playing 'pls-try-call-later.ulaw' (language 'en')
-- Executing [s@macro-outisbusy:3] Macro("SIP/8001-09695828", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/8001-09695828", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/8001-09695828", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/8001-09695828", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/8001-09695828", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/8001-09695828' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/8001-09695828' in macro 'outisbusy'
== Spawn extension (from-internal, 3157, 5) exited non-zero on 'SIP/8001-09695828'
-- Executing [h@from-internal:1] Macro("SIP/8001-09695828", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/8001-09695828", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/8001-09695828", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/8001-09695828", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/8001-09695828", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/8001-09695828' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/8001-09695828'
Scheduling destruction of SIP dialog 'NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.' in 32000 ms (Method: INVITE)


SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 10.2.1.5:61770;branch=z9hG4bK-d8754z-2a56c4e521ef763a-1---d8754z-;received=10.2.1.5;rport=61770
From: "8001";tag=d6ee1e6e
To: ;tag=as7459658d
Call-ID: NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
CSeq: 2 INVITE
User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Length: 0

UDP://10.2.1.5:61770 --->
ACK sip:3157@8001 SIP/2.0
Via: SIP/2.0/UDP 10.2.1.5:61770;branch=z9hG4bK-d8754z-2a56c4e521ef763a-1---d8754z-;rport
Max-Forwards: 70
To: ;tag=as7459658d
From: "8001";tag=d6ee1e6e
Call-ID: NGE5MmY1MGY0NDljZGEwNWUwYmEyOWUyZDdhMGM5NjU.
CSeq: 2 ACK
Content-Length: 0


--- (8 headers 0 lines) ---
Really destroying SIP dialog '164c408d88@10.7.4.3' Method: OPTIONS
Reliably Transmitting (no NAT) to 10.2.1.5:61770:
OPTIONS sip:8001@10.2.1.5:61770;rinstance=6d2156da900e1022 SIP/2.0
Via: SIP/2.0/UDP 10.2.0.53:5060;branch=z9hG4bK12fd7f81;rport
Max-Forwards: 70
From: "Unknown" ;tag=as32357d9b
To:
Contact:
Call-ID: 331a5aa84ec373d36479f6075316ed15@10.2.0.53
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
Date: Fri, 16 Jul 2010 22:11:41 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Length: 0

---
esnmed1*CLI>
UDP://10.2.1.5:61770 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.2.0.53:5060;branch=z9hG4bK12fd7f81;rport=5060
Contact:
To: ;tag=a2e46e0d
From: "Unknown";tag=as32357d9b
Call-ID: 331a5aa84ec373d36479f6075316ed15@10.2.0.53
CSeq: 102 OPTIONS
Accept: application/sdp
Accept-Language: en
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite Beta release 4.0 Beta 2 stamp 56233
Content-Length: 0


--- (12 headers 0 lines) ---
Really destroying SIP dialog '331a5aa84ec373d36479f6075316ed15@10.2.0.53' Method: OPTIONS
esnmed1*CLI>
UDP://10.2.1.5:61770 --->


esnmed1*CLI> sip set debug off
SIP Debugging Disabled
esnmed1*CLI> ~~~~~~



hk135
Posts: 1
Member Since:
2011-09-19
403 on Toshiba

Hi THere

I am getting the same thing, did you ever fix this?



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.