[Freeswitch-users] FreeSWITCH-users Digest, Vol 68, Issue 140

virendra bhati virbhati at gmail.com
Wed Feb 15 08:26:29 MSK 2012


Hi,

I have FS 1.0.6 "bridge" book and after reading chapters 5 and 8. Still
this is very confusing concept. that's why i want to know from you guys an
simple language with 2 or more example if you can reply with answer. Inline
execution is very confusing concept for me.

On Wed, Feb 15, 2012 at 12:04 AM, <
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. Re: segmentation fault on startup (Norman Tomlins)
>   2. Re: Tracking codec g729 by event (Michael Collins)
>   3. Re: FreeSWITCH Crash - How to Troubleshoot (Michael Collins)
>   4. Re: Inline execution concept (Michael Collins)
>
>
> ---------- Forwarded message ----------
> From: Norman Tomlins <norm at voicenetwork.ca>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Tue, 14 Feb 2012 13:17:31 -0500
> Subject: Re: [Freeswitch-users] segmentation fault on startup
> Darcy,
>
> Freeswitch uses sqlite for it's database and doesn't compact the database
> at all and they will keep growing.  If you wanted to shrink the db down,
> you could do a "VACUUM" from the sqlite command line.     Personally, I
> just delete the db files when I restart freeswitch, and keep everything on
> a 100 meg ram disk.
>
>
>
> Norman Tomlins
> Voice Network Inc.
>
>
>
>
> On Tue, Feb 14, 2012 at 1:01 PM, Darcy <darcy at primrose.ws> wrote:
>
>> One last question regarding this, after restart, I noticed the
>> registrations
>> were awry, only 1 registration at a time, each new one replaced the
>> existing
>> one, so we deleted all the db files and restarted freeswitch again,
>> corrected the problem.  I noticed sofia_reg_internal was over 2.7 meg, but
>> now that it is restarted it is only 82kb, should these be flushed on a
>> regular basis, say for example, once a week, stop the freeswitch remove
>> the
>> db files, restart the freeswitch,   it could of course be scheduled in
>> crontab.  This switch only has 8 registrations, we many use it as a sip
>> tandem (acl authentication).
>>
>> Thanks
>> Darcy
>>
>> -----Original Message-----
>> From: Anthony Minessale
>> Sent: Tuesday, February 14, 2012 11:29 AM
>> To: FreeSWITCH Users Help
>> Subject: Re: [Freeswitch-users] segmentation fault on startup
>>
>> Hard to know cos you need to get a backtrace of the crash to be able
>> to identify it.
>> But like ken said, if the db was possibly corrupted and sqlite causes
>> the crash then there is little we can do besides what you already did.
>>
>>
>> On Tue, Feb 14, 2012 at 10:05 AM, Darcy <darcy at primrose.ws> wrote:
>> > I have three freeswitches running on public IPs, not behind a router.
>> > There was a power hit on site and all servers were restarted but none of
>> > the
>> > freeswitches started, when I tried to manually start them, I got a
>> > segmentation fault.   I had to rename core.db on each system to get them
>> > to
>> > restart.  Is this a known issue.  One of these switches had a git
>> update 1
>> > week ago, the other two are various vintages but run flawless, until
>> last
>> > night of course.  The longest running one is about 14 months.
>> >
>> > Any input or thoughts would be appreciated.
>> >
>> > Darcy
>> >
>> >
>> _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > 
>> > 
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://wiki.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
>> >
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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
>>
>
>
>
> ---------- Forwarded message ----------
> From: Michael Collins <msc at freeswitch.org>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Tue, 14 Feb 2012 10:20:41 -0800
> Subject: Re: [Freeswitch-users] Tracking codec g729 by event
> What is the ultimate goal of this process? The reason I ask is that if the
> only trigger for running "g729_used" API is an event related to a channel
> then maybe you could just poll the server at regular intervals. ESL can
> totally handle that, as long as you're not doing something crazy like
> polling 1000 times per second.
>
> -MC
>
> On Tue, Feb 14, 2012 at 4:00 AM, Antonio <asilva at wirelessmundi.com> wrote:
>
>> **
>> Hi,
>>
>> I'm trying to keep tracking  on the use of codec g729 licenses on my
>> server.
>>
>> I've a little ESL program that check all the events for a new call and if
>> the call uses g729 i execute the api "g729_used" to fetch the value.
>> This doesn't work, i try it on event CODEC, and EXECUTE.
>>
>> Is there any event that i can use that is trigger by the encoder/decoder
>> in mod_com_g729 when it actives a license?
>>
>> Thanks,
>>
>> _________________________
>>
>> António Silva
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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
>>
>>
>
>
> ---------- Forwarded message ----------
> From: Michael Collins <msc at freeswitch.org>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Tue, 14 Feb 2012 10:25:53 -0800
> Subject: Re: [Freeswitch-users] FreeSWITCH Crash - How to Troubleshoot
>
>
> On Tue, Feb 14, 2012 at 7:33 AM, Lloyd Aloysius <lloyd.aloysius at gmail.com>wrote:
>
>> I go through the wiki page. Now I find a core dump file in
>> /usr/local/freeswitch directory.
>>
>>
>>  -rw-------  1 freeswitch freeswitch 60235776 Feb 14 09:34 core.3202
>>
>>
>> Then wiki says .. I need to get a back trace. Can I use another machine
>> to load the core and get back trace  and submit to JIRA?
>>
>
> Not reliably. The best thing to do is to collect the backtrace (bt) as
> soon as the crash occurs. Remember, when you get a core dump you need to
> use gdb with the exact same executable file that generated the core.xxx
> file. On a decent machine this process should not take more than a few
> minutes and there are scripts available to assist with collecting the
> information.
>
> -MC
>
>
> ---------- Forwarded message ----------
> From: Michael Collins <msc at freeswitch.org>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Tue, 14 Feb 2012 10:34:26 -0800
> Subject: Re: [Freeswitch-users] Inline execution concept
>
>
> On Tue, Feb 14, 2012 at 9:03 AM, Avi Marcus <avi at avimarcus.net> wrote:
>
>> Tim, that's an excellent description. Can you please find/add/update that
>> on the wiki?
>> It would be great if most answers on this mailing list to explain
>> something were links to the wiki. Or even better if the wiki was so well
>> organized and explanatory that they wouldn't even need to ask.
>>
>> -Avi
>>
>
> Indeed, Tim did a nice job of explaining that. My recommendation for
> updating the wiki would be to replace this section:
>
> http://wiki.freeswitch.org/wiki/Dialplan_XML#The_10.2C000_Foot_View
>
> It unnecessarily brings Sofia into the picture when discussing call
> processing. It would be much better if that section were re-written in a
> way similar to Tim's email discussion. If anyone has the FS 1.0.6 "bridge"
> book then you could use chapters 5 and 8 as reference material. (As long as
> you don't just copy and paste large blocks of text then there's no
> copyright issues - the facts of how the dialplan is processed are not
> copyrightable.)
>
> Please let me know if you guys have any questions on editing the wiki.
>
> -MC
>
> _______________________________________________
> 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
>
>


-- 

Thanks and regards

 Virendra Bhati
+91-8885268942
Software Engineer
E-mail-: virbhati at gmail.com
Skype id:- virbhati2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120215/beccb79d/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list