[asterisk-users] Domain Authentication - Caller ID Failed to authenticate
Joseph
syscon780 at gmail.com
Sun Feb 14 00:56:40 CST 2010
I'm having problem passing Caller ID to asterisk from AudioCodes MP-114 (FXO)
AudioCodes is passing the caller ID to Asterisk but Asterisk is trying to interpret it as authentication:
[Dec 31 11:41:07] WARNING[9752]: chan_sip.c:8553 check_auth: username mismatch, have <pstn-5665>, digest has <pstn-1270>
[Dec 31 11:41:07] NOTICE[9752]: chan_sip.c:14316 handle_request_invite: Failed to authenticate user "KMIEC Z" <sip:7804715665 at 10.0.0.157>;tag=1c354211286
Mr. Fleming from Digium indicated that Asterisk does not fully support domain authentication yet, so the 'username' present in the From header is used for authentication *and*
Caller ID. That means that if you want proper Caller ID to be extracted from a SIP INVITE, you can't request authentication on that INVITE.
Configuring the in sip.conf
'insecure=invite' should solve the problem.
The above setting solve the problem on one of my system but I'm trying to configure almost identical system again and it does not work.
Sip.conf have same settings (both run save version of Asterisk)
Audiocodes BOARD.ini are almost identical (except IP addresses)
[pstn-9998]
type=friend
secret=xxx
username=fax-9998
mailbox=622
host=dynamic
insecure=invite
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
nat=no
context=fax-incoming
callgroup=1
pickupgroup=1
Why is "insecure=invite" working on one system but not on the other ???
--
Joseph
More information about the asterisk-users
mailing list