[Serusers] forwarding to gw doubt
Vitor Brasileiro
vitorbrasileiromail at yahoo.com.br
Fri Dec 17 03:41:24 CET 2004
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20041217/fb1a4810/attachment.htm>
More information about the sr-users
mailing list