<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
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.<br>
<br>
Again, might be my misunderstanding, so re-phrase if you meant
something else.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 28/03/16 22:23, Humberto H wrote:<br>
</div>
<blockquote
cite="mid:CAJ3qx21ma6jmugtCtAB9yC5azAfAema8zCTz3HYguynFWOvWpg@mail.gmail.com"
type="cite">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>