[Freeswitch-users] ESL connection lost to FS

Brian West brian at freeswitch.com
Mon Apr 22 12:54:15 UTC 2019


You're doing the CDR collection inline or what are you speaking of exactly?

On Mon, Apr 22, 2019 at 2:29 AM Neil Patel <neilp at cs.stanford.edu> wrote:

> Hi all, I have a fresh server running FS 1.8 from package on Debian 9. It
> runs a python app connecting to FS using ESL that executes this code per
> call attempt:
>
> c = ESLconnection(str(settings.ESL_HOSTNAME), str(settings.ESL_PORT),
> str(settings.ESL_PASSWORD))
> if not c.connected():
>     abort()
> dial_command = "originate …"
> ev = c.api("bgapi", str(dial_command))
> c.disconnect()
> if ev:
>     result = ev.serialize()
>     logger.debug('API result = {}'.format(result))
>
>
> When we ran 350K call test, 70K calls got to this code and failed the
> final if condition, meaning ev was None. No CDR generated.
>
> This is totally an unexpected error case for us after tens of millions of
> calls over last 3 years on our other servers. Any idea why this is
> happening? The only difference I can see is we’ve not seen this issue on FS
> 1.6 (built from source), so maybe it’s introduced in 1.8 (run from
> package)? FYI we've built pyESL from source, which is what's recommended
> here. Any chance there is an incompatibility between pyESL built from
> source and FS 1.8 installed from package?
>
> Thanks,
> Neil
>
> This question reproduced from Slack
> <https://signalwire-community.slack.com/archives/CDC8H14PN/p1555508784091900>
> where I didn't get a response
>
> _________________________________________________________________________
>
> 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



-- 

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>

[image: https://www.facebook.com/signalwireinc?src=email]
<https://www.facebook.com/freeswitch> [image:
https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190422/4261d0f3/attachment.html>


More information about the FreeSWITCH-users mailing list