Hello,

On 10/19/07 11:05, [EMAIL PROTECTED] 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
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to