Hi Brian,

Sorry. I couldn't find anywhere about how to use eval for startup-script configuration.
I tried like below in autoload_configs/perl.conf.xml, and it didn't help.

<param name="eval" value="startup-script=/usr/local/freeswitch/scripts/sql_cdr.pl"/>






On Wed, Sep 3, 2014 at 4:14 PM, Preeti Trivedi <sweetpt31@gmail.com> wrote:

Hi Brian,

Sorry. I couldn't find anywhere about how to use eval for startup-script configuration.
I tried like below in autoload_configs/perl.conf.xml, and it didn't help.


On Tue, Sep 2, 2014 at 10:51 PM, Brian West <brian@freeswitch.org> wrote:
You'll need to wrap it all inside eval's to prevent instability. 


On Tue, Sep 2, 2014 at 12:01 PM, Preeti Trivedi <sweetpt31@gmail.com> wrote:
Hi Brian,

DBI is used in all three perl scripts and each script will have distinct connections.



On Tue, Sep 2, 2014 at 9:04 PM, <freeswitch-users-request@lists.freeswitch.org> wrote:
Send FreeSWITCH-users mailing list submissions to
        freeswitch-users@lists.freeswitch.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
        freeswitch-users-request@lists.freeswitch.org

You can reach the person managing the list at
        freeswitch-users-owner@lists.freeswitch.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."

Today's Topics:

   1. perl startup scripts (Preeti Trivedi)
   2. Re: perl startup scripts (Brian West)
   3. Re: Inband DTMF Woes (Brian West)
   4. Re: Allowing calls with Mod nibblebill and zero balances (DP .)
   5. Re: Freeswitch-1.4.7 source rpm (Ken Rice)



---------- Forwarded message ----------
From: Preeti Trivedi <sweetpt31@gmail.com>
To: freeswitch-users@lists.freeswitch.org
Cc: 
Date: Tue, 2 Sep 2014 19:53:51 +0530
Subject: [Freeswitch-users] perl startup scripts
Hi,

I am facing a problem with FS getting dumped while starting up. 

It worked fine when I had 2 startup-scripts in perl initially. I didn't face any problem in FS starting up.
I added the 3rd script today and now FS is getting dumped while starting up few times. Few times, it is starting up without any problem.. The behaviour is random.
Is there any parameter which I've to tune? any idea?

FS version:
FreeSWITCH Version 1.5.14b+git~20140804T185031Z~1960533260~64bit (git 1960533 2014-08-04 18:50:31Z 64bit)

Output of 'scripts/backtrace-from-core' script:

Regards,
Preeti


---------- Forwarded message ----------
From: Brian West <brian@freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc: 
Date: Tue, 2 Sep 2014 09:43:27 -0500
Subject: Re: [Freeswitch-users] perl startup scripts
Are you using DBI in any of these scripts?


On Tue, Sep 2, 2014 at 9:23 AM, Preeti Trivedi <sweetpt31@gmail.com> wrote:
Hi,

I am facing a problem with FS getting dumped while starting up. 

It worked fine when I had 2 startup-scripts in perl initially. I didn't face any problem in FS starting up.
I added the 3rd script today and now FS is getting dumped while starting up few times. Few times, it is starting up without any problem.. The behaviour is random.
Is there any parameter which I've to tune? any idea?

FS version:
FreeSWITCH Version 1.5.14b+git~20140804T185031Z~1960533260~64bit (git 1960533 2014-08-04 18:50:31Z 64bit)

Output of 'scripts/backtrace-from-core' script:

Regards,
Preeti

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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