[OpenSIPS-Users] INVITE as a variable?
Alex Balashov
abalashov at evaristesys.com
Wed Jan 6 16:02:22 CET 2010
On the contrary, rewriting the Request URI (which is what I assume you
mean by "rewrite the number in the INVITE itself"), including the user
part of the Request URI (the part before the @), is one of the most
basic functions the proxy *can* perform.
See the pseudovariables $ru (and for the user part specifically, $rU, or
$rd for the domain and $rp for the port). They are mutable:
$rU = "39824234234";
$rd = "sip.biloxi.net";
-- Alex
On 01/06/2010 09:52 AM, Brad Bendy wrote:
> Hi list,
>
> Im trying to find a way to extract and the re-write the number in the
> INVITE itself, Mera and a few other switch manufacturers are all of a
> sudden are trying to route on INVITE and not the To field, when the
> INVITE has a prefix in it they fail to complete the call then. I can't
> seem to find any built in variables or way to do that, is it just not
> possible to rewrite the INVITE or am I missing something? It would seem
> pretty straight forward but no way to do this, am I just blind?
>
> Thanks for any help
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Alex Balashov - Principal
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
More information about the Users
mailing list