On 23 June 2017 at 18:30, Deepika Yadav <deepikay@iiitd.ac.in> wrote:
Thanks for the information.
btw, Deepika, I had a look at your web page at IIT (I gave a little conference there many years ago, iirc). Maybe you can find the "Freedomfone" project interesting... http://freedomfone.org/ Is probably a little old but... Best wishes for your PHD, and please let us know how it goes, etc -giovanni
Regards, Deepika
On Fri, Jun 23, 2017 at 9:55 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
On 23 June 2017 at 18:19, Deepika Yadav <deepikay@iiitd.ac.in> wrote:
Here the locks are simple Python locks to safeguard the execution of API.
On Fri, Jun 23, 2017 at 9:48 PM, Deepika Yadav <deepikay@iiitd.ac.in> wrote:
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.
No problems at all. FreeSWITCH is a massively threaded server, each thing is in its own thread, no need to serialize them at all.
-giovanni
Regards, Deepika
On Fri, Jun 23, 2017 at 9:37 PM, Giovanni Maruzzelli <gmaruzz@gmail.com
wrote:
On 23 June 2017 at 18:02, Deepika Yadav <deepikay@iiitd.ac.in> wrote:
Hi,
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...
-giovanni
Regards Deepika https://www.iiitd.edu.in/~deepikay/
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
--
Sincerely,
Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
-- Regards Deepika https://www.iiitd.edu.in/~deepikay/
-- Regards Deepika https://www.iiitd.edu.in/~deepikay/
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Sincerely,
Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards Deepika https://www.iiitd.edu.in/~deepikay/
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18