SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mrhOffline



Joined: Apr 14, 2007
Posts: 10

Status: Offline
Posted: Jul 01, 2007 - 06:59 PM Reply with quote Back to top
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,1Cool
-- 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
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2897
Location: Bath UK
Status: Offline
Posted: Jul 01, 2007 - 07:18 PM Reply with quote Back to top
Hi

Quote:
allow=ulaw
auth=md5
deny=all
host=test.voipjet.com
notransfer=yes
secret=xxxxxxxxxxxxx
type=peer
username=xxxxx


Doesnt look right
Try
Quote:

deny=all
allow=ulaw
auth=md5
host=test.voipjet.com
notransfer=yes
secret=xxxxxxxxxxxxx
type=peer
username=xxxxx


Ian
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2897
Location: Bath UK
Status: Offline
Posted: Jul 01, 2007 - 07:22 PM Reply with quote Back to top
Also are you sure you have enough credit for the call, Voipjet reserves credit for the call, try it to a landline.

Ian
View user's profile Send private message
mrhOffline



Joined: Apr 14, 2007
Posts: 10

Status: Offline
Posted: Jul 01, 2007 - 07:58 PM Reply with quote Back to top
ianplain :
Also are you sure you have enough credit for the call, Voipjet reserves credit for the call, try it to a landline.

Ian


Cheers Ian,

Same problem when trying a land-line.

I thought the order didn't look quite right - especially the allow then deny!

I'll delete the trunk and try again!

Thanks

Matthew
View user's profile Send private message
mrhOffline



Joined: Apr 14, 2007
Posts: 10

Status: Offline
Posted: Jul 01, 2007 - 08:12 PM Reply with quote Back to top
OK.

Deleted the trunk,

Added the settings in the correct order.... but when I saved the trunk it reverted to the strange order!

Very strange....
View user's profile Send private message
mrhOffline



Joined: Apr 14, 2007
Posts: 10

Status: Offline
Posted: Jul 01, 2007 - 08:30 PM Reply with quote Back to top
Following some tips from Ian (thanks) its sorted, so I'll post it here for indexing etc.

Voipjet require you to have enough credit on your account for many minutes of calls - so you don't get cut off in your prime.

The free 25cent credit doesn't give you enough to make any calls all.

When you've added $5, all works fine.

Hope this helps someone else,

Cheers

Matthew
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.