<div dir="ltr">It&#39;s 1.6.13, NOT from git.<div><br></div><div>rgds,</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Loi Dang Thanh<br></div>Phone : +84. 1224.735.448<br></div>Email : <a href="mailto:loi.dangthanh@gmail.com" target="_blank">loi.dangthanh@gmail.com</a><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jan 5, 2017 at 9:42 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>what version of freeswitch?</div></div><div class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote"><div>On Thu, Jan 5, 2017 at 1:54 AM Lợi Đặng &lt;<a href="mailto:loi.dangthanh@gmail.com" target="_blank">loi.dangthanh@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg">Hi Brian, tks for pointing out the scenario.<br class="m_351772402919864778gmail_msg"></div>afaik, <br class="m_351772402919864778gmail_msg">1. In start, FS firstly open db connection<br class="m_351772402919864778gmail_msg">2. In loading core modules, CORE_PCM_MODULE, FS put codec informations into sqlitedb (default)<br class="m_351772402919864778gmail_msg">3. `show codecs` in mod_commands just to retrieve that these informations from db.<br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">Everythings ok when FS is running foreground, I can check the log in console and it&#39;s straightforward.<br class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">The problem was, when I&#39;m running FS in background, looks like step 2 was not executed, so my step 3 return `0 total`.<br class="m_351772402919864778gmail_msg">Not sure what happened, since logfile module is loaded after loading core module, so that I could not check logfile for details in step 1 and 2.<br class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">Not sure if there is difference between running in foreground and background affect this.<br class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">rgds,<br class="m_351772402919864778gmail_msg"></div></div><div class="gmail_extra m_351772402919864778gmail_msg"></div><div class="gmail_extra m_351772402919864778gmail_msg"><br clear="all" class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778m_-3169068578302531856gmail_signature m_351772402919864778gmail_msg" data-smartmail="gmail_signature"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778m_-3169068578302531856gmail_signature m_351772402919864778gmail_msg" data-smartmail="gmail_signature"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg">Loi Dang Thanh<br class="m_351772402919864778gmail_msg"></div>Phone : +84. 1224.735.448<br class="m_351772402919864778gmail_msg"></div>Email : <a href="mailto:loi.dangthanh@gmail.com" class="m_351772402919864778gmail_msg" target="_blank">loi.dangthanh@gmail.com</a><br class="m_351772402919864778gmail_msg"></div></div></div></div></div></div></div><br><br><br class="m_351772402919864778gmail_msg"></div><div class="gmail_extra m_351772402919864778gmail_msg"><div class="gmail_quote m_351772402919864778gmail_msg">On Thu, Jan 5, 2017 at 6:59 AM, Brian West <span class="m_351772402919864778gmail_msg">&lt;<a href="mailto:brian@freeswitch.org" class="m_351772402919864778gmail_msg" target="_blank">brian@freeswitch.org</a>&gt;</span> wrote:<br class="m_351772402919864778gmail_msg"><blockquote class="gmail_quote m_351772402919864778gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_351772402919864778gmail_msg">That probably means your sqlite db is toast or you started with the db disabled, When you type show codecs, it doesn&#39;t actually walk the in memory data to show you that, Its pulling it from the database on disk, same with channels and many others.<div class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">/b</div><div class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div></div><div class="gmail_extra m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"><div class="gmail_quote m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778m_-3169068578302531856h5 m_351772402919864778gmail_msg">On Wed, Jan 4, 2017 at 4:15 AM, Lợi Đặng <span class="m_351772402919864778gmail_msg">&lt;<a href="mailto:loi.dangthanh@gmail.com" class="m_351772402919864778gmail_msg" target="_blank">loi.dangthanh@gmail.com</a>&gt;</span> wrote:<br class="m_351772402919864778gmail_msg"></div></div><blockquote class="gmail_quote m_351772402919864778gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778m_-3169068578302531856h5 m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg">Hi guys, I&#39;m connecting to my backgrounded FS via fs_cli, things are pretty straightforward, and connection is OK. But I found this: <br class="m_351772402919864778gmail_msg"></div>`show codec` returns 0 total.<br class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div>I can make sure CORE_PCM_MODULE is loaded, via log file and api `module_exists`.<br class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">Then I tried to `reload` CORE_PCM_MODULE, and guess what, `show codec` works properly, contains codecs informations.<br class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">Same issue happened with CORE_SPEEX_MODULE and CORE_VPX_MODULE as well.<br class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">FS running normally before and after reloading module(s).<br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">Not sure if this is a bug on `show codec` or I just miss something.<br class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">More information, connecting to a foreground running FS doesn&#39;t have the same issue.<br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg">rgds,<br class="m_351772402919864778gmail_msg"></div><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><br clear="all" class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778m_-3169068578302531856m_5137759531539422683m_1344551286328207247gmail_signature m_351772402919864778gmail_msg" data-smartmail="gmail_signature"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg">Loi Dang Thanh<br class="m_351772402919864778gmail_msg"></div>Phone : +84. 1224.735.448<br class="m_351772402919864778gmail_msg"></div>Email : <a href="mailto:loi.dangthanh@gmail.com" class="m_351772402919864778gmail_msg" target="_blank">loi.dangthanh@gmail.com</a><br class="m_351772402919864778gmail_msg"></div></div></div></div></div><br><br></div></div></div></div></div></div><br><br><br class="m_351772402919864778gmail_msg"></div></div>______________________________<wbr>______________________________<wbr>_____________<br class="m_351772402919864778gmail_msg"><br><br>Professional FreeSWITCH Consulting Services:<br class="m_351772402919864778gmail_msg"><br><br><a href="mailto:consulting@freeswitch.org" class="m_351772402919864778gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br class="m_351772402919864778gmail_msg"><br><br><br class="m_351772402919864778gmail_msg"><br><br>Official FreeSWITCH Sites<br class="m_351772402919864778gmail_msg"><br><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://confluence.freeswitch.org" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://confluence.freeswitch.<wbr>org</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://www.cluecon.com" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_351772402919864778gmail_msg"><br><br><br class="m_351772402919864778gmail_msg"><br><br>FreeSWITCH-users mailing list<br class="m_351772402919864778gmail_msg"><br><br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="m_351772402919864778gmail_msg" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br class="m_351772402919864778gmail_msg"><br><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_351772402919864778gmail_msg"></blockquote></div><br class="m_351772402919864778gmail_msg"><br clear="all" class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></div>-- <br class="m_351772402919864778gmail_msg"><div class="m_351772402919864778m_-3169068578302531856m_5137759531539422683gmail_signature m_351772402919864778gmail_msg" data-smartmail="gmail_signature"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><div class="m_351772402919864778gmail_msg"><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><p class="m_351772402919864778gmail_msg"><font face="courier new, monospace" class="m_351772402919864778gmail_msg"><b class="m_351772402919864778gmail_msg"><i class="m_351772402919864778gmail_msg"><font size="4" class="m_351772402919864778gmail_msg">Brian West</font></i></b><br class="m_351772402919864778gmail_msg"><span style="font-size:x-small" class="m_351772402919864778gmail_msg"><a href="mailto:brian@freeswitch.org" class="m_351772402919864778gmail_msg" target="_blank">brian@freeswitch.org</a></span></font></p><br><br><p class="m_351772402919864778gmail_msg"><font size="1" face="courier new, monospace" class="m_351772402919864778gmail_msg"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png" class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></font></p><p class="m_351772402919864778gmail_msg"><font size="2" face="monospace, monospace" class="m_351772402919864778gmail_msg"><b class="m_351772402919864778gmail_msg"><i class="m_351772402919864778gmail_msg">Twitter: @FreeSWITCH , @briankwest</i></b><br class="m_351772402919864778gmail_msg"><a href="http://www.freeswitchbook.com" class="m_351772402919864778gmail_msg" target="_blank">http://www.freeswitchbook.com</a> <wbr>(50% Discount using code FreeSwitch50)<br class="m_351772402919864778gmail_msg"><a href="http://www.freeswitchcookbook.com" class="m_351772402919864778gmail_msg" target="_blank">http://www.freeswitchcookbook.<wbr>com</a> </font><span style="font-family:monospace,monospace;font-size:small" class="m_351772402919864778gmail_msg">(50% Discount using code FreeSwitch50)</span><font size="2" face="monospace, monospace" class="m_351772402919864778gmail_msg"><br class="m_351772402919864778gmail_msg"></font><a href="https://www.gofundme.com/freeswitch_ubuntu" style="font-size:12.8px" class="m_351772402919864778gmail_msg" target="_blank"><font face="monospace, monospace" class="m_351772402919864778gmail_msg">https://www.gofundme.com/<wbr>freeswitch_ubuntu</font></a></p><p class="m_351772402919864778gmail_msg"><font face="monospace, monospace" class="m_351772402919864778gmail_msg">Got Bugs? Report them <a href="https://freeswitch.org/jira" class="m_351772402919864778gmail_msg" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" class="m_351772402919864778gmail_msg" target="_blank">/r/freeswitch</a></font></p><br><br><p class="m_351772402919864778gmail_msg"><font size="2" face="monospace, monospace" class="m_351772402919864778gmail_msg"><b class="m_351772402919864778gmail_msg">T:</b>+19184209001 | <b class="m_351772402919864778gmail_msg">F:</b>+19184209002 | <b class="m_351772402919864778gmail_msg">M:</b>+1918424WEST (9378)<br class="m_351772402919864778gmail_msg"><b class="m_351772402919864778gmail_msg">Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br><br></div><br><br><br class="m_351772402919864778gmail_msg">______________________________<wbr>______________________________<wbr>_____________<br class="m_351772402919864778gmail_msg"><br><br>Professional FreeSWITCH Consulting Services:<br class="m_351772402919864778gmail_msg"><br><br><a href="mailto:consulting@freeswitch.org" class="m_351772402919864778gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br class="m_351772402919864778gmail_msg"><br><br><br class="m_351772402919864778gmail_msg"><br><br>Official FreeSWITCH Sites<br class="m_351772402919864778gmail_msg"><br><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://confluence.freeswitch.org" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://confluence.freeswitch.<wbr>org</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://www.cluecon.com" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_351772402919864778gmail_msg"><br><br><br class="m_351772402919864778gmail_msg"><br><br>FreeSWITCH-users mailing list<br class="m_351772402919864778gmail_msg"><br><br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="m_351772402919864778gmail_msg" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br class="m_351772402919864778gmail_msg"><br><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br class="m_351772402919864778gmail_msg"><br><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_351772402919864778gmail_msg"></blockquote></div><br class="m_351772402919864778gmail_msg"></div><br><br>______________________________<wbr>______________________________<wbr>_____________<br class="m_351772402919864778gmail_msg"><br>Professional FreeSWITCH Consulting Services:<br class="m_351772402919864778gmail_msg"><br><a href="mailto:consulting@freeswitch.org" class="m_351772402919864778gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_351772402919864778gmail_msg"><br><a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br class="m_351772402919864778gmail_msg"><br><br class="m_351772402919864778gmail_msg"><br>Official FreeSWITCH Sites<br class="m_351772402919864778gmail_msg"><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_351772402919864778gmail_msg"><br><a href="http://confluence.freeswitch.org" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://confluence.freeswitch.<wbr>org</a><br class="m_351772402919864778gmail_msg"><br><a href="http://www.cluecon.com" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_351772402919864778gmail_msg"><br><br class="m_351772402919864778gmail_msg"><br>FreeSWITCH-users mailing list<br class="m_351772402919864778gmail_msg"><br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="m_351772402919864778gmail_msg" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br class="m_351772402919864778gmail_msg"><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br class="m_351772402919864778gmail_msg"><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br class="m_351772402919864778gmail_msg"><br><a href="http://www.freeswitch.org" rel="noreferrer" class="m_351772402919864778gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>
</div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>