E
E
Evil_Demon2015-06-18 15:01:24
FreeSWITCH
Evil_Demon, 2015-06-18 15:01:24

How to enable Srtp in FreeSWITCH?

I use a bunch of csipsimple and freeSWITCH. I wanted to enable encryption for now, without using tls, I activated the srtp mode in csipsimple. As a result, calls from a mobile subscriber can be made, but the reception does not work.
I rummaged through the wiki, found a somewhat vague description on https://wiki.freeswitch.org/wiki/SRTP
I tried to enter

<condition field="${sip_has_crypto}" expression="^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$" break="never">
       <action application="set" data="sip_secure_media=true"/>
       <action application="export" data="sip_secure_media=true"/>
     </condition>

- did not help.
Who can tell me what needs to be done in order to use SRTP normally in both directions?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2015-06-18
@SashaSkot

csipsimple - sometimes works crookedly. Try to check Zoiper

V
Vladimir, 2015-07-04
@rostel

topic covered here

D
Dmitry Tallmange, 2016-04-05
@p00h

Alexander followed your advice and tried Zoiper. He crashes the moment he plays Leg B and gets an invite from FS. And just CSipSimple works fine. However, in conjunction with the asterisk, the same Zoyper works. Someone solved this problem? Been fighting for a month now...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question