[Serusers]How to remove sip header field?

Jan Janak jan at iptel.org
Sun Nov 26 18:35:52 CET 2006


You can use remove_hf function to remove any header fields.

   Jan.

Ren-Huang Liou wrote:
> Dear all,
> 
> I already know that there is a “remove_hf_f” function in the textops
> module.
> 
> I can use this function to remove sip header fields which are supported
> by SER such as “From”, “To”, and “Expires” header fields, but it can’t
> remove sip header fields which are not support by SER such as
> “SIP-If-Match” and “SIP-ETag”.
> 
> When I use “sl_send_reply” function to build and send sip response, this
> response contains some sip headers field which I don’t like.
> 
> How can I remove unnecessary header fields?
> 
> Thanks a lot,
> Ren-Huang Liou
> 
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 




More information about the sr-users mailing list