Skip to main content

Outbound Dial 2 trunks

Posted by tomkat on Tue, 03/30/2010

CentOS5.3
Thirdlane STE 6.0.1.79
Asterisk 1.6

I have 3 BroadVox GoAnywhere registered trunks and 24 Excel paths. My outbound Route is

_NXXNXXXXXX Unrestricted Dial Out (2 trunks) SIP/BroadVox, SIP/Excel 10 digit calling. In my mind i'm thinking on the 4th call it should use the Excel trunk but instead I get.

BVX Trunk #: 8175837547 -> 8173712003 EXCEEDED LIMIT of 3

A call from 8175837547 to 8173712003 was rejected on trunk because the limit of 3 calls has been reached and completing this call would exceed the limit.

If you believe this message is mistaken, or would no longer like to receive this message, please open a ticket with our NOC. If you would like to increase your concurrent call sessions, please contact our customer service department or your sales rep.

Pattern to Match _NXXNXXXXXX
Description
Type Unrestricted
Associated Script* Dial Out (2 trunks)

Script Description: This script handles dialing using 2 trunks. The "prepend string" and "number of digits to strip" can be specified for each trunk - note that these are applied in addition to the "prepend string" and "number of digits to strip" defined for a given trunk in Trunks.
Uses tl-dialout-base.
How long to ring 60
First trunk -- Select trunk --SIP/BroadVoxSIP
String to prepend
Number of digits to strip
Options
Second trunk -- Select trunk --SIP/ExcelSIP
String to prepend
Number of digits to strip
Options

Is this correct? My SSH shows Error 600 busy when the 4th call is made. Thanks for any help on this. As you can tell I am new to all of this so please be as specific as possible.


Submitted by eeman on Tue, 03/30/2010 Permalink

Not on a busy. You have to get a 503 error to continue in dialplan. You don't want 2x the traffic for legit busy signals. I think you're on the wrong broadvox product if you want multiple carriers.

Submitted by tomkat on Wed, 03/31/2010 Permalink

I just wanted to post the resolution for this issue. I added call limit=3 to match the number of BroadVox trunks I've got and now it rolls to Excel on the fourth call. Any help with my other questions would be appreciated.

[BroadVox]
qualify=5000
nat=yes
secret=6rzpAczkGUYP
;=description=BroadVox Trunk Group
host=208.93.224.228
username=8177517274
dtmfmode=rfc2833
context=from-outside
type=friend
insecure=invite,port
canreinvite=no
disallow=all
allow=ulaw
allow=g729
call-limit=3

Submitted by eeman on Wed, 03/31/2010 Permalink

If you read up on asterisk 1.6 you will see that cal-limit is no longer to be used. Don't get comfortable with that setting.

Submitted by tomkat on Wed, 03/31/2010 Permalink

Thank you could you please post some specific resources for us newbies. Maybe a list of must read articles or websites for the beginning Asterisk user. I am trying to absorb this material as quickly as possible but my main resource has been the thirdlane fourms. Where does one go for the material covered in the dCAP certification process?

Submitted by eeman on Wed, 03/31/2010 Permalink

For the written it all comes out of the future of telephony book. Work through that book using their examples. After you feel good about that, the bootcamp class is a good resource