Hello,
On 10/19/07 17:04, Tobias Lindgren wrote:
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?
not recommended as some UAs use it to identify the dialog, but some time you are forced by the business you offer, In that case you should take care to restore it in the messages going opposite direction.
Daniel
Br, /Tobias
Daniel-Constantin Mierla said the following on 2007-10-19 14:41:
Hello,
On 10/19/07 11:05, malmic@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_l...
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