[sr-dev] [kamailio] nathelper: set_contact_alias is not applied (#445)

Olle E. Johansson notifications at github.com
Wed Dec 16 15:14:52 CET 2015


´´´
# -------------------------  request routing logic -------------------
request_route {
   xlog("L_INFO", "--> Incoming request: $rm from $si to $ru \n$mb\n");

   # Always try to fix contact alias if needed
   if(!set_contact_alias()) {
	sl_send_reply("400", "Contact alias failed");
	xlog("L_ERR", "---- Contact alias failed: $ct\n");
   }
   #msg_apply_changes();

   if(!t_relay()) {
      # Transaction failed, send stateless reply
      xlog("L_INFO", "   --> Transaction failed.  Sending error response. \n");
      sl_reply_error();
   }
   exit;
}

onsend_route
{
        xlog("L_INFO", " --->ONSEND from $sndfrom(ip) to $snd(ip) \n$mb\n---\n");
}
´´´

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/445#issuecomment-165119560
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151216/2723a4d4/attachment-0001.html>


More information about the sr-dev mailing list