Hi,
Trying voipjet on asterisk box, but having a few basic problems!
I can't make any outgoing calls - I get "congestion" errors.
Other trunks all work OK.
Here's the CLI..
-- Executing Macro("SIP/200-e94c", "dialout-trunk|15|7973XXXXXX||") in new stack
-- Executing Set("SIP/200-e94c", "DIAL_TRUNK=15") in new stack
-- Executing Set("SIP/200-e94c", "DIAL_NUMBER=7973XXXXXX") in new stack
-- Executing Set("SIP/200-e94c", "ROUTE_PASSWD=") in new stack
-- Executing GotoIf("SIP/200-e94c", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing GotoIf("SIP/200-e94c", "0?disabletrunk|1") in new stack
-- Executing Set("SIP/200-e94c", "_NODEST=") in new stack
-- Executing Set("SIP/200-e94c", "DIAL_TRUNK_OPTIONS=TtrW") in new stack
-- Executing Set("SIP/200-e94c", "GROUP()=OUT_15") in new stack
-- Executing Macro("SIP/200-e94c", "user-callerid|SKIPTTL") in new stack
-- Executing NoOp("SIP/200-e94c", "user-callerid: device 200") in new stack
-- Executing Set("SIP/200-e94c", "AMPUSER=200") in new stack
-- Executing GotoIf("SIP/200-e94c", "0?report") in new stack
-- Executing GotoIf("SIP/200-e94c", "0?start") in new stack
-- Executing Set("SIP/200-e94c", "REALCALLERIDNUM=200") in new stack
-- Executing NoOp("SIP/200-e94c", "REALCALLERIDNUM is 200") in new stack
-- Executing Set("SIP/200-e94c", "AMPUSER=200") in new stack
-- Executing Set("SIP/200-e94c", "AMPUSERCIDNAME=Office - WL") in new stack
-- Executing GotoIf("SIP/200-e94c", "0?report") in new stack
-- Executing Set("SIP/200-e94c", "AMPUSERCID=200") in new stack
-- Executing Set("SIP/200-e94c", "CALLERID(all)=Office - WL <200>") in new stack
-- Executing Set("SIP/200-e94c", "REALCALLERIDNUM=200") in new stack
-- Executing NoOp("SIP/200-e94c", "TTL: ARG1: SKIPTTL") in new stack
-- Executing GotoIf("SIP/200-e94c", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing NoOp("SIP/200-e94c", "Using CallerID "Office - WL" <200>") in new stack
-- Executing Macro("SIP/200-e94c", "record-enable|200|OUT") in new stack
-- Executing GotoIf("SIP/200-e94c", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("SIP/200-e94c", "recordingcheck|20070701-175335|1183312414.12") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070701-175335|1183312414.12: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/200-e94c", "No recording needed") in new stack
-- Executing GotoIf("SIP/200-e94c", "0?skipoutcid") in new stack
-- Executing Set("SIP/200-e94c", "DIAL_TRUNK_OPTIONS=WTt") in new stack
-- Executing Macro("SIP/200-e94c", "outbound-callerid|15") in new stack
-- Executing GotoIf("SIP/200-e94c", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/200-e94c", "REALCALLERIDNUM is 200") in new stack
-- Executing GotoIf("SIP/200-e94c", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("SIP/200-e94c", "USEROUTCID=004418278300xx") in new stack
-- Executing Set("SIP/200-e94c", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/200-e94c", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("SIP/200-e94c", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("SIP/200-e94c", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,1
-- Executing GotoIf("SIP/200-e94c", "0?report") in new stack
-- Executing Set("SIP/200-e94c", "CALLERID(all)=004418278300xx") in new stack
-- Executing GotoIf("SIP/200-e94c", "1?report:hidecid") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("SIP/200-e94c", "CallerID set to "" <004418278300xx>") in new stack
-- Executing GotoIf("SIP/200-e94c", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing AGI("SIP/200-e94c", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern 01144+XXXXXXXXXX
== fixlocalprefix: Dialpattern 01144+XXXXXXXXXX matched. 7973XXXXXX -> 011447973XXXXXX
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/200-e94c", "OUTNUM=011447973XXXXXX") in new stack
-- Executing Set("SIP/200-e94c", "custom=IAX2/VoipJet") in new stack
-- Executing GotoIf("SIP/200-e94c", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,22)
-- Executing GotoIf("SIP/200-e94c", "0?customtrunk") in new stack
-- Executing Dial("SIP/200-e94c", "IAX2/VoipJet/011447973XXXXXX|300|WTt") in new stack
-- Called VoipJet/011447973XXXXXX
-- Call accepted by 8.11.164.235 (format ulaw)
-- Format for call is ulaw
-- IAX2/VoipJet-1 is circuit-busy
-- Hungup 'IAX2/VoipJet-1'
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Goto("SIP/200-e94c", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing GotoIf("SIP/200-e94c", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing NoOp("SIP/200-e94c", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
-- Executing Macro("SIP/200-e94c", "outisbusy|") in new stack
-- Executing Playback("SIP/200-e94c", "all-circuits-busy-now|noanswer") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
I've substituted XXXXXX for the number!
Any idea what is wrong?
Freepbx has...
allow=ulaw
auth=md5
deny=all
host=test.voipjet.com
notransfer=yes
secret=xxxxxxxxxxxxx
type=peer
username=xxxxx
Thanks in advance!
Cheers
Matthew