Peering Switchvox free and asterisk not working

Get help with installing and running Switchvox Free Edition.

Moderators: bmdhacks, dpodolsky, Moderator, Support

Peering Switchvox free and asterisk not working

Postby MrMMM » Fri Apr 03, 2009 4:44 pm

I am trying to connect two offices one is running switchvox free, the other Asterisk. I have had a share of problems, but seem to be very close now. I have added the Asterisk server as a VOIP provider in Switchvox. And added the trunk info to the Asterisk server.

Here is the Trunk info added to the asterisk server:

[trank-nyc]
type=peer
host=switchboard.server.com
context=default
username=user
subscribecontext=evans
secret=password
registersip=yes

The username and secret are the same as the username and password defined in the VOIP provider in Switchboard. However, when I try to make a call using that VOIP I have the following message in my Advanced Error Log on Switchboard:

chan_sip.c: Forbidden - wrong password on authentication for INVITE to '"user" <sip:user@asterisk.server.com>;tag=as4db5c8fa'

Why does it not like the password? Is there something else I need to set up on the asterisk side?

Thank you.
MrMMM
Newsterisk
 
Posts: 22
Joined: Mon Mar 16, 2009 2:19 pm

Postby MrMMM » Tue Apr 07, 2009 1:25 pm

Does anyone have any ideas? I am stuck and very frustrated :)

Thank you.
MrMMM
Newsterisk
 
Posts: 22
Joined: Mon Mar 16, 2009 2:19 pm

Postby fricci » Wed Apr 08, 2009 1:03 pm

How is your peer setup on switchvox. seems like you are trying to use authentication....you need to set both sides as peers; not providers
fricci
Newsterisk
 
Posts: 37
Joined: Wed Dec 12, 2007 5:24 pm
Location: San Jose, Costa Rica

Postby MrMMM » Wed Apr 08, 2009 2:19 pm

Thank you for responding.
In switchvox, I set up a SIP provider, following the instructions the were given in the "peering two switchvox servers".
I basically added a VOIP SIP provider.
In advanced I set the Host Type to "PEER".
In the "Account ID" and "Password" i entered the same ones as "username" and "secret" in Asterisk.
Am I missing something else?

Thank you.
MrMMM
Newsterisk
 
Posts: 22
Joined: Mon Mar 16, 2009 2:19 pm

Postby nicklaz » Wed Apr 08, 2009 7:09 pm

here's the link for digium's knowledgebase article on peering

http://kb.digium.com/entry/553/


hope it helps
nicklaz
Oldsterisk
 
Posts: 70
Joined: Fri May 23, 2008 9:39 am

Postby MrMMM » Wed Apr 08, 2009 10:18 pm

nicklaz,
Thanks for the suggestion. I wanted to use SIP, not IAX, and so followed the guide here: http://www.switchvox.com/sv?page=custom ... er/peering when setting up the peering on Switchvox ad that's how i arrived to the point at which i am now.

Thank you.
MrMMM
Newsterisk
 
Posts: 22
Joined: Mon Mar 16, 2009 2:19 pm


Return to Switchvox Free Edition Support

Who is online

Users browsing this forum: No registered users and 1 guest