Cant register multiple SIP Lines: see attached file


#1

This is a TrixBox/Asterisk@Home server; sip_additional.conf

register=797xxxx:xxxx@sip.mainevoip.net

[201]
username=201
type=friend
secret=1234
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5060
nat=never
mailbox=201@device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=Tim <201>

[202]
username=202
type=friend
secret=1234
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5060
nat=never
mailbox=202@device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=Soft Phone <202>

[sip.mainevoip.net]
username=797xxxx
user=797xxxx
type=friend
insecure=very
host=sip.mainevoip.net
fromdomain=mainevoip.net
context=from-pstn
nat=yes

[VoiP Line 1]
username=797xxxx
type=peer
secret=tryvoip
host=sip.mainevoip.net
fromuser=797xxxx
fromdomain=mainevoip.net
context=from-mainevoip
canreinvite=no
nat=yes

[VoiP Line 2]
username=797xxxx
type=peer
secret=xxxx
host=sip.mainevoip.net
fromuser=797xxxx
fromdomain=mainevoip.net
context=from-mainevoip
canreinvite=no
nat=yes