[OpenSER-Users] Problem with asterisk authenticating on invite

toly hippo_big at hotmail.com
Tue Jul 1 13:50:24 CEST 2008


how about add asterisk ip into trusted table and then 

if ( is_trusted() ) {
   ....
}



Bogdan-Andrei Iancu wrote:
> 
> Hi Stagg,
> 
> For INVITEs, use proxy_challenge() + proxy_authorize() functions and not 
> the www_xxxxxxx() functions.
> 
> Regards,
> Bogdan
> 
> Stagg Shelton wrote:
>> I've been trying to work through openser successfully authenticating a  
>> user on an INVITE.  I've tried using www_challenge and  
>> proxy_challenge.  Each time, OpenSER will respond to the INVITE with  
>> the appropriate Authentication header depending on what I'm using, and  
>> asterisk will resend the INVITE with the Digest credentials.  I've  
>> determined that OpenSER returns a -5 when processing either  
>> www_authorize or proxy_authorize and the INVITE has the Digest  
>> credentials.
>>
>> The authentication seems to work just fine when asterisk Registers to  
>> openser.  Are there any known issues with asterisk authenticating  
>> during an INVITE?  I would prefer to do it this way in case the PBX  
>> loses its primary network connectivity and is failing to a secondary  
>> route, or some other reason that would cause the IP address to change.
>>
>> I am currently using OpenSER 1.3.1
>>
>> Thank You
>> Stagg Shelton 
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>   
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-asterisk-authenticating-on-invite-tp18188025p18214135.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.





More information about the sr-users mailing list