Internal profile startup fails if ssl/tls enabled
Hello, I enabled ssl in my FS installation. Here are few lines from my vars.xml: <!-- SIP and TLS settings. http://wiki.freeswitch.org/wiki/Tls --> <X-PRE-PROCESS cmd="set" data="sip_tls_version=tlsv1"/> <!-- Internal SIP Profile --> <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/> <X-PRE-PROCESS cmd="set" data="internal_sip_port=5060"/> <X-PRE-PROCESS cmd="set" data="internal_tls_port=5061"/> <X-PRE-PROCESS cmd="set" data="*internal_ssl_enable=true*"/> <X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/> Then I restarted my server and found the following errors: 2010-11-10 20:22:37.555517 [ERR] sofia.c:1446 Error Creating SIP UA for profile: internal-ipv6 2010-11-10 20:22:37.576362 [ERR] sofia.c:1446 Error Creating SIP UA for profile: internal The "sofia status" command does not show the internal and internal-ipv6 profiles. This wiki page: http://wiki.freeswitch.org/wiki/SIP_TLS#If_your_SIP_profile_fails_to_start_u... talks about exactly this problem and it suggest that libssl-dev is not installed. But when I checked my Ubuntu 10.04 I found it to be installed. I also installed "libcurl4-openssl-dev" and then did "make; make clean; make install" and reran the server. However, the problem persists. Can anyone tell me what else may be wrong with my server? Thanks, Farhan
Cuz you didn't compile sofia with ssl support please rebootstrap/configure again once you have all the openssl headers and libs installed and try again. /b On Nov 10, 2010, at 2:28 PM, Farhan Husain wrote:
Hello,
I enabled ssl in my FS installation. Here are few lines from my vars.xml:
<!-- SIP and TLS settings. http://wiki.freeswitch.org/wiki/Tls --> <X-PRE-PROCESS cmd="set" data="sip_tls_version=tlsv1"/>
<!-- Internal SIP Profile --> <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/> <X-PRE-PROCESS cmd="set" data="internal_sip_port=5060"/> <X-PRE-PROCESS cmd="set" data="internal_tls_port=5061"/> <X-PRE-PROCESS cmd="set" data="internal_ssl_enable=true"/> <X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/>
Then I restarted my server and found the following errors:
2010-11-10 20:22:37.555517 [ERR] sofia.c:1446 Error Creating SIP UA for profile: internal-ipv6 2010-11-10 20:22:37.576362 [ERR] sofia.c:1446 Error Creating SIP UA for profile: internal
The "sofia status" command does not show the internal and internal-ipv6 profiles. This wiki page: http://wiki.freeswitch.org/wiki/SIP_TLS#If_your_SIP_profile_fails_to_start_u... talks about exactly this problem and it suggest that libssl-dev is not installed. But when I checked my Ubuntu 10.04 I found it to be installed. I also installed "libcurl4-openssl-dev" and then did "make; make clean; make install" and reran the server. However, the problem persists. Can anyone tell me what else may be wrong with my server?
Thanks, Farhan
_______________________________________________ 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
Thanks a lot Brian. It solved my problem. On Wed, Nov 10, 2010 at 2:33 PM, Brian West <brian@freeswitch.org> wrote:
Cuz you didn't compile sofia with ssl support please rebootstrap/configure again once you have all the openssl headers and libs installed and try again.
/b
On Nov 10, 2010, at 2:28 PM, Farhan Husain wrote:
Hello,
I enabled ssl in my FS installation. Here are few lines from my vars.xml:
<!-- SIP and TLS settings. http://wiki.freeswitch.org/wiki/Tls --> <X-PRE-PROCESS cmd="set" data="sip_tls_version=tlsv1"/>
<!-- Internal SIP Profile --> <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/> <X-PRE-PROCESS cmd="set" data="internal_sip_port=5060"/> <X-PRE-PROCESS cmd="set" data="internal_tls_port=5061"/> <X-PRE-PROCESS cmd="set" data="internal_ssl_enable=true"/> <X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/>
Then I restarted my server and found the following errors:
2010-11-10 20:22:37.555517 [ERR] sofia.c:1446 Error Creating SIP UA for profile: internal-ipv6 2010-11-10 20:22:37.576362 [ERR] sofia.c:1446 Error Creating SIP UA for profile: internal
The "sofia status" command does not show the internal and internal-ipv6 profiles. This wiki page: http://wiki.freeswitch.org/wiki/SIP_TLS#If_your_SIP_profile_fails_to_start_u... about exactly this problem and it suggest that libssl-dev is not installed. But when I checked my Ubuntu 10.04 I found it to be installed. I also installed "libcurl4-openssl-dev" and then did "make; make clean; make install" and reran the server. However, the problem persists. Can anyone tell me what else may be wrong with my server?
Thanks, Farhan
_______________________________________________ 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
_______________________________________________ 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
With funding and support from Star2Star Communications, and in conjunction with FreeSWITCH Solutions, I will soon be embarking on a project to bring a drop-in replacement for Asterisk's Comedian Mail to the FreeSWITCH platform. As I learned in my own move from Asterisk to FreeSWITCH, one of the bigger challenges was finding a transparent way to transition my user's voicemail experience. Since FreeSWITCH's native voicemail module did not adequately meet this need, I elected to write my own voicemail system, leveraging Lua -- the recommended scripting language for integrating complex tasks into the dialplan. The underlying concept in Jester Mail is to provide a flexible, extensible, and easily customizable voicemail plugin for FreeSWITCH. Unlike mod_voicemail, the code/configuration will be written in either XML or Lua, so that it will be easily hackable should the need arise. Every effort will be made to make the components modular and configurable, to avoid the need to rewrite any of the core functionality. Initial alpha releases will be based on my existing company's code, adding more and more of the standard Comedian Mail features, culminating in the 1.0 release, which will be a complete drop in replacement for Comedian Mail. Future releases may extend functionality even beyond that provided in Comedian Mail -- we'll see about that when we get there. :) We'd like to encourage people to offer feedback and insight on the project as it progresses, and we'll do our best (as it fits into our budget, timeline, and larger goals) to incorporate this into our final product in a way that is most beneficial for all in the community. Within the next 2-3 weeks, I'll be posting a strategy/architecture battle plan on the FreeSWITCH wiki. A few weeks after that I'll commit the initial pre-alpha code to the contributions repository for community feedback. There should be two nice side effects of this project: a) More people should be willing to make the transition from Asterisk to FreeSWITCH, as this removes another significant barrier for some. b) We will have excellent new resource to point people to for learning how to leverage Lua in FreeSWITCH. Chad Phillips aka hunmonk
Hello Chad, this sounds really promising. Just a question: Will there be any XML-Curl support for the XML configuration? This would make it easier to have flexible structures. -- With kind regards Peter Steinbach Telefaks Services GmbH Theo-Geisel-Strasse 25 D 61250 Usingen, Germany mailto:lists@telefaks.de Internet: www.telefaks.de Chad Phillips -- Apartment Lines schrieb:
With funding and support from Star2Star Communications, and in conjunction with FreeSWITCH Solutions, I will soon be embarking on a project to bring a drop-in replacement for Asterisk's Comedian Mail to the FreeSWITCH platform.
As I learned in my own move from Asterisk to FreeSWITCH, one of the bigger challenges was finding a transparent way to transition my user's voicemail experience. Since FreeSWITCH's native voicemail module did not adequately meet this need, I elected to write my own voicemail system, leveraging Lua -- the recommended scripting language for integrating complex tasks into the dialplan.
The underlying concept in Jester Mail is to provide a flexible, extensible, and easily customizable voicemail plugin for FreeSWITCH. Unlike mod_voicemail, the code/configuration will be written in either XML or Lua, so that it will be easily hackable should the need arise. Every effort will be made to make the components modular and configurable, to avoid the need to rewrite any of the core functionality.
Initial alpha releases will be based on my existing company's code, adding more and more of the standard Comedian Mail features, culminating in the 1.0 release, which will be a complete drop in replacement for Comedian Mail. Future releases may extend functionality even beyond that provided in Comedian Mail -- we'll see about that when we get there. :)
We'd like to encourage people to offer feedback and insight on the project as it progresses, and we'll do our best (as it fits into our budget, timeline, and larger goals) to incorporate this into our final product in a way that is most beneficial for all in the community.
Within the next 2-3 weeks, I'll be posting a strategy/architecture battle plan on the FreeSWITCH wiki. A few weeks after that I'll commit the initial pre-alpha code to the contributions repository for community feedback.
There should be two nice side effects of this project:
a) More people should be willing to make the transition from Asterisk to FreeSWITCH, as this removes another significant barrier for some.
b) We will have excellent new resource to point people to for learning how to leverage Lua in FreeSWITCH.
Chad Phillips aka hunmonk
_______________________________________________ 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
On Nov 11, 2010, at 3:48 AM, Peter Steinbach wrote:
Hello Chad,
this sounds really promising. Just a question: Will there be any XML-Curl support for the XML configuration? This would make it easier to have flexible structures.
we haven't determined exactly how the configuration will be stored yet, so i can't answer this question for sure. most likely, in keeping with the concept of modular design, the configuration storage/retrieval mechanism will be pluggable, so even if Jester Mail doesn't come with this functionality, you'd be able to write your own plugin to accomplish it. chad
participants (4)
-
Brian West
-
Chad Phillips -- Apartment Lines
-
Farhan Husain
-
Peter Steinbach