I just wonder if we can set [media_encryption] to auto dtls?
The case is to enable the same extension to work on WebRTC or just normal softphone, so if I set it to “dls”, the softphone endpoint sends “488 not acceptable here”.
However, how can I configure endpoint to work on WebRTC and normal softphone at the same time?
I totally agree with you, but as appear here when I tried to send AMI action to get pjsipendpoint from Grandstream PBX I found this configuration, btw their endpoints have ability to run on WebRTC and normal softphones at same time. so how is that possible?
Or you could use a proxy with RTPEngine. Connecting via the proxy WSS would transcode the media and drop the ICE, while connection directly would just use regular RTP media. Everything else stays the same.