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@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users