2009/3/13 michel freiha <michofr(a)gmail.com>om>:
Dear Inaki,
Thenaks agian for your responses and care...I did what you asked to
do...Just have a look please to the below:
It's wrong:
if(loose_route()){
t_on_reply("7");
if (is_method("INVITE")) {
t_on_failure("1");
t_on_reply("6");
^^^
This t_on_reply("6") is overriding the previous t_on_reply("7").
force_rtp_proxy();
t_relay();
}
}
And the onreply_route(7) will be:
onreply_route[7] {
if (status=~"200"){
t_on_failure("1");
t_on_reply("6");
^^^
You cannot use t_on_reply and t_on_failure in a onreply_route block.
force_rtp_proxy();
t_relay();
}
exit;
}
--
Iñaki Baz Castillo
<ibc(a)aliax.net>