[Freeswitch-users] Trying to get TLS/SRTP working

Rob Hutton justlikeef at gmail.com
Thu Jun 16 05:55:41 MSD 2011


What I have been able to figure out is that if I try to enable encryption on 
all of the interfaces defined on an IP, then freeswitch does not listen on the 
TLS port.  But if I enable it on only one of the interfaces, then it works.

On Tuesday 14 June 2011 14:01:20 Rob Hutton wrote:
> Trying to get TLS working.  When sofia loads, I see that it seems to accept
> the parameters:
> 
> http://pastebin.freeswitch.org/16487
> 
> But sofia status shows nothing running on the TLS ports:
>                      Name
> Type                                       Data      State
> ===========================================================================
> ====================== sipinterface_3       profile
> sip:mod_sofia at 192.168.2.25:5080      RUNNING (0)
>            sipinterface_2       profile
> sip:mod_sofia at 192.168.2.25:5070      RUNNING (0)
>              192.168.2.25         alias
> sipinterface_1      ALIASED
>            sipinterface_1       profile
> sip:mod_sofia at 192.168.2.25:5060      RUNNING (0)
>               voicemail_1         alias
> sipinterface_1      ALIASED
> ===========================================================================
> ====================== 3 profiles 2 aliases
> 
> 
> /usr/local/freeswitch/conf/ssl looks like:
> -rw-r--r-- 1 root root 3627 Jun 14 12:55 agent.pem
> -rw-r--r-- 1 root root 1996 Jun 14 13:04 cafile.pem
> 
> 
> Freeswitch is compiled with SSL support:
> 
> ldd freeswitch
>         linux-vdso.so.1 =>  (0x00007fff415ff000)
>         libm.so.6 => /lib64/libm.so.6 (0x00007fab636b8000)
>         libfreeswitch.so.1 => /usr/local/freeswitch/lib/libfreeswitch.so.1
> (0x00007fab632c1000)
>         libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fab630bc000)
>         librt.so.1 => /lib64/librt.so.1 (0x00007fab62eb3000)
>         libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fab62c78000)
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fab62a5b000)
>         libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007fab627ff000)
>         libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0
> (0x00007fab6244e000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fab6224a000)
>         libz.so.1 => /lib64/libz.so.1 (0x00007fab62032000)
>         libncurses.so.5 => /lib64/libncurses.so.5 (0x00007fab61ddd000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007fab61a70000)
>         libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fab61767000)
>         libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fab61551000)
>         libodbc.so.1 => /usr/lib64/libodbc.so.1 (0x00007fab612e5000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007fab6390f000)



More information about the FreeSWITCH-users mailing list