login | register
Sat 05 of Jul, 2008 [03:31 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Samuel, Thu 03 of Jul, 2008 [13:41 UTC]: ok thank you
  • Mats Karlsson, Thu 03 of Jul, 2008 [13:37 UTC]: Nice Samuel, will look forward to rad it.
  • bwl_fernstudent, Thu 03 of Jul, 2008 [09:08 UTC]: Your blog shows some usefull code
  • Samuel, Thu 03 of Jul, 2008 [08:04 UTC]: I'll translate it, for sure
  • Mats Karlsson, Wed 02 of Jul, 2008 [20:46 UTC]: LOL, in french! Translate it to English and I will read it.
  • Samuel, Wed 02 of Jul, 2008 [08:07 UTC]: Hello, i wrote a blog about Asterisk, speaking about installation,programming and more http://sambranche.blogspot.com/
  • Nick Barnes, Tue 01 of Jul, 2008 [17:46 UTC]: Steve - Asterisk doesn't 'fit into linux' - it's an application which runs on top of Linux.
  • Steve, Mon 30 of Jun, 2008 [18:07 UTC]: anyone know where I can find a block diagram of how asterisk fits into linux. my f'ing bosses want me to draw something up.. ugh.
  • akbar, Fri 27 of Jun, 2008 [10:37 UTC]: marley_boyz@yahoo.com how to configure call forward, call back, call pick up using TDM and asterisk 1.2.13... please help me.. thx...
  • Matthew Williams, Tue 24 of Jun, 2008 [22:37 UTC]: We are looking for Tier II VoIP Support Technicians in St Louis. Send resumes to mwilliams AT voxitas DOT com.
Server Stats
  • Execution time: 0.41s
  • Memory usage: 2.63MB
  • Database queries: 33
  • GZIP: Disabled
  • Server load: 0.34

Asterisk and Vonage

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


Created by admin, Last modification by vincente on Sat 10 of Mar, 2007 [06:48 UTC]

Comments Filter

AsteriskNow and Vonage Soft Phone

by Ben on 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 :(

I have my tribox working

by xavier on 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

Vonage may be opening up...

by Wolf Butler on 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. :)

Re: AAH with Vonage Softphone account - ???

by Aaron on 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.

UPDATE: To get Oubound working

by CC Chaman on 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!

by Steve Jones on Tuesday 04 of April, 2006 [18:44:00 UTC]

AAH with Vonage Softphone account - ???

by Steve Jones on 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

dtmfmode

by Andrew Moise on 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.

thnks

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

Re: WHAT locks the ATA ?

by IronHelix on 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.

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver