<div dir="ltr">Ok. I try  to include uac_auth() at my routes ( I include <br><br><div>modparam("uac","credential","username:domain:password")</div><div>modparam("uac","auth_realm_avp","$avp(i:10)")</div>
<div>modparam("uac","auth_username_avp","$avp(i:11)")</div><div>modparam("uac","auth_password_avp","$avp(i:12)")</div><br>). <br><br>As I read this function must be at failure_route but  my server indicates response with 401|407 status at onreply_route and never sends to failure route. How say to Kamailio to indicate response 401|407 as a failure?</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-15 18:19 GMT+04:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<div><div class="h5"><br>
<br>
On 15/08/14 00:24, Yuriy Gorlichenko wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello I use UAC module to register trunks to my providers. I've try to call to my provider. I send INVITE to my porvider and then It recieve me 407 reply "proxy authentication required".<br>
Offcourse I can handle this reply manualy (by adding headers throuch header_add) and add md5 summ, but I think it`s not write and harder for Kamailio.<br>
I find module or function at some module that  helps me send write INVITE with auth parameters as a reply ar 407 response of provider.<br>
</blockquote>
<br></div></div>
look at uac_auth() from same uac module -- read the readme, because there are limitations regarding the compliance with CSeq requirements in C.<br>
<br>
Cheers,<br>
Daniel<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Daniel-Constantin Mierla<br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Next Kamailio Advanced Trainings 2014 - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA<br>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</font></span></blockquote></div><br></div>