<div><div dir="auto">I understand upgrading can be calling for trouble, but if your installation is too old, it’s going to worth the time, buddy.</div></div><div dir="auto"><br></div><div dir="auto">Did I understand you have PG in the core? If so what’s in the channels table when you get that empty “show calls” line?</div><div dir="auto"><br></div><div dir="auto">There have been many fixes over the years for that “no audio ports available”.</div><div dir="auto"><br></div><div dir="auto">Also how many calls are there when it starts throwing that error? And can you paste the switch.conf content?</div><div dir="auto"><br></div><div dir="auto">If after upgrading you still get that error and the amount of calls is reasonable, you may want to open a jira.</div><div dir="auto"><br></div><div dir="auto">David</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 24 Oct 2019 at 10:01, Max Solaris <<a href="mailto:s0l6r1s@gmail.com">s0l6r1s@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi David,<div>Long story, sorry..</div><div><br><div>I’m always installed FS on dedicated hardware (single node, compiled from source) and this issue really never happened in the past.</div><div>“show calls” command actually matched PostgreSQL "channels" table record count.</div><div><br></div><div>Now I changed the architecture this way.</div><div>1. THIRD PARTY SIP PROXY / on same server, central PostgreSQL database with FreeSWITCH Core db and CDRs database. Proxy is balancing traffic over</div><div>2. Number TWO freeswitches (mirrored configuration, scripts and gateways) with a custom Lua script that query central database to get customer data and routing, based on that will bridge calls</div><div>3. Delayed write CDRs with Master.csv import files</div><div><br></div><div><br></div><div>My issue is that the calls count grow too much, and I start to get on console following error “NO RTP audio available”, so only way to restore services is to restart FS on nodes.</div><div><br></div><div>I’ve even created a bash script to kill “DOWN” calls with uuid_kill looping on channels tables, but this doesn’t save me on RTP error.</div><div><br></div><div>Maybe you have some clue on how to solve this issue. I know my FS installation is old, but migration to newest version is not so seamless</div><div>Thank you so much</div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div>Max</div><div><br></div><div><div><br></div><div><br></div><div><br><blockquote type="cite"><div>Il giorno 24 ott 2019, alle ore 00:53, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>> ha scritto:</div><br><div><div><div dir="auto">Any idea at all where those calls are coming from? Are there really calls going on?</div></div><div dir="auto">In my experience (from the beginning of the project) show calls (SQLite) is not perfect and will show calls that are not really there, but doing a quick investigation will show it’s just a bogus call. You can’t even kill them with uuid_kill.</div><div dir="auto"><br></div><div dir="auto">This doesn’t happen with MySQL/Postgres in the core, for some reason.</div><div dir="auto"><br></div><div dir="auto">Is your setup by any chance on a VM?</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 23 Oct 2019 at 23:29, Max Solaris <<a href="mailto:s0l6r1s@gmail.com" target="_blank">s0l6r1s@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I’m a long time user with Freeswitch, however I’m getting a strange issue I never found over past years.<br>
<br>
<br>
If I take a look at fs_cli console and look at “show calls” result I can see a great list of calls with state:<br>
<br>
CS_INIT,,,,,,,,DOWN<br>
<br>
<br>
This call count is increasing and is eating hardware resources until CPU / MEMORY leave the server unresponsive…<br>
<br>
How to clear these “zombie calls?”<br>
Is there an explaination for calls being frozen with this state?<br>
<br>
<br>
Just to clarify I’m using FS 1.6.20 git 43a9fe with Debian 8 ( I know it’s old, but can’t update for policy reason.. )<br>
<br>
<br>
Thank you for your help, FS rocks!<br>
Max<br>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com/" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community/" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com/" rel="noreferrer" target="_blank">https://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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>
_________________________________________________________________________<br><br>The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" target="_blank">https://signalwire.com</a><br>Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>Build your next product on our scalable cloud platform.<br><br>Join our online community to chat in real time <a href="https://signalwire.community" target="_blank">https://signalwire.community</a><br><br>Professional FreeSWITCH Services<br><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br><a href="https://cluecon.com" target="_blank">https://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="https://freeswitch.com" target="_blank">https://freeswitch.com</a></div></blockquote></div><br></div></div></div>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>