[Freeswitch-users] Cron-like execution in FS

David Villasmil david.villasmil.work at gmail.com
Wed Feb 10 13:44:39 UTC 2021


Not sure what you're asking

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Wed, Feb 10, 2021 at 1:04 PM Jurijs Ivolga <jurijs.ivolga at gmail.com>
wrote:

> Hi,
>
> I do this in following way:
>
> First I check with lua script if a call is allowed and there are credits
> and I reserve credits for n seconds. Then I bridge with
> "api_on_answer=luarun myscript.lua". This will execute the myscript.lua
> when a call is answered and then inside that script every n seconds I try
> to reserve more seconds, if not then the call is hung up, because of the
> scheduler.
>
> With kind regards,
>
> Jurijs
>
>
> On Wed, Feb 10, 2021 at 2:42 PM hrhashmi <hamid2kviii at hotmail.com> wrote:
>
>> I need Cron-Like Execution in FS to do online Billing. Is there any
>> method to
>> do that?
>>
>> When the Call is answered, I need to execute an API after every specific
>> time of duration to bill consumed second and taking permission to keep the
>> call answered for the next specific duration of time.
>>
>> Regards
>> Hamid R. Hashmi
>>
>>
>>
>> --
>> Sent from: http://freeswitch-users.2379917.n2.nabble.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
>
> _________________________________________________________________________
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210210/9eb24b9d/attachment-0001.html>


More information about the FreeSWITCH-users mailing list