[Kamailio-Users] Incoming T38 Public IP

Iñaki Baz Castillo ibc at aliax.net
Fri Mar 13 12:15:35 CET 2009


2009/3/13 michel freiha <michofr at gmail.com>:
> 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 at aliax.net>




More information about the sr-users mailing list