SIP is a text protocol by default. Binary messages can be here only keepalive messages and etc. So it should not go to application layer of the client as it is a transport layer messages. Are you sure There is no other software between kamailio and client that creates a bridge between client and kamailio? 

On Thu, 6 Feb 2020, 12:37 Andre Pires dos Santos, <santos.andrepires@gmail.com> wrote:
Hello guys,

we are new to kamailio so sorry basic or wrong points.

We started using kamailio 5.3.2 and rtpengine as our sip to webrtc solution and SIP.js as webrtc client. We noticed that most of the times webrtc client receives UTF-8 messages. But sometimes webrtc client receives binary messages. When we get binary messages SIP.js cannot parse the message.

I couldn't find how to force kamailio to send only UTF-8 messages. Is it possible?

We have other issues but I think it will be better for the list to break other points in different messages.

Thanks!
Santos
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users