[OpenSIPS-Users] Modify a URI
stefano.pisani at omnianet.it
Wed Feb 23 19:35:05 CET 2011
You can do that in several ways.
A simple way could be:
$ru = "sip:12345#" + $rU + "@" + $rd
other ways are possible
Il 23/02/2011 19:31, Brian Artigas ha scritto:
> Can anyone give me a code example how I would take a URI and inject a
> string between the sip: and the actual number. I found the
> rewriteuri() function but cannot find any code examples on how to use it.
> For instance take the request URI:
> sip:5615551212 at 111.222.333.444
> And change it to:
> sip:12345#5615551212 at 111.222.333.444
> Thanks in advance,
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users