[Asterisk-Users] asterisk with broadvoice

synrat synrat at wirewalk.org
Sun Nov 13 11:59:49 MST 2005


freebsd 5.4, asterisk-1.0.9_2, broadvoice byod plan.

I can't get this all working together. I followed the instructions on BV
website to the letter and tried every other combination I could think
of, but for incoming calls I only get
BV's message

"The party you're trying to reach is busy and can not take your call."

and outgoing calls only get the busy signal, when dialing any standard
land/cell number.

"sip show peers" shows

sip.broadvoice.  147.135.20.128           A  255.255.255.255  5060
OK (53 ms)

My settings are as follows.


sip.conf
--------------
pedantic=no

register =>
5164670254 at sip.broadvoice.com:mypassword:5164670254 at sip.broadvoice.com/601

[sip.broadvoice.com]
type = peer
host = sip.broadvoice.com
secret = mypassword
;user=phone ; tried both
;user= 5164670254; of these settings
fromuser = 5164670254
username= 5164670254
authname= 5164670254
fromdomain = sip.broadvoice.com
context = context
insecure=very
canreinvite = no
dtmfmode = inband
dtmf=inband
permit = 147.135.20.128/32 ; tried without this as well.
qualify=yes


extensions.conf
-----------
[default]
exten => _1NXXNXXXXXX,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten => _1NXXNXXXXXX,2,congestion()
exten => _1NXXNXXXXXX,102,busy()

[context]
exten => s,1,Dial(SIP/601,60,tr)
exten => s,2,hangup

---------------------------------

exten. 601 is defined in sip.conf as well and works fine internally,
in another context.

/etc/hosts has
147.135.20.128          sip.broadvoice.com

pf settings

# SIP (TCP)
voip_tcp = "5060"
# SIP, IAX2, IAX, RTP, MGCP (UDP)
voip_udp = "{5060, 4569, 5036, 9999 >< 20001, 2727}"

pass in on $ext_if inet proto tcp from any to any port $voip_tcp flags
S/SA keep state
pass out on $ext_if inet proto { tcp, icmp, gre } all flags S/SA keep state
pass in on $ext_if inet proto udp from any to any port $voip_udp keep state
pass out on $ext_if proto udp all keep state


thanx a lot in advance.






More information about the asterisk-users mailing list