<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
can you set the debug=4 and then also use debugger module with cfg
trace enabled (see the readme of the debugger module), then run a
test, look at syslog messages to see what happens. Log emssages
should be in /var/log/syslog or /var/log/messages.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 12/02/16 10:20, Andrew Tan wrote:<br>
</div>
<blockquote
cite="mid:CAJ4KJRgDvp5d9nyFpPUf0n_zPtLKfQhi1-FVzs7eGtvA7R_ozQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>Submit a ticket in GitHub apologize about that I should
have sent my question here. </div>
<div>I would like some help in configuring the uac module to
route to an gateway without specifically setting the
URI-domain from the UAC. I would like to set change it in the
Kamailio side.</div>
<div><br>
</div>
<div>Currently I use uac_auth on failure route. All is working
if I set the URI from on the client to <a
moz-do-not-send="true" href="mailto:xxx@gatewayaddress.com"><a class="moz-txt-link-abbreviated" href="mailto:xxx@gatewayaddress.com">xxx@gatewayaddress.com</a></a>.
But if I just dial just the number as is which translate to <a
moz-do-not-send="true" href="mailto:xxx@kamailioserver.com"><a class="moz-txt-link-abbreviated" href="mailto:xxx@kamailioserver.com">xxx@kamailioserver.com</a></a>
the invite doesnt go anywhere. </div>
<div><br>
</div>
<div><br>
</div>
<div>My failure route is like so</div>
<div><br>
</div>
<div>
<div>failure_route[MANAGE_FAILURE] {</div>
<div><br>
</div>
<div> xlog("DEBUG: MANAGE FAILURE ROUTE: ");</div>
<div><br>
</div>
<div> if ($T_reply_code == "407") # there's also 401</div>
<div> {</div>
<div><br>
</div>
<div> $avp(arealm) = GATEWAY;</div>
<div> $avp(auser) = USERNAME;</div>
<div> $avp(apass) = PASSWORD;</div>
<div> </div>
<div><br>
</div>
<div> #$ru = "sip:" + $rU + "@" +
$sel(cfg_get.pstn.gw_ip) + ":" + $sel(cfg_get.pstn.gw_port);</div>
<div> #rewritehost("<a moz-do-not-send="true"
href="http://sip.ca.didlogic.net">sip.ca.didlogic.net</a>");</div>
<div><br>
</div>
<div> uac_auth();</div>
<div> </div>
<div> rtpengine_offer("force trust-address
replace-origin replace-session-connection ICE=remove
RTP/AVP");</div>
<div> route(NATMANAGE);</div>
<div> route(RELAY);</div>
<div> exit;</div>
<div> }</div>
<div>}</div>
</div>
<div><br>
</div>
<div>Thank you</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
</body>
</html>