How to set [media_encryption] auto

Hello Dears,

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?

Thanks in advane.

There is no support for that, and WebRTC configuration is incompatible with normal softphone, and vice versa. You have to use separate endpoints.

image

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?

I can’t speak for what Grandstream has done.

I know that :), but do you have any idea how to reach the final result to run WebRTC with normal endpoint at the same time?

Asterisk as provided by the project doesn’t support it, the code doesn’t exist. How it would work would need to be defined and then implemented.

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.

Yes, if you don’t do WebRTC directly in Asterisk and something outside handles it then it would just appear as a regular endpoint.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.