[asterisk-users] 1 Asterisk server, multiple registrations to ITSP

jonas kellens jonas.kellens at telenet.be
Fri Jan 29 08:09:00 CST 2010


Hello list !

Having troubles with multiple registrations to one and the same ITSP.

This sip.conf :

register => user1:passwd1 at sip.ITSP
register => user2:passwd2 at sip.ITSP

; outgoing conversations
[user1-out]
type=peer
host=sip.ITSP
username=user1
secret=secret1
fromuser=user1
dtmfmode=rfc2833
canreinvite=no
qualify=yes
disallow=all
allow=alaw
allow=gsm
amaflags=documentation

; incoming conversations
[user1]
type=peer
host=sip.ITSP
context=user1incoming
disallow=all
allow=alaw
allow=gsm
qualify=yes
canreinvite=no
dtmfmode=rfc2833
amaflags=documentation

; outgoing conversations
[user2-out]
type=peer
host=sip.ITSP
username=user2
secret=secret2
fromuser=user2
dtmfmode=rfc2833
canreinvite=no
qualify=yes
disallow=all
allow=alaw
allow=gsm
amaflags=documentation

; incoming conversations
[user2]
type=peer
host=sip.ITSP
context=user2incoming
disallow=all
allow=alaw
allow=gsm
qualify=yes
canreinvite=no
dtmfmode=rfc2833
amaflags=documentation


If user1 is the only account, there is no problem. But if user2 is also
active, then the CLI shows :

[Jan 29 11:25:01] WARNING[1473]: chan_sip.c:8711 check_auth: username
mismatch, have <user2-out>, digest has <anonymous>
[Jan 29 11:25:01] NOTICE[1473]: chan_sip.c:14636 handle_request_invite:
Failed to authenticate user "329990102"
<sip:329990102 at ipITSP>;tag=f395ca81fc053ae2fd9b1c62

"329990102" is the number trying to contact me...

Is there something I need to do to distinguish between the 2 accounts
for incoming calls ?? Or does my ITSP need to send information with the
invite for the incoming call so I can distinguish ??


Thank you for your feedback.

Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100129/2c85ac86/attachment.htm 


More information about the asterisk-users mailing list