Hello list !

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

This sip.conf :

register => user1:pass...@sip.itsp
register => user2:pass...@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:329990...@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.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to