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, [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 >> Users@openser.org >> http://openser.org/cgi-bin/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > Users@openser.org > http://openser.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users