<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
The registrant module is to be used only for generating REGISTER
requests ( with auth included ).<br>
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.<br>
<br>
[1] <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/uac_auth.html">http://www.opensips.org/html/docs/modules/1.11.x/uac_auth.html</a><br>
[2]
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/uac.html#id250288">http://www.opensips.org/html/docs/modules/1.11.x/uac.html#id250288</a><br>
<br>
Best Regards<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
On 24.02.2014 17:33, Stefano Pisani wrote:<br>
</div>
<blockquote cite="mid:530B664C.5090105@omnianet.it" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">You can use module UAC_AUTH<br>
<br>
Il 24/02/2014 16.18, Diego Barberio ha scritto:<br>
</div>
<blockquote
cite="mid:CABKsyb4MmrGpLJ+BTtxf_VNPS5SWpZjFHohn7iRgHA6wB7ueqA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi all,<br>
<br>
</div>
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. <br>
<br>
</div>
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.<br>
<br>
</div>
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?<br>
<br>
</div>
Thanks<br>
Diego<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>