Hello,
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.
Cheers, Daniel
On 12/02/16 10:20, Andrew Tan wrote:
Hello,
Submit a ticket in GitHub apologize about that I should have sent my question here. 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.
Currently I use uac_auth on failure route. All is working if I set the URI from on the client to xxx@gatewayaddress.com mailto:xxx@gatewayaddress.com. But if I just dial just the number as is which translate to xxx@kamailioserver.com mailto:xxx@kamailioserver.com the invite doesnt go anywhere.
My failure route is like so
failure_route[MANAGE_FAILURE] {
xlog("DEBUG: MANAGE FAILURE ROUTE: ");
if ($T_reply_code == "407") # there's also 401 {
$avp(arealm) = GATEWAY; $avp(auser) = USERNAME; $avp(apass) = PASSWORD; #$ru = "sip:" + $rU + "@" + $sel(cfg_get.pstn.gw_ip) + ":" +
$sel(cfg_get.pstn.gw_port); #rewritehost("sip.ca.didlogic.net http://sip.ca.didlogic.net");
uac_auth(); rtpengine_offer("force trust-address replace-origin
replace-session-connection ICE=remove RTP/AVP"); route(NATMANAGE); route(RELAY); exit; } }
Thank you
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users