Hi list,
 
I have a doubt about SER forwarding to GW.
Using the rule below, everything works the way it should work:
 
if(uri=~"^sip:55.*"){
    strip(2);
    prefix("55");
    rewritehost("1.2.3.4");
} else {
    sl_send_reply("404", "Not Found");
    break;
};
 
But if I change for the rule below, my SIP client receives a 503 (Service Unavailable) message:
 
if(uri=~"^sip:055.*"){
    strip(3);
    prefix("55");
    rewritehost("1.2.3.4");
} else {
    sl_send_reply("404", "Not Found");
    break;
};
 
 
Nbody can help me?
 
 
Thanks,
Vitor Brasileiro.