<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
If you follow the thread, you will see that I was using :<br>
<br>
if (has_totag()) {<br>
if (loose_route()) {<br>
if (is_method("BYE")) {<br>
xlog("L_NOTICE", "------------------> LOOSE route");<br>
if (!t_relay()) <br>
{<br>
sl_reply_error();<br>
}<br>
exit;<br>
}<br>
}<br>
}<br>
<br>
<br>
and not<br>
<pre wrap=""> if(has_totag()){
if(is_method("BYE")){
xlog("L_NOTICE", "------------------> LOOSE route");
}
t_relay(); #relay all in-dialog messages (also BYEs)
exit;
}
</pre>
Wich was proposed by another user...<br>
<br>
<br>
Anyway, using that, I get :<br>
<br>
Nov 4 18:48:37 localhost /usr/local/sbin/kamailio[30514]:
------------------> LOOSE route<br>
Nov 4 18:48:38 localhost /usr/local/sbin/kamailio[30511]:
------------------> LOOSE route<br>
Nov 4 18:48:40 localhost /usr/local/sbin/kamailio[30514]:
------------------> LOOSE route<br>
Nov 4 18:48:44 localhost /usr/local/sbin/kamailio[30511]:
ERROR:core:udp_send: sendto(sock,0xa2b359d0,65564,0,0xa2af4484,16):
Message too long(90) <br>
Nov 4 18:48:44 localhost /usr/local/sbin/kamailio[30511]:
ERROR:tm:msg_send: udp_send failed <br>
Nov 4 18:48:44 localhost /usr/local/sbin/kamailio[30511]:
ERROR:tm:t_forward_nonack: sending request failed <br>
Nov 4 18:48:44 localhost /usr/local/sbin/kamailio[30516]:
------------------> LOOSE route<br>
Nov 4 18:48:48 localhost /usr/local/sbin/kamailio[30513]:
------------------> LOOSE route<br>
Nov 4 18:48:50 localhost /usr/local/sbin/kamailio[30513]:
------------------> LOOSE route<br>
Nov 4 18:48:52 localhost /usr/local/sbin/kamailio[30512]:
------------------> LOOSE route<br>
<br>
<br>
<br>
<br>
and so on...<br>
<br>
Then, using Loose-route doesn't help.<br>
<br>
I am sure I made a mistake somewhere, but I don't know where.<br>
<br>
In the previous mail you will find my full CFG<br>
<br>
kind regards,<br>
<br>
Olivier<br>
<br>
Iñaki Baz Castillo a écrit :
<blockquote cite="mid:200911041637.04869.ibc@aliax.net" type="cite">
<pre wrap="">El Miércoles, 4 de Noviembre de 2009, <a class="moz-txt-link-abbreviated" href="mailto:olivier.taylor@gmail.com">olivier.taylor@gmail.com</a> escribió:
</pre>
<blockquote type="cite">
<pre wrap=""> dear Iñaki
I have a server up and running at this time, my only problem is when I use
uac_replace_from and receive a Bye from the callee. That's for another
server.
The default config doesn't help for that, or maybe I am stupid, that's
another possibility :)
</pre>
</blockquote>
<pre wrap=""><!---->
Your code is not correct:
if(has_totag()){
if(is_method("BYE")){
xlog("L_NOTICE", "------------------> LOOSE route");
}
t_relay(); #relay all in-dialog messages (also BYEs)
exit;
}
You must use loose_route() before the t_relay(). If not the Route header are
not removed so you get a loop. This is well explained in the default config
file.
</pre>
<blockquote type="cite">
<pre wrap=""> your message is very helpfull, thanks,
</pre>
</blockquote>
<pre wrap=""><!---->
Thanks.
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>