[OpenSER-Users] Problem with asterisk authenticating on invite

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jun 30 10:21:01 CEST 2008


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
>
>   





More information about the sr-users mailing list