login | register
Sat 04 of Jul, 2009 [04:34 UTC]

voip-info.org

Discuss [13] History

Asterisk and Vonage

Created by: admin,Last modification on Sat 10 of Mar, 2007 [06:48 UTC] by vincente
Standard Vonage service is locked to the ATA they send you. It is not possible to connect Asterisk (or any other SIP UA) directly to your standard Vonage service.

Quoth their TOS:
" c. Unauthorized Usage

 Customer may not program the Number into any equipment or
 infrastructure in or on which the number is intended or used as the
 origination or destination of a communication other than the Device
 that was provided by Vonage."

However Vonage does sell an addon service called Vonage Softphone: for an extra $10/mo you get assigned a second DID with 500 outgoing minutes, and you get the SIP credentials as well as a copy of XTen's X-Pro softphone. To get this you must also be a normal Vonage subscriber, with at least one line going through the ATA. This will work with Asterisk, but it is more expensive.

By far the most elegant way to connect an Asterisk server to Vonage is through a Vonage Business Plus account. The Vonage Business Plus program is designed to allow business customers to connect SIP gateways and IP PBX directly to the Vonage network. Plans range from 4 DIDs with 5K minutes for $149/mo. to 24 DIDs with 50K minutes for $999/mo. Incoming calls are free and DIDs can support multiple channels. As with all Vonage accounts, calls within the Vonage network are free.

If you do happen to be using a Vonage adapter through a TDM card and want the the called id name to show on your SIP phone here is how to do it:

exten => s,1,Cut(newcidname=CALLERID,\",3)
exten => s,2,DBPut(cidname/${CALLERIDNUM}=${newcidname})
exten => s,3,LookupCIDName

Basically take what Vonage does send down as callerid and split it up by the " marks and then set it in the local db and then call the lookup to set CALLERIDNAME for you since you can't set it manually.

PLZCONFIRM: The newer version of the Cisco ATAs firmware do not require this patch to pass caller id.

How to configure Asterisk to work without a Vonage ATA

NOTE: You must have a Vonage Softphone or Vonage Business Plus account for this to work.

By: Neel - neel_007
Vonage <---> Asterisk Complete Config   
2005-02-24 20:18
Hello Asterisk Users,

After Brain storming for couple of hours, days, and weeks, finally got Asterisk to work with Vonage for Inbound and Outbound calls.

Requirement: -
1) Vonage Softphone account
2) Asterisk
3) Couple of SIP Phones

Here is my sip.conf

general
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = <<Local IP>> ; Address to bind to (all addresses on machine)
context=incoming
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=g723
externip=<<External IP>>
localnet=<<Local IP>>
localmask=<<Local mask>>
nat=yes

register=<<VonageDID>>:password@sphone.vopr.vonage.net:5061/202

vonage-out
username=<<VonageDID>>
type=friend
secret=<<password>>
port=5061
nat=yes
host=sphone.vopr.vonage.net
fromuser=<<VonageDID>>
fromdomain=sphone.vopr.vonage.net
dtmfmode=rfc2833
auth=md5

vonage202
username=<<VonageDID>>
type=friend
secret=<<password>>
port=5061
nat=yes
insecure=very
host=sphone.vopr.vonage.net
fromuser=<<VonageDID>>
fromdomain=sphone.vopr.vonage.net
dtmfmode=inband
context=from-pstn
canreinvite=no
auth=md5

Here is my extension.conf

ext-did
exten => <<VonageDID>,1,Goto(ext-local,202,1)
or
exten => <<VonageDID>>,1,Goto(aa_1,s,1) If you are sending the call to IVR.

For some this configuration might vary as my Asterisk is behind NAT.

Asterisk Rocks!!! Enjoy


Neel

Support


See Also



Comments

Comments Filter
222

333AsteriskNow and Vonage Soft Phone

by alambro1, Wednesday 17 of October, 2007 [04:51:25 UTC]
Can anyone tell me how to set up the vonage softphone in AsteriskNow through the GUI. I have no experience with this command line stuff :(
222

333I have my tribox working

by xchaparro, Friday 27 of July, 2007 [16:51:18 UTC]
here is the config for the tribox

Outgoing Settings

auth=md5
dtmfmode=rfc2833
fromdomain=sphone.vopr.vonage.net
fromuser=<DID>
host=sphone.vopr.vonage.net
insecure=very
nat=yes
port=5061
secret=<password>
type=friend
username=<DID>
 
Incoming Settings
Blank
 
Registration
<DID>:<Password>@sphone.vopr.vonage.net
222

333Vonage may be opening up...

by wolfwitch, Thursday 12 of April, 2007 [15:54:34 UTC]
I did some Googling and found this story:

http://blog.tmcnet.com/blog/tom-keating/vonage/vonage-opens-sip-credentials.asp

I haven't been able to find anything about it on Vonage's site though. I would really love to be able to use an asterisk box for Vonage instead of the ATA they gave me. I want control of my own voicemail, and want to be able to have some IVR fun with telemarketers. :)
222

333Re: AAH with Vonage Softphone account - ???

by alfreema, Thursday 16 of November, 2006 [15:53:05 UTC]
I am having the same issue. Did you ever find a configuration that would work with Asterisk@Home? I get the same congestion problem. I tried the port changes recommended after you left your message, but it didn't help.
222

333UPDATE: To get Oubound working

by cchaman, Thursday 12 of October, 2006 [01:34:13 UTC]
Okay - so after 2 days of back and forth and no useful help from the one we got the Vonage Business Plus: thevoipconnection (though they do answer prompty), here's how to get both inbound and outbound working.

Inbound port and register string should be 5061
Outbound port should be 5060

Thankx to Tim and Steve and Vonage support for figuring this out!

222

333

by 172pilot, Tuesday 04 of April, 2006 [18:44:00 UTC]
222

333AAH with Vonage Softphone account - ???

by 172pilot, Tuesday 04 of April, 2006 [17:51:07 UTC]
I am trying to duplicate this with a recent version of Asterisk@Home, and I'm not having any luck with outbound calls.. asterisk keeps showing outbound calls failing because of congestion.. Inbound works fine. Can anyone confirm this still works? Any hints on how these instructions may differ in an AMP config?

-Steve
222

333dtmfmode

by chops, Sunday 12 of February, 2006 [19:47:32 UTC]
One note: I had to set dtmfmode=rfc2833 in the incoming calls section before DTMF tones worked on my incoming line.
222

333thnks

by pingywon, Thursday 16 of June, 2005 [12:06:17 UTC]
thank you for the info
222

333Re: WHAT locks the ATA ?

by IronHelix, Wednesday 18 of May, 2005 [18:15:44 UTC]
the way they lock it is by withholding the sip cridentials (login/password). When you turn on your vonage box it uses ssl of some kind to download its configuration, so you can't see what happens. In theory if you could read out the memory of the box you might be able to dig out the sip password, but that is a. very difficult, b. requires extensive EE skills, and c. there is nothing to say that your password stays the same across reboots. Besides, they could easily see that your endpoint is acting 'funny' (IE not motorola ata-ish) and track you down that way.