[OpenSER-Users] Manipulation of the From header username
Tobias Lindgren
tobias.lindgren at ip-only.se
Fri Oct 19 16:04:47 CEST 2007
Hi,
can I ask a question in regard to this thread. Is it valid according to
standards to alter the From-header in a SIP INVITE?
Br,
/Tobias
Daniel-Constantin Mierla said the following on 2007-10-19 14:41:
> Hello,
>
> On 10/19/07 11:05, malmic at alice.it wrote:
>> 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?
> you can use the substr transformation to get read of leading 0 in an
> avp/var, and then use the result in uac_replace_from.
> http://openser.org/dokuwiki/doku.php/transformations:1.2.x#s.substr_offset_length
>
> Cheers,
> Daniel
>>
>> Thx
>>
>> Michele
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
More information about the sr-users
mailing list