[Serusers] Rewriting a "+" to 00 in a sip URL
Daniel-Constantin Mierla
Daniel-Constantin.Mierla at fokus.fraunhofer.de
Fri Nov 5 11:52:50 CET 2004
use strip() and prefix() functions (applicable for request uri) if it is
at the beginning of the uri. E.g.,
strip(1);
prefix("00");
Otherwise you can use subst_uri() from textops module.
Daniel
On 11/5/2004 11:48 AM, Sean Boran wrote:
> Hi,
>
> I'd like to do the above, before I forward on such urls to the PSTN
> gateway.
>
> Is it possible? When I read the ser docs I see examples on taking the
> URL apart into sections, or for forwarding, but I don't see how
> substitutiins can be done.
>
> Thanks in advance,
>
> Sean
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
More information about the sr-users
mailing list