freeswitchforum.com
https://freeswitchforum.com/

step by step guide for setup tls and srtp on freeswitch
https://freeswitchforum.com/viewtopic.php?f=5&t=640
Страница 1 из 1

Автор:  behesht [ 30 мар 2016 14:21 ]
Заголовок сообщения:  step by step guide for setup tls and srtp on freeswitch

hi
any body can help me to
setup tls and srtp on freeswitch 1.6
please

Автор:  Vlad1983 [ 30 мар 2016 16:05 ]
Заголовок сообщения:  Re: step by step guide for setup tls and srtp on freeswitch

Код:
cat self.crt self.key > /usr/local/freeswitch/certs/agent.pem
cat ca.crt > /usr/local/freeswitch/certs/cafile.pem

Cert and Key are all contained in a single file in this order:
Код:
-----BEGIN CERTIFICATE-----
<cert>
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
<key>
-----END RSA PRIVATE KEY-----

in internal.xml and external.xml
Код:
<param name="tls-cert-dir" value="/usr/local/freeswitch/certs"/>

in vars.xml:
Код:
<X-PRE-PROCESS cmd="set" data="internal_ssl_enable=true"/>
<X-PRE-PROCESS cmd="set" data="external_ssl_enable=true"/>

Автор:  behesht [ 04 апр 2016 21:55 ]
Заголовок сообщения:  Re: step by step guide for setup tls and srtp on freeswitch

thanks for the tls
how about srtp ??
could you please help me?

Автор:  Vlad1983 [ 04 апр 2016 22:35 ]
Заголовок сообщения:  Re: step by step guide for setup tls and srtp on freeswitch

add rtp_secure_media in dial-string
Код:
<param name="dial-string" value="{rtp_secure_media=${regex(${sofia_contact(*/${dialed_user})}|transport=tls)},presence_id=*/${dialed_user}@${dialed_domain}}${sofia_contact(*/${dialed_user})}"/>

Автор:  behesht [ 05 апр 2016 00:34 ]
Заголовок сообщения:  Re: step by step guide for setup tls and srtp on freeswitch

i install fusion pbx and freeswitch 1.6 ,


root@debian:/home/fv# ls /usr/local/freeswitch/conf/dialplan/
192.168.183.137.xml empty.xml public.xml.noload
default features.xml.noload skinny-patterns
default.xml.noload public


ls /usr/local/freeswitch/conf/directory/
default default.xml.noload empty.xml


root@debian:/home/fv# ls /usr/local/freeswitch/conf/directory/default
brian.xml.noload example.com.xml.noload
default.xml.noload skinny-example.xml.noload
root@debian:/home/fv#

exactly in which file shoud i add dial-string param to

thanks in advance

Автор:  Vlad1983 [ 05 апр 2016 08:02 ]
Заголовок сообщения:  Re: step by step guide for setup tls and srtp on freeswitch

Find a fusionpbx transmits FreeSwitch user profiles.
Most likely through mod_lua or mod_xml_curl.

Страница 1 из 1 Часовой пояс: UTC + 4 часа
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/