[Serusers] Rewriting URI's
Greg Fausak
greg at august.net
Tue Feb 10 17:41:02 CET 2004
This will rewrite the whole uri, but for pattern replacements
you might want to look at textops module.
---greg
Klaus Darilion wrote:
> http://iptel.org/ser/doc/seruser/seruser.html#URIREWRITING
>
> klaus
>
> Darren Nay wrote:
>
>> Hey Guys,
>>
>> Can anyone give me a quick answer on this?
>>
>> I need to rewrite the incoming and outgoing URI's in SER.
>>
>> For example. On incoming destination URI's, I need to be able to
>> strip all 1's off of the first of the destination phone number. How
>> would I do this?
>>
>> Also, on some outgoing URI's I would need to add a 1 back onto the
>> front of the destination number. I imagine that this would be done
>> similar to stripping them.
>>
>> Is there a function in a SER module that would allow me to do this?
>>
>> Thanks!
>> Darren Nay - dnay at libertyisp.com <mailto:dnay at libertyisp.com>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
More information about the sr-users
mailing list