<div dir="ltr"><div>Hello </div><div><br></div><div>I am trying to send 404 to the caller instead of BYE. Using the configuration showned bellow. when the callee send BYE </div><div><br></div><div>Kamailio sends  -- <b>404</b> to the callee (to the source of the BYE signaling)</div><div>                          --- and <b>BYE</b> to the caller </div><div><br></div><div>But I need to send  404 response to the caller only</div><div><br></div><div>Thanks in advance </div><div><br></div><div><br></div><div>event_route[dialog:end] {</div><div>if(is_method("BYE") && ((src_ip==XXXXXXX) )){ </div><div><span class="" style="white-space:pre">                     </span>send_reply("404", "Not found");</div><div><span class="" style="white-space:pre">                        </span>xlog("L_INFO","ENVIO 404 ON BYE \n");</div><div><span class="" style="white-space:pre">  </span>}</div><div>exit;</div><div><span class="" style="white-space:pre">      </span>}</div></div>