[OpenSIPS-Users] ERROR:uac:replace_uri:

Nick Cameo symack at gmail.com
Wed Dec 11 18:54:40 CET 2013


I believe that I was not testing for initial invite, and it was trying to
change from in subsequent routes:

 if (is_method("INVITE") && !has_totag()) {
                switch($rd) {
                        # Prefix added to TO Header (Non RFC Standard)
                        case "Supplier IP":
                                uac_replace_to("", "$ru");
                                break;
                }
}

Correct me if I am wrong, otherwise I hope this helps someone in the future.
Also, do we need to "unchage" the TO Header somewhere else? In reply
maybe? Or is that what "auto" is referring to.

Kind Regards,

Nick.



More information about the Users mailing list