|Summary:||ASTERISK-01997: sip.conf type=peer not distinguishing hostname with type=user|
|Date Opened:||2004-07-12 14:32:21||Date Closed:||2011-06-07 14:05:16|
|Description:||I have the following in sip.conf :|
When an inbound call is received from host 10.1.1.1, Asterisk tries to authenticate the call against the [outbound] peer rather than the [inbound] user. This results in a 403 Unauthorized message. If I comment out the [outbound] peer, then the inbound call goes into the correct extension "from-sip"
Anyone else see this behavior? Previous versions of CVS from March 2004 (my last build) do not exhibit this behavior.
****** ADDITIONAL INFORMATION ******
|Comments:||By: Mark Spencer (markster) 2004-07-12 15:47:57|
This is not a bug. Users are authenticated against From: and peers by the calling party. SIP lacks a clear differentiation of callerid and authentication, so generally speaking the "user" concept cannot be strongly used. I recommend using sip peers for both directions. You might also want to follow ASTERISK-1991 which is trying to properly document the meanings of user and peer in sip.conf.