Hello Bogdan, Thanks for the reply. I've already implemented my static routing in a different way, as follows:
# account only INVITEs if (is_method("INVITE")) { setflag(1); # do accounting if (uri=~"^sip:56[0-9][0...@.*") { rewritehostport("150.217.4.23:5060"); route(1); return; } Because the incoming requested uri was 5...@ip_address_proxy, i perform the check . Then set the correct host destination with rewritehost, setting the host of the Pbx where the users 56XX were registered. The implementation works fine, what do you think about it? Regards, Andrea -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Re-Static-Routes-in-OpenSIPS-proxy-tp5663203p5751151.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users