Page 1 of 1

Switch2Voip trunk configuration in Vicidial and Goautodial

PostPosted: Sat Jul 06, 2013 2:58 pm
by switch2voip
Many call center owners and IT's were asking us for the configuration of their Switch2Voip VoIP account on Vicidial, here is what works for us and many others.

[Switch2Voip]
username={USERNAME}
type=peer
secret={PASSWORD}
progressinband=never
port=5060
nat=auto
insecure=very
ignoresdpversion=yes
host=sip.switch2voip.us
dtmfmode=rfc2833
context=from-trunk
canreinvite=no
allow=g729&g711&g723
fromuser=+{CALLER ID}

Registration
register=>USERNAME:PASSWORD@sip.switch2voip.us/siptrunking

Re: Switch2Voip trunk configuration in Vicidial and Goautodi

PostPosted: Sat Jul 06, 2013 3:20 pm
by williamconley
only allow g729 if you have it installed if you use this (allow=g711&g723 with the g729 removed if you have not actually installed g729)

please post your dialplan as well as that can be tricky, too. 8-)

Good post!

Re: Switch2Voip trunk configuration in Vicidial and Goautodi

PostPosted: Wed Jul 10, 2013 8:28 pm
by switch2voip
Thanks for your suggestion but i advise that the "3 G's" (g729&g711&g723) should be used in case one fails comes the other one in play.

Your dialplan should look something like this:

exten => _91.,1,Set(callerid(num)=+1XXXXXXXXXX)
exten => _91.,2,Set(callerid(ani)=Phone number)
exten => _91.,3,AGI(agi://127.0.0.1:4577/call_log)
exten => _91.,4,Dial(sip/${EXTEN:1}@Switch2Voip,55,o)
exten => _91,5,Hangup

Thanks,

Switch2Voip

Re: Switch2Voip trunk configuration in Vicidial and Goautodi

PostPosted: Wed Jul 10, 2013 9:37 pm
by williamconley
nice. But g729 isn't free and in most cases is not installed. if your system chooses g729 and the client system does not have it .. the call will fail even if it could have continued in another codec.

asserting a codec as allowed that is not installed is like buying the wrong size tire for your car.