R: [OpenSER-Users] Manipulation of the From header username

Tobias Lindgren tobias.lindgren at ip-only.se
Mon Oct 22 13:07:58 CEST 2007


Hi Michele,

you should be able to do this with the "Textops"-module in OpenSER:
http://www.openser.org/docs/modules/1.2.x/textops.html

Take a closer look at the "subst"-function, there's an example with the
"To"-header.

Br,
/Tobias

malmic at alice.it said the following on 2007-10-22 11:16:
>  
> I appreciate all the discussion about this thread but there is someone
> that can help me how to strip the first digit "0" from the username from
> header (I have learnt that is safe to make it).
> Thx again
> Michele
> ------------------------------------------------------------------------
> *Da:* users-bounces at openser.org per conto di malmic at alice.it
> *Inviato:* ven 19/10/2007 10.05
> *A:* users at openser.org
> *Oggetto:* [OpenSER-Users] Manipulation of the >From header username
> 
> Hello there,
>  
> I need to strip away the first digit "0" from the username of the Header
> From on an incoming INVITE message.I had already used the
> uac_replace_from when adding digits to the from field on outgoing INVITE
> but stripping a digit seems harder for me.
> Can somebody help me?
>  
> Thx
>  
> Michele
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users




More information about the sr-users mailing list