[Kamailio-Users] removal of tag-param in To Header

Klaus Darilion klaus.mailinglists at pernau.at
Wed Apr 1 13:24:20 CEST 2009


sasirekha jaganathan wrote:
> Hi ,
>   Can anyone point me to the function used to remove a tag in To Header 
> field.
> For ex: To:sss at sss.com;tag=09888
> 
> In this case how to remove the tag param.


There is no dedicated function. You can use the functions from textops 
module to replace the tag (using regular expressions) (make sure to not 
remove the \r at the end of the line)

regards
klaus



More information about the Users mailing list