planetWayne.com - Forums
Rants and Raves and Generally Anything
Could easily use a helping hand

 
Post new topic   Reply to topic    planetWayne.com - Forums Forum Index -> VoIP
View previous topic :: View next topic  
Author Message
bulgin
planetFreshman


Joined: 10 Dec 2004
Posts: 1

PostPosted: Fri Dec 10, 2004 10:49 pm    Post subject: Could easily use a helping hand Reply with quote

Thanks for letting me be a part of this forum. I hope that I can give back something in return for the anticipated help I need.

I have installed an asterisk server and signed up for an account at Broadvoice. I have installed their patch as required. I have two lan soft phones and will be getting a grandphone shortly after testing for my small office. Then more down the line should things work out. I am having a small difficulty, though, in getting the x-lite phones to dial out via my asterisk server. The x-lite phones can call one another and I can recieve calls via my Broadvoice number, but outgoing calls are returned with the message: Call failed: 404 not found.

The asterisk server is registered properly because I can see the registry using sip show registry. Using ethereal I see that the phone is asking for authorization with the local asterisk server and getting an "unauthorized" reply. So... I've put my sip and extensions.conf files below in the hope that you can eyeball it quickly and see what might be wrong here. Here it is. Hope you can help. Thanks, bulgin:

==========================================
sip.conf

[general]
port = 5060
bindaddr = 0.0.0.0
allow=all
register => broadvoicenumber@sip.broadvoice.com:broadvoicepw:broadvoicenumber@sip.broadvoice.com/2000

[sip.broadvoice.com]
type=peer
host=proxy.dca.broadvoice.com
fromdomain=sip.broadvoice.com
fromuser=broadvoicenumber
context=from-broadvoice
;Disable canreinvite if you are behind a NAT
;canreinvite=no

[2000]
type=friend
username=2000
secret=secretpw
host=dynamic
context=intern
mailbox=100

[2001]
type=friend
username=2001
secret=secretpw2
host=dynamic
context=intern
mailbox=100
========================================
extensions.conf:
[general]

static=yes
writeprotect=yes

[default]
exten=_1NXXNXXXXXX, 1, dial(SIP/2000@sip.broadvoice.com,30)
exten=_1NXXNXXXXXX, 2, congestion()
exten=_1NXXNXXXXXX, 102, busy()

[intern]
exten => 2000,1,Dial(SIP/2000,20)
exten => 2000,2,Voicemail(u2000)
exten => 2000,102,Voicemail(b2000)
exten => 2000,103,Hangup

exten => 2001,1,Dial(SIP/2001,20)
exten => 2001,2,Voicemail(u2001)
exten => 2001,102,Voicemail(b2001)
exten => 2001,103,Hangup
exten => 2999,1,VoicemailMain(${CALLERIDNUM})

[from-broadvoice]
exten => 2000,1,Dial(SIP/2000,20)
exten => 2000,2,Voicemail(u2000)
exten => 2000,102,Voicemail(b2000)
exten => 2000,103,Hangup
exten => 2999,1,VoicemailMain(${CALLERIDNUM})
Back to top
View user's profile Send private message
Bile_One
planetFreshman


Joined: 29 Dec 2004
Posts: 1
Location: Little Rock

PostPosted: Wed Dec 29, 2004 5:17 pm    Post subject: Reply with quote

Bulgin,

From your config files you've not allowed any codecs such as ulaw, alaw, or gsm. Each extension has to use the codecs. Also note the register => under globals.

For example:
; General section of the sip.conf used to set up global setting for sip

[general]
register =>
disallow=all
allow=gsm
allow=ulaw
allow=alaw
port=5060
nat=yes ;only if behind a firewall otherwise nat=no
qualify=yes

[601]
type=friend
username=601
secret=mypassword
nat=yes ; only if you are behind a firewall otherwise nat=no
qualify=yes
context=incoming
callerid="My User Name" <601>
host=dynamic
canreinvite=no
mailbox=601@mailbox
disallow=all
allow=gsm
allow=ulaw
allow=alaw
_________________
Mandrake is for kids whos parents never really loved them.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    planetWayne.com - Forums Forum Index -> VoIP All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group