Does anyone know the regular expression to replace the callerID name?
 
    from="Jane Doe" <sip:4445556666@10.0.1.1>
->
    from="John Doe" <sip:4445556666@10.0.1.1>
 
Obviously using an AVP with the subst-function.
( subst('/^(From|f):(.*)sip:............); )
 
Thanks,
Bjorn


From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of sip
Sent: Saturday, June 10, 2006 4:32 PM
To: Andy Thomas; serusers@lists.iptel.org
Cc: serusers-bounces@lists.iptel.org
Subject: Re: [Serusers] rewriting the >From URI

You still wouldn't really want to rewrite the from URI.... there's no need to. Just rewrite the RURI on its way out to the PSTN.

N.



On Sat, 10 Jun 2006 17:10:34 +0100, Andy Thomas wrote

> Does anyone know how to rewrite the From: URI for an incoming call?
> All the rewrite functions are for outgoing URI’s – i.e. local users, but I want to rewrite a URI that is incoming from the PSTN to one of those users.
>  
> This is so I can add a prefix to it, so that if you dial a missed call, the prefix is automatically there so it will go out to the PSTN
>  
>