found out that prefix() and rewritehost() was what i wanted -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Rewrite-Request-uri-tp7590729p7590731.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com.