Hello,

The registrant module is to be used only for generating REGISTER requests ( with auth included ). For proxied calls, you need to use the uac and uac_auth modules ( [1] ) for adding the auth headers - call uac_auth() ( [2] ) function within failure route when receiving a challenge.

[1] http://www.opensips.org/html/docs/modules/1.11.x/uac_auth.html
[2] http://www.opensips.org/html/docs/modules/1.11.x/uac.html#id250288

Best Regards

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

On 24.02.2014 17:33, Stefano Pisani wrote:
You can use module UAC_AUTH

Il 24/02/2014 16.18, Diego Barberio ha scritto:
Hi all,

I have opensips registered to an IP-PBX using registrant module and I want to make an outbound call to that PBX through the proxy.

I'm sending and INVITE from my application to the proxy with a From that is actually registered by the proxy, however OpenSIPs is not adding the Proxy-Authorization header so the INVITE is rejected with a 401 Unauthorized and that response is forwarded to my application.

I just want opensips to add the Proxy-Authorization header so the call is not rejected by the IP-PBX. Is it possible to achieve this?

Thanks
Diego


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to