<div dir="ltr">Hi,<br><br>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.<br>
<br><div class="gmail_quote">On Wed, Feb 15, 2012 at 12:04 AM, <span dir="ltr"><<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send FreeSWITCH-users mailing list submissions to<br>
<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of FreeSWITCH-users digest..."<br>
<br>Today's Topics:<br>
<br>
1. Re: segmentation fault on startup (Norman Tomlins)<br>
2. Re: Tracking codec g729 by event (Michael Collins)<br>
3. Re: FreeSWITCH Crash - How to Troubleshoot (Michael Collins)<br>
4. Re: Inline execution concept (Michael Collins)<br>
<br><br>---------- Forwarded message ----------<br>From: Norman Tomlins <<a href="mailto:norm@voicenetwork.ca">norm@voicenetwork.ca</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Cc: <br>Date: Tue, 14 Feb 2012 13:17:31 -0500<br>Subject: Re: [Freeswitch-users] segmentation fault on startup<br>Darcy,<br><br>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.<br>
<br><br><br>Norman Tomlins<br>Voice Network Inc.<br><br><br><br><br><div class="gmail_quote">On Tue, Feb 14, 2012 at 1:01 PM, Darcy <span dir="ltr"><<a href="mailto:darcy@primrose.ws" target="_blank">darcy@primrose.ws</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One last question regarding this, after restart, I noticed the registrations<br>
were awry, only 1 registration at a time, each new one replaced the existing<br>
one, so we deleted all the db files and restarted freeswitch again,<br>
corrected the problem. I noticed sofia_reg_internal was over 2.7 meg, but<br>
now that it is restarted it is only 82kb, should these be flushed on a<br>
regular basis, say for example, once a week, stop the freeswitch remove the<br>
db files, restart the freeswitch, it could of course be scheduled in<br>
crontab. This switch only has 8 registrations, we many use it as a sip<br>
tandem (acl authentication).<br>
<br>
Thanks<br>
<div>Darcy<br>
<br>
-----Original Message-----<br>
From: Anthony Minessale<br>
Sent: Tuesday, February 14, 2012 11:29 AM<br>
To: FreeSWITCH Users Help<br>
Subject: Re: [Freeswitch-users] segmentation fault on startup<br>
<br>
</div><div><div></div><div>Hard to know cos you need to get a backtrace of the crash to be able<br>
to identify it.<br>
But like ken said, if the db was possibly corrupted and sqlite causes<br>
the crash then there is little we can do besides what you already did.<br>
<br>
<br>
On Tue, Feb 14, 2012 at 10:05 AM, Darcy <<a href="mailto:darcy@primrose.ws" target="_blank">darcy@primrose.ws</a>> wrote:<br>
> I have three freeswitches running on public IPs, not behind a router.<br>
> There was a power hit on site and all servers were restarted but none of<br>
> the<br>
> freeswitches started, when I tried to manually start them, I got a<br>
> segmentation fault. I had to rename core.db on each system to get them<br>
> to<br>
> restart. Is this a known issue. One of these switches had a git update 1<br>
> week ago, the other two are various vintages but run flawless, until last<br>
> night of course. The longest running one is about 14 months.<br>
><br>
> Any input or thoughts would be appreciated.<br>
><br>
> Darcy<br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>
<br><br>---------- Forwarded message ----------<br>From: Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Cc: <br>Date: Tue, 14 Feb 2012 10:20:41 -0800<br>Subject: Re: [Freeswitch-users] Tracking codec g729 by event<br>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. <br>
<br>-MC<br><br><div class="gmail_quote">On Tue, Feb 14, 2012 at 4:00 AM, Antonio <span dir="ltr"><<a href="mailto:asilva@wirelessmundi.com" target="_blank">asilva@wirelessmundi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div>
Hi,<br>
<br>
I'm trying to keep tracking on the use of codec g729 licenses on my server.<br>
<br>
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. <br>
This doesn't work, i try it on event CODEC, and EXECUTE.<br>
<br>
Is there any event that i can use that is trigger by the encoder/decoder in mod_com_g729 when it actives a license?<br>
<br>
Thanks,<br>
<table cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td>
<pre>_________________________
António Silva
</pre>
</td>
</tr>
</tbody></table>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<br><br>---------- Forwarded message ----------<br>From: Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Cc: <br>Date: Tue, 14 Feb 2012 10:25:53 -0800<br>Subject: Re: [Freeswitch-users] FreeSWITCH Crash - How to Troubleshoot<br><br><br><div class="gmail_quote">On Tue, Feb 14, 2012 at 7:33 AM, Lloyd Aloysius <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="verdana,sans-serif">I go through the wiki page. Now I find a core dump file in /usr/local/freeswitch directory.</font><div><font face="verdana, sans-serif"><br></font><div><font face="verdana, sans-serif"><br>
</font></div>
<div><font face="verdana, sans-serif">-rw------- 1 freeswitch freeswitch 60235776 Feb 14 09:34 core.3202</font><div><font face="verdana,sans-serif"><br></font></div><div><br clear="all">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?</div>
</div></div></blockquote><div><br>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.<br>
<br>-MC<br></div></div>
<br><br>---------- Forwarded message ----------<br>From: Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Cc: <br>Date: Tue, 14 Feb 2012 10:34:26 -0800<br>Subject: Re: [Freeswitch-users] Inline execution concept<br><br><br><div class="gmail_quote">On Tue, Feb 14, 2012 at 9:03 AM, Avi Marcus <span dir="ltr"><<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Tim, that's an excellent description. Can you please find/add/update that on the wiki?<div>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.</div>
<span><font color="#888888">
</font></span><div><span><font color="#888888"><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div></font></span></div>
</div></blockquote><br>Indeed, Tim did a nice job of explaining that. My recommendation for updating the wiki would be to replace this section:<br><br><a href="http://wiki.freeswitch.org/wiki/Dialplan_XML#The_10.2C000_Foot_View" target="_blank">http://wiki.freeswitch.org/wiki/Dialplan_XML#The_10.2C000_Foot_View</a><br>
<br>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.)<br>
<br>Please let me know if you guys have any questions on editing the wiki.<br><br>-MC<br></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><br>Thanks and regards<br><br> Virendra Bhati<br>+91-8885268942<br>Software Engineer<br>E-mail-: <a href="mailto:virbhati@gmail.com" target="_blank">virbhati@gmail.com</a><br>
Skype id:- virbhati2<br></div><br>
</div>