El Miércoles, 4 de Noviembre de 2009,
olivier.taylor(a)gmail.com escribió:
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 :)
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.
Thanks for the clearing, The code I shamelessly copy+pasted(and
modified) from the original code was just intended to show the removal
of the multiple t_relay(). Of couse the loose_route() should be present
there :) That was the whole point of the thread .
Sorry again for the time lost.
Marius.
your message
is very helpfull, thanks,
Thanks.
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users