[sr-dev] [kamailio/kamailio] filter_body() fails when there isn't a space after "Content-Type:" (#2748)

duarterocha91 notifications at github.com
Tue Jun 15 12:41:12 CEST 2021


Hi Daniel,

Thanks for the update. Altough there are no errors in the log now, the filtering is still failing.

I'm using this code : 

`request_route {  
    
    xerr("Before filter_body");
    if (filter_body("application/sdp")) { xerr("Filtered with sucess"); }
    else { xerr("Filtering failed");}`

I get the "Filtering failed" log and when i check the pcaps, the ISUP is still there.

Let me know if there is any more info i can share to help fix the issue.

Cheers

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2748#issuecomment-861391892
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210615/176a21d9/attachment.htm>


More information about the sr-dev mailing list