[OpenSIPS-Users] Configure OpenSIPS to use USER based gateway
sagar malam
sagarmalam at gmail.com
Tue Apr 4 06:54:02 EDT 2017
Hello Bodgan,
Thanks for reply.
Do you use the uac_auth() (which add the Auth hdr) only from failure route,
right ?
Yes exactly.
Also , does your INVITE have any already populated Auth hdr (when received
by OpenSIPS) ?
No,we are adding it using uac_auth function.
On Tue, Apr 4, 2017 at 4:18 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:
> Hello,
>
> Do you use the uac_auth() (which add the Auth hdr) only from failure
> route, right ?
>
> Also , does your INVITE have any already populated Auth hdr (when received
> by OpenSIPS) ?
>
> Best regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> OpenSIPS Summit May 2017 Amsterdam
> http://www.opensips.org/events/Summit-2017Amsterdam.html
>
> On 04/03/2017 11:26 AM, sagar malam wrote:
>
> Hello,
>
> I am trying to configure OpenSIPS to support Username-password based
> authentication Gateway.
>
> Hence i am using uac_auth function to generated Authorization header
> before relaying INVITE packet to gateway.
>
> I am facing issue in removing old Authorization header and append new
> Authorization header in Failure route before trying next gateway.
>
> OpenSIPs is not detecting old Authorization headers but when i see sip
> trace ,headers are present.
>
>
> Script flow is something like this :
> request_route{
> select_gateway
> relay_route
> }
> relay_route{
> t_relay
> }
>
> failure_route{
> Remove old Authirization header
> on,407 or 401,Add Authorization header using uac_auth
> select_next gateway
> relay_route
> }
>
> In Users mailing list i read that headers added in request route cannot be
> removed later,hence i need to add headers during branch route but uac_auth
> function works only in failure route.
>
> Please help me on this.
>
> Thanks in advance
>
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170404/5215a683/attachment.html>
More information about the Users
mailing list