[Freeswitch-users] perl startup scripts

Preeti Trivedi sweetpt31 at gmail.com
Wed Sep 3 14:44:12 MSD 2014


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 at 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 at 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 at lists.freeswitch.org> wrote:
>>
>>> Send FreeSWITCH-users mailing list submissions to
>>>         freeswitch-users at 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 at lists.freeswitch.org
>>>
>>> You can reach the person managing the list at
>>>         freeswitch-users-owner at 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 at gmail.com>
>>> To: freeswitch-users at 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:
>>> http://pastebin.freeswitch.org/23197
>>>
>>> Regards,
>>> Preeti
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Brian West <brian at freeswitch.org>
>>> To: FreeSWITCH Users Help <freeswitch-users at 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 at 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:
>>>> http://pastebin.freeswitch.org/23197
>>>>
>>>> Regards,
>>>> Preeti
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> 
>>>> 
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at 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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 
>> 
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140903/9172999c/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list