Below is the trunk configuration info we used to make Vicidial work with bandwidth.com. The key is adding a + sign to outgoing calls. bandwidth only accepts E.164 numbers.

exten => _91XXXXXXXXXX,2,Dial(SIP/+${EXTEN:1}@bandwidth,,tTo)

Below is the complete config. Make sure you add 9 prefix on your campaigns.

[bandwidth]
disallow=all
allow=ulaw
port=5060
canreinvite=yes
dtmfmode=rfc2833
host=216.82.224.202
outboundproxy=216.82.224.202
qualify=300
type=friend
nat=yes

exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/+${EXTEN:1}@bandwidth,,tTo)
exten => _91XXXXXXXXXX,3,Hangup

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.