[OpenSIPS-Users] passing auth credentials using opensips B2B modules

Ovidiu Sas osas at voipembedded.com
Sat Jul 2 15:42:38 CEST 2011


Try adding your extra headers to the "cusotm_headers" parameter:
http://www.opensips.org/html/docs/modules/devel/b2b_logic.html#id250014

Regards,
Ovidiu Sas

On Sat, Jul 2, 2011 at 5:46 AM, Jayesh Nambiar <jayesh.voip at gmail.com> wrote:
> Hi All,
> I have a following situtation:
> Sip-Endpoint --> Opensips B2B (with REFER scenario) --> Opensips Proxy(Using
> Proxy Authorize for Authentication) --> PSTN Gateway
> I need the "B2B Opensips" in between so that it can handle the REFER
> requests properly. The problem is that the "Proxy Opensips" responds back as
> 407 with Proxy-Authenticate header along with the realm and nonce value; but
> the "B2B Opensips" would only send the 407 response to the Endpoint without
> any Proxy-Authenticate header. Thus the call fails. I cannot authorize the
> Sip-Endpoint on the "B2B Opensips" because of the limitations of my
> architecture.
> What I need is, the 407 response gets back to the Sip-Endpoint transparently
> and the response to the same also reaches the "Proxy Opensips" properly, so
> that the proxy authorization becomes successful and the call can go through
> properly.
> Is there something that can be done on the b2b_response route? Any pointers
> or directions in achieving this will be very helpful !!
> Thanks in advance.
> --- Jayesh
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>



More information about the Users mailing list