[Freeswitch-users] sched_hangup update within active call

Stanislav Sinyagin ssinyagin at gmail.com
Wed Jun 10 12:37:42 MSD 2015


well, you're anyway already sending some commands to set or change the
scheduler, so why not also stopping the calls from external
application.

The current API only allows adding and removing tasks -- you can
search through the source code yourself. There's no such function as
modifying an existing scheduled task.



On Wed, Jun 10, 2015 at 9:46 AM, Vlad Fabi <vaad.fabi at gmail.com> wrote:
> 2 Stanislav Sinyagin,
> This mean you should need additionaly scheduler application at external
> side, that controls active calls durations updates and send only session
> kill to FS. I think such functionality is better to processed by FS side.
>
> 2 Kamil Nigmatullin,
> Maybe you remember some keywords ?
>
> On Wed, Jun 10, 2015 at 5:26 AM, Kamil Nigmatullin
> <kamil.nigmatullin at gmail.com> wrote:
>>
>> I dont remember how this variable was called but there was defenetly the
>> way to reschedule hangup during call via esl.
>>
>> 10 июня 2015 г. 3:03 пользователь "Stanislav Sinyagin"
>> <ssinyagin at gmail.com> написал:
>>
>>> you can control your calls from an external application via ESL and do
>>> uuid_kill when needed. Then you don't have to rely on timers inside
>>> FreeSWITCH.
>>>
>>> On Tue, Jun 9, 2015 at 10:23 PM, Vlad Fabi <vaad.fabi at gmail.com> wrote:
>>> > As a workaround it's ok, but for production billing solution not
>>> > sure...
>>> > Anyway thx for help
>>> >
>>> > On Tue, Jun 9, 2015 at 7:34 PM, Dušan Dragić <dragic.dusan at gmail.com>
>>> > wrote:
>>> >>
>>> >> There isn't a way to increase or decrease the time but you can delete
>>> >> the scheduled task with sched_del (find the task id with show tasks)
>>> >> and recreate it with sched_hangup.
>>> >>
>>> >> On 9 June 2015 at 16:01, Vlad Fabi <vaad.fabi at gmail.com> wrote:
>>> >> > Hi all,
>>> >> > Is it possible during active call with set sched_hangup value change
>>> >> > this
>>> >> > value to increase\decrease active call duration ?  Or maybe there is
>>> >> > another
>>> >> > elegant solution to manipulate active call duration.
>>> >> >
>>> >> > Thx
>>> >> >
>>> >> >
>>> >> >
>>> >> > _________________________________________________________________________
>>> >> > 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
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Dušan Dragić
>>> >>
>>> >>
>>> >> _________________________________________________________________________
>>> >> 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
>>> >
>>> >
>>> >
>>> >
>>> > _________________________________________________________________________
>>> > 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
>>>
>>> _________________________________________________________________________
>>> 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
>>
>>
>> _________________________________________________________________________
>> 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
>
>
>
> _________________________________________________________________________
> 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



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list