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
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers