Hi, when using Dynamic routing, we call do_routing() to rewrite target URI, we 
can not do it on BYE / CANCEL / ACK ?
 
Is this a correct way to handle CANCEL, ACK and BYE when using Drouting ?
 
        ....
        if (is_method("CANCEL") || is_method("ACK")){
                if(t_check_trans()){
                        t_relay();
                }
                exit;
        }
        else if (is_method("BYE")){
                t_relay();
                exit;
        }
        else{
                if(!do_routing()) {
                sl_send_reply("503", "No destination available");
                exit;
                }
        }
        .....
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to