I'm still unable to get through with CarrieXchange and trixbox. Can someone please help? All i got is All circuits are busy now, please try your call again later.
Could someone please show me what exactly you have for your trunk setting and outbound setting on trixbox and also on your carriexchange?
TRUNK Setting on A2Billing
VOIP-PROVIDER carriexchange
LABEL carriexchange
ADD PREFIX xxxxxx (my trunk id)
REMOVE PREFIX 011
PROVIDER TECH SIP
PROVIDER IP PROVIDER IP
TRUNK Setting on TRIXBOX
Outbound Caller ID xxx-xxx-xxxx (my own caller id)
Maximum channels <blank>
Outgoing Dial Rules
Dial rules xxxxxx+011|Z.
Outbound Dial Prefix: Blank - this is done in a2billing
Trunk Name: Carriex
Peer Details
allow=g729
canreinvite=no
context=from-trunk (I tried both from-trunk and from-internal)
disallow=all
fromuser=xxxx
host=64.71.145.237
insecure=very
secret=xxxx
type=friend
username=xxxx
Reg String: xxxxx:
[email protected]
HERE IS THE LOG WHEN I TRY TO MAKE A CALL: (I replaced the trunk ID with xxxxxx)
== Manager 'admin' logged on from 127.0.0.1
-- Executing [19135682215@from-internal:1] Macro("SIP/204-b760b580", "dialout-trunk|7|19135682215||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/204-b760b580", "DIAL_TRUNK=7") in new stack
-- Executing [s@macro-dialout-trunk:2] Set("SIP/204-b760b580", "DIAL_NUMBER=19135682215") in new stack
-- Executing [s@macro-dialout-trunk:3] Set("SIP/204-b760b580", "ROUTE_PASSWD=") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/204-b760b580", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing [s@macro-dialout-trunk:6] GotoIf("SIP/204-b760b580", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("SIP/204-b760b580", "_NODEST=") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("SIP/204-b760b580", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("SIP/204-b760b580", "GROUP()=OUT_7") in new stack
-- Executing [s@macro-dialout-trunk:10] Macro("SIP/204-b760b580", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/204-b760b580", "user-callerid: device 204") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/204-b760b580", "AMPUSER=204") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/204-b760b580", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("SIP/204-b760b580", "0?start") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/204-b760b580", "REALCALLERIDNUM=204") in new stack
-- Executing [s@macro-user-callerid:6] NoOp("SIP/204-b760b580", "REALCALLERIDNUM is 204") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/204-b760b580", "AMPUSER=204") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/204-b760b580", "AMPUSERCIDNAME=Desktop X-Ten") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/204-b760b580", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/204-b760b580", "AMPUSERCID=204") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/204-b760b580", "CALLERID(all)="Desktop X-Ten" <204>") in new stack
-- Executing [s@macro-user-callerid:12] Set("SIP/204-b760b580", "REALCALLERIDNUM=204") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/204-b760b580", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/204-b760b580", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/204-b760b580", "Using CallerID "Desktop X-Ten" <204>") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/204-b760b580", "record-enable|204|OUT") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/204-b760b580", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/204-b760b580", "recordingcheck|20080119-185431|1200786871.57") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080119-185431|1200786871.57: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/204-b760b580", "No recording needed") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("SIP/204-b760b580", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/204-b760b580", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:14] Macro("SIP/204-b760b580", "outbound-callerid|7") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/204-b760b580", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("SIP/204-b760b580", "REALCALLERIDNUM is 204") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/204-b760b580", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("SIP/204-b760b580", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("SIP/204-b760b580", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("SIP/204-b760b580", "TRUNKOUTCID=800-733-5830") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/204-b760b580", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/204-b760b580", "0?usercid") in new stack
-- Executing [s@macro-outbound-callerid:17] Set("SIP/204-b760b580", "CALLERID(all)=800-733-5830") in new stack
-- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/204-b760b580", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("SIP/204-b760b580", "CallerID set to "" <8007335830>") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/204-b760b580", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] AGI("SIP/204-b760b580", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern xxxxxx+011|Z.
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:18] Set("SIP/204-b760b580", "OUTNUM=xxxxxx19135682216") in new stack
-- Executing [s@macro-dialout-trunk:19] Set("SIP/204-b760b580", "custom=SIP/carriexchange") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("SIP/204-b760b580", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,22)
-- Executing [s@macro-dialout-trunk:22] Macro("SIP/204-b760b580", "dialout-trunk-predial-hook") in new stack
-- Executing [s@macro-dialout-trunk:23] GotoIf("SIP/204-b760b580", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/204-b760b580", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:25] Dial("SIP/204-b760b580", "SIP/carriexchange/xxxxxx19135682216|300|") in new stack
-- Couldn't call carriexchange/xxxxxx19135682216
== Everyone is busy/congested at this time (0:0/0/0)
-- Executing [s@macro-dialout-trunk:26] Goto("SIP/204-b760b580", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/204-b760b580", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/204-b760b580", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [19135682216@from-internal:2] Macro("SIP/204-b760b580", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/204-b760b580", "all-circuits-busy-now|noanswer") in new stack
-- <SIP/204-b760b580> Playing 'all-circuits-busy-now' (language 'en')
-- Executing [s@macro-outisbusy:2] Playback("SIP/204-b760b580", "pls-try-call-later|noanswer") in new stack
-- <SIP/204-b760b580> Playing 'pls-try-call-later' (language 'en')
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/204-b760b580' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/204-b760b580'