[Freeswitch-users] TLS support on debian lenny

Mark Campbell-Smith mcampbellsmith at gmail.com
Mon Nov 16 19:15:35 PST 2009


I installed libcurl4-openssl-dev, but this automatically removed
libcurl4-gnutls-dev, which is required by mod_dingaling.  Now
mod_dingaling fails to build with:
Compiling mod_dingaling.c ...
mod_dingaling.c:309:78: error: macro
"switch_odbc_handle_callback_exec" requires 5 arguments, but only 4
given
mod_dingaling.c: In function ‘mdl_execute_sql_callback’:
mod_dingaling.c:309: error: ‘switch_odbc_handle_callback_exec’
undeclared (first use in this function)
mod_dingaling.c:309: error: (Each undeclared identifier is reported only once
mod_dingaling.c:309: error: for each function it appears in.)
make[6]: *** [mod_dingaling.lo] Error 1

Anyone know which package should be installed so that TLS works on Debian?

On Tue, Nov 17, 2009 at 10:05 AM, Mark Campbell-Smith
<mcampbellsmith at gmail.com> wrote:
> Hi!
>
> I am trying to enable SSL support in FS.  I have followed the wiki at
> http://wiki.freeswitch.org/wiki/SIP_TLS
>
> I already had libssl-dev installed, so I thought support should
> already have been compiled into FS, however enabling
> Internal_ssl_enable=true in vars.xml results in FS internal profile to
> not start:
>
> 2009-11-17 09:31:48.593240 [NOTICE] sofia.c:3016 Started Profile
> internal [sofia_reg_internal]
> 2009-11-17 09:31:48.907740 [ERR] sofia.c:1006 Error Creating SIP UA
> for profile: internal
>
> Checking freeswitch/libs/sofia-sip/config.log I see the following,
> which I assume means TLS has not been compiled with support:
> configure:27892: checking openssl/tls1.h usability
> configure:27909: gcc -c  -DSU_DEBUG=0 -g -ggdb  conftest.c >&5
> conftest.c:156:26: error: openssl/tls1.h: No such file or directory
>
> What package should I have installed prior to compiling FS on debian?
> There is no OpenSSL-Dev.  Is it libcurl4-openssl-dev?
>
> Thanks
>




More information about the FreeSWITCH-users mailing list