Hello, not sure I understand properly, but it seems you want to send a response (404) to caller, but the caller hasn't sent any request. Even you would be able to do that, is useless, the caller won't do anything with it.
Again, might be my misunderstanding, so re-phrase if you meant something else. Cheers, Daniel On 28/03/16 22:23, Humberto H wrote: > 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; > } > > > _______________________________________________ > 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 -- Daniel-Constantin Mierla http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
_______________________________________________ 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