[Asterisk-Users] USING TWO ACCOUNTS WITH BROADVOICE
Bartosz Wegrzyn - asterisk
junk at lexoncom.com
Mon Sep 5 17:16:25 MST 2005
Hi,
I have two accounts with broadvoice.
Now, I want to be able to distinguish between them.
I though that this would be simple by adding "/EXTEN" at the end of the
register statement. For example:
register => num1:pass at sip.broadvoice.com/1000
Unfortunately, this is not working.
When I call into my box I hear busy tone.
My config looks like this:
[root at voip asterisk]# cat sip.conf
[general]
externip=mydomain
bindaddr = 0.0.0.0
port=5060
localnet=192.168.1.0/255.255.255.0
disallow=all
allow=ulaw
register => num1:pass at sip.broadvoice.com
register => num2:passsip.broadvoice.com
tos=0x18
srvlookup=yes
nat=never
insecure=yes
[sip.broadvoice.com]
type=peer
username=NUM1
fromuser=NUM1
authuser=NUM1
secret=SECRET
host=sip.broadvoice.com
context=sip
fromdomain=sip.broadvoice.com
canreinvite=no
nat=never
dtmfmode=inband
[sip.broadvoice.com.home]
type=peer
username=NUM2
fromuser=NUM2
authuser=NUM2
secret=SECRET
host=sip.broadvoice.com
context=sip
fromdomain=sip.broadvoice.com
canreinvite=no
nat=never
dtmfmode=inband
[broadvoice-incoming]
type=peer
host=147.135.8.128
context=from-broadvoice
qualify=yes
canreinvite=no
disallow=all
allow=ulaw
nat=never
[broadvoice-incoming2]
type=peer
host=147.135.0.128
context=from-broadvoice
qualify=yes
canreinvite=no
disallow=all
allow=ulaw
nat=never
[broadvoice-incoming3]
type=peer
host=147.135.4.128
context=from-broadvoice
qualify=yes
canreinvite=no
disallow=all
allow=ulaw
nat=never
In addition, I have this config in extensions.
[sip]
exten => 1000,1,Playback,welcome
Thanks in advance.
Bart
More information about the asterisk-users
mailing list