[Freeswitch-users] Freeswitch API access
deepikay at iiitd.ac.in
Fri Jun 23 16:18:18 UTC 2017
Yes, there is python based server that receives requests from Android apps.
Based on a particular request, it initiates a conference call among a set
of users over cellular network. As soon as a new request comes, the server
starts a new thread that listens to Freeswitch events required for taking
some actions for this conference.
I was just worried about the case where multiple requests come making the
server call multiple "originate API" with small gap leading to some kind of
problem at the Freeswitch side.
On Fri, Jun 23, 2017 at 9:37 PM, Giovanni Maruzzelli <gmaruzz at gmail.com>
> On 23 June 2017 at 18:02, Deepika Yadav <deepikay at iiitd.ac.in> wrote:
>> I have a scenario where multiple conferences are established among users.
>> This is achieved through python programs over ESL. For each conference, a
>> new thread is created. So, should I also use locks before firing originate
>> calls APIs?
> A new thread is created where by who? A new Python thread in your app?
> Which locks? On what? And why?
> You do not need any interprocess thing on FreeSWITCH side. FS will spawn
> internal threads to make outbound calls in parallel...
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> Official FreeSWITCH Sites
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
> Giovanni Maruzzelli
> cell: +39 347 266 56 18
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users