[SR-Users] How can I send 404 to the caller instead of BYE?
Humberto H
bucovey at gmail.com
Mon Mar 28 22:23:40 CEST 2016
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;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160328/9f734938/attachment.html>
More information about the sr-users
mailing list