[Freeswitch-users] CS_INIT,,,,,,,,DOWN

David Villasmil david.villasmil.work at gmail.com
Thu Oct 24 16:02:27 UTC 2019


Those look like calls initiating,

https://github.com/signalwire/freeswitch/blob/15ad4c23e259c1c2dff58f89e9124e5f36dd2e94/src/switch_channel.c


On Thu, 24 Oct 2019 at 13:23, Max Solaris <s0l6r1s at gmail.com> wrote:

> Hi David,
> I will try to convince support team to update to latest version on my
> Debian 8 servers.
> Hope any of these problems will be fixed..
>
> Just to better understand the reason what means CS_INIT and DOWN together,
> are some call attempts that hang up for some reason?
>
> Thanks
> Max
>
>
>
> Il giorno 24 ott 2019, alle ore 12:49, David Villasmil <
> david.villasmil.work at gmail.com> ha scritto:
>
> I understand upgrading can be calling for trouble, but if your
> installation is too old, it’s going to worth the time, buddy.
>
> 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?
>
> There have been many fixes over the years for that “no audio ports
> available”.
>
> Also how many calls are there when it starts throwing that error? And can
> you paste the switch.conf content?
>
> If after upgrading you still get that error and the amount of calls is
> reasonable, you may want to open a jira.
>
> David
>
> On Thu, 24 Oct 2019 at 10:01, Max Solaris <s0l6r1s at gmail.com> wrote:
>
>> Hi David,
>> Long story, sorry..
>>
>> I’m always installed FS on dedicated hardware (single node, compiled from
>> source) and this issue really never happened in the past.
>> “show calls” command actually matched PostgreSQL "channels" table record
>> count.
>>
>> Now I changed the architecture this way.
>> 1. THIRD PARTY SIP PROXY /  on same server, central PostgreSQL database
>> with FreeSWITCH Core db and CDRs database. Proxy is balancing traffic over
>> 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
>> 3. Delayed write CDRs with Master.csv import files
>>
>>
>> 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.
>>
>> 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.
>>
>> 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
>> Thank you so much
>> Max
>>
>>
>>
>>
>> Il giorno 24 ott 2019, alle ore 00:53, David Villasmil <
>> david.villasmil.work at gmail.com> ha scritto:
>>
>> Any idea at all where those calls are coming from? Are there really calls
>> going on?
>> 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.
>>
>> This doesn’t happen with MySQL/Postgres in the core, for some reason.
>>
>> Is your setup by any chance on a VM?
>>
>>
>> On Wed, 23 Oct 2019 at 23:29, Max Solaris <s0l6r1s at gmail.com> wrote:
>>
>>> Hi,
>>> I’m a long time user with Freeswitch, however I’m getting a strange
>>> issue I never found over past years.
>>>
>>>
>>> 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:
>>>
>>> CS_INIT,,,,,,,,DOWN
>>>
>>>
>>> This call count is increasing and is eating hardware resources until CPU
>>> / MEMORY leave the server unresponsive…
>>>
>>> How to clear these “zombie calls?”
>>> Is there an explaination for calls being frozen with this state?
>>>
>>>
>>> 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.. )
>>>
>>>
>>> Thank you for your help, FS rocks!
>>> Max
>>> _________________________________________________________________________
>>>
>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>>> services.
>>> Build your next product on our scalable cloud platform.
>>>
>>> Join our online community to chat in real time
>>> https://signalwire.community
>>>
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://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
>>> https://freeswitch.com
>>
>> --
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>>
>>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com

-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191024/6761c075/attachment-0001.html>


More information about the FreeSWITCH-users mailing list