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@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@openser.org per conto di malmic@alice.it *Inviato:* ven 19/10/2007 10.05 *A:* users@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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users