I’m really having issues with my multiple BroadVoice accounts. It seems that no matter what line a call comes in on, the channel (according to * and, by extension, the flash operator panel, is always the same line). DID routing, however, works just fine as one line goes directly to an extension instead of the main menu.
I’m running Asterisk@Home 1.5 with AMP upgraded to the 009 release.
Here’s part of what I’ve got in the sip_aditional.conf file (slightly censored so as to not give away account info; XXXXXX is the areacode and exchange for my numbers and YYYYYYYYYY is the password for the accounts):
[code]register=XXXXXX1026@sip.broadvoice.com:YYYYYYYYYY:XXXXXX1026@sip.broadvoice.com/XXXXXX1026
register=XXXXXX1027@sip.broadvoice.com:YYYYYYYYYY:XXXXXX1027@sip.broadvoice.com/XXXXXX1027
register=XXXXXX1028@sip.broadvoice.com:YYYYYYYYYY:XXXXXX1028@sip.broadvoice.com/XXXXXX1028
[XXXXXX1026]
username=XXXXXX1026
user=phone
type=peer
secret=YYYYYYYYYY
Qualify=yes
pedantic=no
nat=yes
insecure=very
host=sip.broadvoice.com
fromuser=XXXXXX1026
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
context=from-pstn
canreinvite=no
authname=XXXXXX1026
[XXXXXX1026_IN]
username=XXXXXX1026
user=XXXXXX1026
type=user
secret=YYYYYYYYYY
nat=yes
insecure=very
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
context=from-pstn
[XXXXXX1027]
username=XXXXXX1027
user=phone
type=peer
secret=YYYYYYYYYY
Qualify=yes
pedantic=no
nat=yes
insecure=very
host=sip.broadvoice.com
fromuser=XXXXXX1027
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
context=from-pstn
canreinvite=no
authname=XXXXXX1027
[XXXXXX1027_IN]
username=XXXXXX1027
user=XXXXXX1027
type=user
secret=YYYYYYYYYY
nat=yes
insecure=very
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
context=from-pstn
[XXXXXX1028]
username=XXXXXX1028
user=phone
type=peer
secret=YYYYYYYYYY
Qualify=yes
pedantic=no
nat=yes
insecure=very
host=sip.broadvoice.com
fromuser=XXXXXX1028
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
context=from-pstn
canreinvite=no
authname=XXXXXX1028
[XXXXXX1028_IN]
username=XXXXXX1028
user=XXXXXX1028
type=user
secret=YYYYYYYYYY
nat=yes
insecure=very
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
context=from-pstn[/code]
The above info I got from http://voipspeak.net/index.php?option=com_content&task=view&id=18 but I slightly modified it to “work” for my multiple lines.
Making an outgoing call selects the correct channel. But all incoming calls appear on “[XXXXXX1028]” and not the ones ending in “_IN” as I would have expected. I have duplicated this behavior on two systems here in my office (I have 6 broadvoice business accounts in total). Can anyone make any suggestions?[/url]