Broadvoice confusion

j3r3my
Posts: 2
Member Since:
2010-02-14

So this morning I got a wild hair after reading http://chayden.net/Asterisk/SeUpAsteriskAtHome.htm and attempted to setup a trixbox machine with broadvoice service. It's not going so well.

I followed the instructions to the letter, and have the following problems. Note: the extensions work perfect between each other, just can't dial out or in.

1) When I vi /etc/hosts and add the line sip.broadvoice.com 147.135.0.128 it seems to lock up the screen where I cant save the file.

2) I've read numerous threads on many sites regarding the incoming trunk settings. I honestly have no idea how to configure that myself. I used the example listed on the chayden site and it did not work. I pasted what broadvoice gave me and that did not work.

3) Thank you for reading my thread and for any help provided.

My incoming settings: (Passwords are changed to P's)
User Context: 7029976302
allow=ulaw
canreinvite=no
context=from-pstn
disallow=all
dtmfmode=rfc2833
registar_server=sip.broadvoice.com
fromuser=7029976302
host=sip.broadvoice.com
insecure=very
nat=yes
secret=PPPPPPPPP
type=peer
auth_id=7029976302

Register String: 7029976302@sip.broadvoice.com:PPPPPPP:7029776302@sip.broadvoice.com/7029976302

Again, Thanks!



dickson
Posts: 1831
Member Since:
2006-06-02
For the screen lockup, it

For the screen lockup, it might just be VI. VI is awesome, but its unlike any other editor on the planet (EDLIN aside).

Try using "nano" instead if you are just getting started in the world of linux

From the CLI, type
asterisk -cvvvvvvvvvr

This will put you in the live log.

Make a test call and post your results from that log. Its a big help to diagnosis.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Just cutting and pasting can

Just cutting and pasting can get you into trouble. I fixed your peer below, even though it seems overly complex.

You main issues where putting the disallow after the allow, effectively setting no CODEC's for the peer.

Try this:

disallow=all
allow=ulaw
canreinvite=no
context=from-pstn
dtmfmode=rfc2833
registar_server=sip.broadvoice.com
fromuser=7029976302
host=sip.broadvoice.com
insecure=very
nat=yes
secret=PPPPPPPPP
type=peer
auth_id=7029976302
--

Scott

aka "Skyking"



j3r3my
Posts: 2
Member Since:
2010-02-14
Works

Thank you.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
I assume that worked?

I assume that worked?

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.