Hello 

I am trying to send 404 to the caller instead of BYE. Using the configuration showned bellow. when the callee send BYE 

Kamailio sends  -- 404 to the callee (to the source of the BYE signaling)
                          --- and BYE to the caller 

But I need to send  404 response to the caller only

Thanks in advance 


event_route[dialog:end] {
if(is_method("BYE") && ((src_ip==XXXXXXX) )){ 
send_reply("404", "Not found");
xlog("L_INFO","ENVIO 404 ON BYE \n");
}
exit;
}