[Freeswitch-users] Freeswitch API access

Deepika Yadav deepikay at iiitd.ac.in
Fri Jun 23 16:30:33 UTC 2017


Thanks for the information.

Regards,
Deepika

On Fri, Jun 23, 2017 at 9:55 PM, Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:

>
>
> On 23 June 2017 at 18:19, Deepika Yadav <deepikay at 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 at 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 at gmail.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> On 23 June 2017 at 18:02, Deepika Yadav <deepikay at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170623/b2111a33/attachment-0001.html>


More information about the FreeSWITCH-users mailing list