TLS support on debian lenny
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
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@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
Mark update and try again... we did some changes to the core odbc stuff today and waiting on the dust to settle. Thanks, Brian On Nov 16, 2009, at 9:15 PM, Mark Campbell-Smith wrote:
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@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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- users http://www.freeswitch.org
participants (2)
-
Brian West
-
Mark Campbell-Smith