[Serusers] Rewriting a "+" to 00 in a sip URL

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Fri Nov 5 11:51:34 CET 2004


if (uri=~"sip:+") {
    strip(1);
    prefix("00");
}

bogdan

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