Freeswitch taking too long to start up
Hi, I have just upgraded Freeswitch from svn revision 12432 to 13544. I am using 32bit CentOS 5.3, "make current" command completes successfully without any errors but when i start freeswitch it take considerable time (roughly 90 - 120 seconds) to start up. During this time no message is display on console. Once successfully started, it works fine. However, this initial delay is really annoying. Is there anyway to reduce/remove this delay? Thank you. -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
As I understand it, a new 'feature' was added over the weekend to resolve NAT. If you're firewall is not allowing ICMP then FS waits until it times out. At this time there is no option to disable it. Regards ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Muhammad Shahzad Sent: 02 June 2009 11:40 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Freeswitch taking too long to start up Hi, I have just upgraded Freeswitch from svn revision 12432 to 13544. I am using 32bit CentOS 5.3, "make current" command completes successfully without any errors but when i start freeswitch it take considerable time (roughly 90 - 120 seconds) to start up. During this time no message is display on console. Once successfully started, it works fine. However, this initial delay is really annoying. Is there anyway to reduce/remove this delay? Thank you. -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
Actually Brain mentioned that you can comment out switch_nat_init(); in switch_core.c On Jun 2, 2009, at 7:08 PM, Nik Middleton wrote:
As I understand it, a new ‘feature’ was added over the weekend to resolve NAT. If you’re firewall is not allowing ICMP then FS waits until it times out. At this time there is no option to disable it.
Regards
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org ] On Behalf Of Muhammad Shahzad Sent: 02 June 2009 11:40 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Freeswitch taking too long to start up
Hi,
I have just upgraded Freeswitch from svn revision 12432 to 13544. I am using 32bit CentOS 5.3, "make current" command completes successfully without any errors but when i start freeswitch it take considerable time (roughly 90 - 120 seconds) to start up. During this time no message is display on console. Once successfully started, it works fine. However, this initial delay is really annoying. Is there anyway to reduce/remove this delay?
Thank you.
-- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com _______________________________________________ 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
Yes, this resolves the problem. Thank you. On Tue, Jun 2, 2009 at 5:27 PM, dujinfang <dujinfang@gmail.com> wrote:
Actually Brain mentioned that you can comment out switch_nat_init(); in switch_core.c On Jun 2, 2009, at 7:08 PM, Nik Middleton wrote:
As I understand it, a new ‘feature’ was added over the weekend to resolve NAT. If you’re firewall is not allowing ICMP then FS waits until it times out. At this time there is no option to disable it.
Regards
------------------------------ *From:* freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org<freeswitch-users-bounces@lists.freeswitch.org> ] *On Behalf Of *Muhammad Shahzad *Sent:* 02 June 2009 11:40 *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] Freeswitch taking too long to start up
Hi,
I have just upgraded Freeswitch from svn revision 12432 to 13544. I am using 32bit CentOS 5.3, "make current" command completes successfully without any errors but when i start freeswitch it take considerable time (roughly 90 - 120 seconds) to start up. During this time no message is display on console. Once successfully started, it works fine. However, this initial delay is really annoying. Is there anyway to reduce/remove this delay?
Thank you.
-- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com _______________________________________________ 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
-- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
Hi, Try starting using the -nonat switch. Best Regards Keith From: Muhammad Shahzad [mailto:shaheryarkh@googlemail.com] Sent: 02 June 2009 14:39 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Freeswitch taking too long to start up Yes, this resolves the problem. Thank you. On Tue, Jun 2, 2009 at 5:27 PM, dujinfang <dujinfang@gmail.com> wrote: Actually Brain mentioned that you can comment out switch_nat_init(); in switch_core.c On Jun 2, 2009, at 7:08 PM, Nik Middleton wrote: As I understand it, a new ‘feature’ was added over the weekend to resolve NAT. If you’re firewall is not allowing ICMP then FS waits until it times out. At this time there is no option to disable it. Regards ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Muhammad Shahzad Sent: 02 June 2009 11:40 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Freeswitch taking too long to start up Hi, I have just upgraded Freeswitch from svn revision 12432 to 13544. I am using 32bit CentOS 5.3, "make current" command completes successfully without any errors but when i start freeswitch it take considerable time (roughly 90 - 120 seconds) to start up. During this time no message is display on console. Once successfully started, it works fine. However, this initial delay is really annoying. Is there anyway to reduce/remove this delay? Thank you. -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com _______________________________________________ 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 -- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
I had to upgrade again svn revision to use this switch, but it works. Thank you. On Wed, Jun 3, 2009 at 1:12 AM, Keith Laaks <keithl@voxtelecom.co.za> wrote:
Hi,
Try starting using the -nonat switch.
Best Regards
Keith
*From:* Muhammad Shahzad [mailto:shaheryarkh@googlemail.com] *Sent:* 02 June 2009 14:39 *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] Freeswitch taking too long to start up
Yes, this resolves the problem.
Thank you.
On Tue, Jun 2, 2009 at 5:27 PM, dujinfang <dujinfang@gmail.com> wrote:
Actually Brain mentioned that you can comment out switch_nat_init(); in switch_core.c
On Jun 2, 2009, at 7:08 PM, Nik Middleton wrote:
As I understand it, a new ‘feature’ was added over the weekend to resolve NAT. If you’re firewall is not allowing ICMP then FS waits until it times out. At this time there is no option to disable it.
Regards
------------------------------
*From:* freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org<freeswitch-users-bounces@lists.freeswitch.org> ] *On Behalf Of *Muhammad Shahzad *Sent:* 02 June 2009 11:40 *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] Freeswitch taking too long to start up
Hi,
I have just upgraded Freeswitch from svn revision 12432 to 13544. I am using 32bit CentOS 5.3, "make current" command completes successfully without any errors but when i start freeswitch it take considerable time (roughly 90 - 120 seconds) to start up. During this time no message is display on console. Once successfully started, it works fine. However, this initial delay is really annoying. Is there anyway to reduce/remove this delay?
Thank you.
-- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
_______________________________________________ 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
-- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
-- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
You shouldn't have to use the switch anymore. That is unless you just wanna skip that check. /b On Jun 3, 2009, at 12:09 AM, Muhammad Shahzad wrote:
I had to upgrade again svn revision to use this switch, but it works.
Thank you.
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
I do understand the importance of NAT, i just want to know where it sends ICMP ping (refer to NiK reply below) to compute NAT type? Right now i am enhancing a few FS modules for a specific business model. Once it is done and fully tested, i would put it in production, where i have to take care of NAT issues as well. So, if i know its NAT detection mechanism, it would be easier for me to configure it properly during production deployment. Also if my employer approves, i would like to share my customization (fully or partially) with FS community. How can i get a developer account? What else is required to become an official FS developer? Thank you. On Wed, Jun 3, 2009 at 7:18 PM, Brian West <brian@freeswitch.org> wrote:
You shouldn't have to use the switch anymore. That is unless you just wanna skip that check. /b
On Jun 3, 2009, at 12:09 AM, Muhammad Shahzad wrote:
I had to upgrade again svn revision to use this switch, but it works.
Thank you.
Brian West brian@freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________ 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
-- Muhammad Shahzad ----------------------------------- CISCO Rich Media Communication Specialist (CRMCS) CISCO Certified Network Associate (CCNA) Cell: +92 334 422 40 88 MSN: shari_786pk@hotmail.com Email: shaheryarkh@googlemail.com
participants (5)
-
Brian West
-
dujinfang
-
Keith Laaks
-
Muhammad Shahzad
-
Nik Middleton