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:[EMAIL PROTECTED]/1000
Unfortunately, this is not working.
When I call into my box I hear busy tone.
My config looks like this:

[EMAIL PROTECTED] 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:[EMAIL PROTECTED]
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








_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to