´´´ # ------------------------- 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