Vonage Forum Menu
The Vonage Forums
Vonage VoIP Forum
Vonage Forum Archive
Vonage Canada
Vonage UK
Vonage Stock
Fax, Tivo & Alarms
Hard Wiring
Number Transfer
V-Phone & SoftPhone
VoIP Feature Request
Vonage TV Ads
Forum Suggestions
Report a Bug
The Cafeteria
Forums Archive
All Vonage News
Vonage In The News
Press Releases
Forum Digest
News Archives
Vonage Sign Up Info
Vonage Features
Vonage Area Codes
Vonage FAQ
Vonage Reviews
VoIP Speed Test
Vonage Toolbar
Network Setup
Wiring & Installation
Vonage 911
Business Account
VoIP Acronyms
VoIP Advertising
Wi-Fi Phone
Contact Support
Member Registration
Member Login
Member List
Your Account
Private Message
Forum Faqs
Recommend Us
Website Feedback
Forum Syndication
Forum Newsletter
Search Using Google
Search Forums
Search News
Forum Speed Dial
Vonage Forum
Forum Community
The Vonage Forums
Vonage VoIP Forum
Forum Archive
Vonage Canada
Vonage UK
Vonage Stock
Fax, Tivo & Alarms
Hard Wiring
Number Transfer
V-Phone & SoftPhone
Feature Request
Vonage On TV
Forum Suggestions
Report A Bug
The Cafeteria
All Archives
Vonage News
All Vonage News
In The News
Press Releases
Forum Digest
News Archive
Vonage Information
Sign Up Info
Vonage Features
Area Codes
Vonage FAQ
Vonage Reviews
VoIP Speed Test
Vonage Toolbar
Network Setup
Wiring & Installation
Vonage 911
Business Account
VoIP Acronyms
VoIP Advertising
Wi-Fi Phone
Contact Support
Member Services
Registration
Member Login
Member List
Your Account
Private Messages
Forum Faq's
Recommend Us
Website Feedback
RSS Syndication
Forum Newsletter
Search
Search Using Google
Search Forums
Search News
Vonage Forums
Getting outbound calls to work with Asterisk on a soft line
Vonage® VoIP Forum - Vonage News, Reviews And Discussion
»
Vonage V-Phone & SoftPhone
Author
Message
SteelFly
New Forum Member
Joined: Aug 19, 2005
Posts: 4
Posted:
Fri Aug 19, 2005 11:27 am
Post subject: Getting outbound calls to work with Asterisk on a soft line
Hi,
I am having trouble getting an outbound cal to work through Asterisk. I can receive inbound calls on my softphone line without problem, but when I try to make an outbound call, I get a "404 Not Found" error message back from the
Vonage
server. I see that I get an "OK" message back from the server after a REGISTER message, so I am not sure what the problem is. Any help is appreciated.
My sip.conf file is:
[general]
externip=###
nat=yes
register=1mynumber:password@atlas-east.
vonage
.net:5060
[
vonage
]
username=1mynumber
type=friend
secret=password
port=5060
nat=yes
host=atlas-east.
vonage
.net
canreinvite=no
fromuser=1mynumber
dtmfmode=rfc2833
my extension.conf is:
[from-local]
exten => _9.,1,Dial(SIP/${EXTEN-1}@atlas-east.
vonage
.net)
Any thoughts or suggestions are appreciated! Thanks!
scerruti
Vonage Forum
MVM
Joined: Feb 05, 2005
Posts: 1424
Location: Carlsbad, CA (finally)
Posted:
Fri Aug 19, 2005 12:54 pm
Post subject:
SteelFly,
Although I hope to be proved wrong, the members in this forum historically haven't handled a lot of Asterisk configuration problems. I hope that changes, but I suggest that you not wait to post your question on an Asterisk focused support forum.
Good luck getting your dialing working! When you do, it might be a help to others if you could post a sample working config file with comments.
Also, this thread probably belongs under the SoftPhone forum.
Steve
_________________
Stephen P. Cerruti (ISP: TWC)
SteelFly
New Forum Member
Joined: Aug 19, 2005
Posts: 4
Posted:
Fri Aug 19, 2005 1:03 pm
Post subject:
Thanks for the reply scerruti. I think that my problem >may< be more
Vonage
related. It looks like Asterisk is trying to make the call by sending the INVITE, but getting the 404 message. So, I started here first. I am headed over to the Asterisk mailing list next. You are correct, this may be more softphone related. I will definitely post a commneted configuration once I get it working.
scerruti
Vonage Forum
MVM
Joined: Feb 05, 2005
Posts: 1424
Location: Carlsbad, CA (finally)
Posted:
Fri Aug 19, 2005 1:05 pm
Post subject:
I did find this
Google Cache
of a working configuration, but it appears to be significantly different from yours.
_________________
Stephen P. Cerruti (ISP: TWC)
SteelFly
New Forum Member
Joined: Aug 19, 2005
Posts: 4
Posted:
Fri Aug 19, 2005 2:09 pm
Post subject:
I tried that and several versions of that. I was unable to get oubound or inbound calls to work with that. The configuration I have posted is the one that gets me the furthest with successfully placing and receiving calls.
SteelFly
New Forum Member
Joined: Aug 19, 2005
Posts: 4
Posted:
Fri Aug 19, 2005 3:31 pm
Post subject:
Solved this on the Asterisk list. For those interested, I have complete connectivity with Vonae using the following config files for a softphone laocted at extenstion 201 locally. My problem was I was sending calls directly out to
Vonage
instead of using the context defined in Asterisk.
sip.conf:
[general]
externip=X.X.X.X
port=5060
bindaddr=X.X.X.X
context=
vonage
-out
disallow=all
allow=ulaw
allow=alaw
nat=yes
register=####:PASSWORD@atlas-east.
vonage
.net:5060/201
[
vonage
]
username=####
type=peer
secret=PASSWORD
port=5060
nat=yes
host=atlas-east.
vonage
.net
fromdomain=
vonage
.net
canreinvite=no
fromuser=####
dtmfmode=rfc2833
context=
vonage
-out
[201]
type=friend
username=201
secret=PASSWORD
host=dynamic
dtmfmode=rfc2833
defaultip=X.X.X.X
mailbox=201
callerid=NAME
progressinband=no
context=from-sip
extension.conf:
[
vonage
-out]
exten => ########,1,Goto(from-sip,201,1)
[from-sip]
exten => _9.,1,Dial(SIP/${EXTEN:1}@
vonage
)
SuprSpy79
Vonage Forum Junior
Joined: Jul 07, 2005
Posts: 27
Posted:
Wed Oct 12, 2005 9:18 am
Post subject:
How did you get your password to use for asterisk? Did you have to purchase a
vonage
softphone?
codeslush
New Forum Member
Joined: Oct 12, 2005
Posts: 1
Posted:
Wed Oct 12, 2005 10:57 pm
Post subject:
SuprSpy79 wrote:
How did you get your password to use for asterisk? Did you have to purchase a
vonage
softphone?
Yes, you need a
Vonage
Soft Phone and then you can get it under the soft phone properties at
Vonage
. Logon to your account, go to "Features", then you will have an option for "
Vonage
Soft Phone" (like Bandwidth Saver, etc... will show up when you have a soft phone), then click on "Manage Soft Lines", then "Configure" and it will show you the password.
Hope that helps. I have managed to get outbound calls to work, but still working on the inbound side of things!
I'm new to Asterisk and Linux and spent a day trying to get BroadVoice up and running. I simply couldn't get it going so I added a softphone to my
Vonage
and got it up and running pretty quickly - at least for outbound. Inbound is a different story but I'm sure it is something I am doing wrong. I'm a newbie and was very happy to just get the outbound going!
alee
Vonage Forum Junior
Joined: Sep 05, 2005
Posts: 33
Posted:
Fri Oct 14, 2005 12:29 am
Post subject:
Some notes... you are advised to use insecure=very or you will not get incoming calls. Likewise, your extensions should be configured appropriately to canreinvite=no and nat=yes if your extensions have to traverse NAT to get to the Asterisk box.
Here's the bare minimum you'll need to get
Vonage
and Asterisk working:
sip.conf:
Code:
; Remember to replace 12125551212 with your number!
register => 12125551212:yourpasswordhere@sphone.vopr.
vonage
.net/12125551212
[sphone.vopr.
vonage
.net]
username=12125551212
type=friend
secret=yourpasswordhere
host=sphone.vopr.
vonage
.net
fromuser=12125551212
fromdomain=sphone.vopr.
vonage
.net
dtmfmode=rfc2833
auth=md5
context=pstn-out
canreinvite=no
[
vonage
-in]
username=12125551212
type=friend
secret=yourpasswordhere
host=sphone.vopr.
vonage
.net
insecure=very
fromuser=12125551212
fromdomain=sphone.vopr.
vonage
.net
context=pstn-in
canreinvite=no
auth=md5
extensions.conf:
Code:
[pstn-in]
;
Vonage
212-555-1212 DID
; Replace YOUREXTENSION with your Internal PBX extension
; For instance, Dial(SIP/8100,25,rt) will cause extension 8100 to
; ring when the number is called. Dial(SIP/8100&SIP/8101,25,rt)
; will cause extensions 8100 and 8101 to ring simultaneously etc.
; Ringing() is optional, but suggested if you want the extension to
; appear to ring even if the extension is offline such as if you're
; using a softphone client that might not be connected to the
; Internet all the time
exten => s,1,Dial(SIP/YOUREXTENSION,25,rt)
exten => s,2,Ringing()
exten => s,3,Wait(60)
[pstn-out]
; Dial out if it matches the 1+areacode+number pattern for USA
; You can get fancy here if you want special rules for outbound calls
exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@sphone.vopr.
vonage
.net,25,rt)
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Vonage® VoIP Forum - Vonage News, Reviews And Discussion
»
Vonage V-Phone & SoftPhone
Jump to:
Select a forum
Vonage® VoIP Forums
----------------
Vonage
Vonage Forum Archive
Vonage Canada
Vonage UK
Vonage Stock
Fax - Tivo - Alarms
Hard Wiring - Installation
LNP – Local Number Portability
Vonage V-Phone & SoftPhone
VoIP Feature Wish List
Vonage TV Commercials
Forum Suggestions - Open Topics
----------------
The Cafeteria - Any Non Vonage Topic
Forum Suggestions - Comments
Report A Forum Bug
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
All times are GMT - 5 Hours