[Fwd: Re: uac_replace_from again]

View: New views
1 Messages — Rating Filter:   Alert me  

[Fwd: Re: uac_replace_from again]

by Marius Zbihlei :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Forgot to forward to list

olivier.taylor@... wrote:

> If you follow the thread, you will see that I was using :
>
>    if (has_totag()) {
>        if (loose_route()) {
>            if (is_method("BYE")) {
>                xlog("L_NOTICE", "------------------>  LOOSE route");
>                 if (!t_relay())
>                 {
>                     sl_reply_error();
>                 }
>                exit;
>            }
>        }
>    }
I meant :
   if (has_totag()) {
       if (loose_route()) {
           if (is_method("BYE")) {
               xlog("L_NOTICE", "------------------>  LOOSE route");
             }
           if (!t_relay())
           {
                    sl_reply_error();
           }
           exit;  
       }
   }


Route ALL packets that are loose_route() not just BYEs

Hope this helps



_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users