<div dir="ltr">Thx for this useful info.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 12, 2015 at 1:42 AM, Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I added an explanation to Confluence: <a href="https://goo.gl/WbKTH0" rel="noreferrer" target="_blank">https://goo.gl/WbKTH0</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Wed, Jun 10, 2015 at 12:59 PM, Kamil Nigmatullin<br>
<<a href="mailto:kamil.nigmatullin@gmail.com">kamil.nigmatullin@gmail.com</a>> wrote:<br>
> Stanislav, IT IS possible to make call longer by using sched_del and fire<br>
> agian sched_hangup.<br>
><br>
> This is the peace of code that works for me.<br>
><br>
><br>
> var cmd = 'sched_del '+ channel;<br>
><br>
> client.conn.bgapi(cmd, function(event){<br>
> cmd = "sched_hangup +"+ timeout + " " + channel;<br>
> client.conn.bgapi(cmd, function(event){<br>
> console.log(event.getBody());<br>
> });<br>
> });<br>
><br>
><br>
> 2015-06-10 15:00 GMT+06:00 Kamil Nigmatullin <<a href="mailto:kamil.nigmatullin@gmail.com">kamil.nigmatullin@gmail.com</a>>:<br>
>><br>
>> Yes, maybe, I didn't try make it longer.<br>
>><br>
>> 2015-06-10 14:37 GMT+06:00 Stanislav Sinyagin <<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>>:<br>
>>><br>
>>> well, you're anyway already sending some commands to set or change the<br>
>>> scheduler, so why not also stopping the calls from external<br>
>>> application.<br>
>>><br>
>>> The current API only allows adding and removing tasks -- you can<br>
>>> search through the source code yourself. There's no such function as<br>
>>> modifying an existing scheduled task.<br>
>>><br>
>>><br>
>>><br>
>>> On Wed, Jun 10, 2015 at 9:46 AM, Vlad Fabi <<a href="mailto:vaad.fabi@gmail.com">vaad.fabi@gmail.com</a>> wrote:<br>
>>> > 2 Stanislav Sinyagin,<br>
>>> > This mean you should need additionaly scheduler application at external<br>
>>> > side, that controls active calls durations updates and send only<br>
>>> > session<br>
>>> > kill to FS. I think such functionality is better to processed by FS<br>
>>> > side.<br>
>>> ><br>
>>> > 2 Kamil Nigmatullin,<br>
>>> > Maybe you remember some keywords ?<br>
>>> ><br>
>>> > On Wed, Jun 10, 2015 at 5:26 AM, Kamil Nigmatullin<br>
>>> > <<a href="mailto:kamil.nigmatullin@gmail.com">kamil.nigmatullin@gmail.com</a>> wrote:<br>
>>> >><br>
>>> >> I dont remember how this variable was called but there was defenetly<br>
>>> >> the<br>
>>> >> way to reschedule hangup during call via esl.<br>
>>> >><br>
>>> >> 10 июня 2015 г. 3:03 пользователь "Stanislav Sinyagin"<br>
>>> >> <<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>> написал:<br>
>>> >><br>
>>> >>> you can control your calls from an external application via ESL and<br>
>>> >>> do<br>
>>> >>> uuid_kill when needed. Then you don't have to rely on timers inside<br>
>>> >>> FreeSWITCH.<br>
>>> >>><br>
>>> >>> On Tue, Jun 9, 2015 at 10:23 PM, Vlad Fabi <<a href="mailto:vaad.fabi@gmail.com">vaad.fabi@gmail.com</a>><br>
>>> >>> wrote:<br>
>>> >>> > As a workaround it's ok, but for production billing solution not<br>
>>> >>> > sure...<br>
>>> >>> > Anyway thx for help<br>
>>> >>> ><br>
>>> >>> > On Tue, Jun 9, 2015 at 7:34 PM, Dušan Dragić<br>
>>> >>> > <<a href="mailto:dragic.dusan@gmail.com">dragic.dusan@gmail.com</a>><br>
>>> >>> > wrote:<br>
>>> >>> >><br>
>>> >>> >> There isn't a way to increase or decrease the time but you can<br>
>>> >>> >> delete<br>
>>> >>> >> the scheduled task with sched_del (find the task id with show<br>
>>> >>> >> tasks)<br>
>>> >>> >> and recreate it with sched_hangup.<br>
>>> >>> >><br>
>>> >>> >> On 9 June 2015 at 16:01, Vlad Fabi <<a href="mailto:vaad.fabi@gmail.com">vaad.fabi@gmail.com</a>> wrote:<br>
>>> >>> >> > Hi all,<br>
>>> >>> >> > Is it possible during active call with set sched_hangup value<br>
>>> >>> >> > change<br>
>>> >>> >> > this<br>
>>> >>> >> > value to increase\decrease active call duration ? Or maybe<br>
>>> >>> >> > there is<br>
>>> >>> >> > another<br>
>>> >>> >> > elegant solution to manipulate active call duration.<br>
>>> >>> >> ><br>
>>> >>> >> > Thx<br>
>>> >>> >> ><br>
>>> >>> >> ><br>
>>> >>> >> ><br>
>>> >>> >> ><br>
>>> >>> >> > _________________________________________________________________________<br>
>>> >>> >> > Professional FreeSWITCH Consulting Services:<br>
>>> >>> >> > <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> >>> >> > <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>> >>> >> ><br>
>>> >>> >> > Official FreeSWITCH Sites<br>
>>> >>> >> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> >>> >> > <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
>>> >>> >> > <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
>>> >>> >> ><br>
>>> >>> >> > FreeSWITCH-users mailing list<br>
>>> >>> >> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >>> >> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >>> >> ><br>
>>> >>> >> ><br>
>>> >>> >> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >>> >> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> >>> >><br>
>>> >>> >><br>
>>> >>> >><br>
>>> >>> >> --<br>
>>> >>> >> Dušan Dragić<br>
>>> >>> >><br>
>>> >>> >><br>
>>> >>> >><br>
>>> >>> >> _________________________________________________________________________<br>
>>> >>> >> Professional FreeSWITCH Consulting Services:<br>
>>> >>> >> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> >>> >> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>> >>> >><br>
>>> >>> >> Official FreeSWITCH Sites<br>
>>> >>> >> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> >>> >> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
>>> >>> >> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
>>> >>> >><br>
>>> >>> >> FreeSWITCH-users mailing list<br>
>>> >>> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >>> >><br>
>>> >>> >><br>
>>> >>> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >>> >> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> > _________________________________________________________________________<br>
>>> >>> > Professional FreeSWITCH Consulting Services:<br>
>>> >>> > <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> >>> > <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>> >>> ><br>
>>> >>> > Official FreeSWITCH Sites<br>
>>> >>> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> >>> > <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
>>> >>> > <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
>>> >>> ><br>
>>> >>> > FreeSWITCH-users mailing list<br>
>>> >>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >>> ><br>
>>> >>> ><br>
>>> >>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >>> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> >>><br>
>>> >>><br>
>>> >>> _________________________________________________________________________<br>
>>> >>> Professional FreeSWITCH Consulting Services:<br>
>>> >>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> >>> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>> >>><br>
>>> >>> Official FreeSWITCH Sites<br>
>>> >>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> >>> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
>>> >>> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
>>> >>><br>
>>> >>> FreeSWITCH-users mailing list<br>
>>> >>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >>><br>
>>> >>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> _________________________________________________________________________<br>
>>> >> Professional FreeSWITCH Consulting Services:<br>
>>> >> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> >> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>> >><br>
>>> >> Official FreeSWITCH Sites<br>
>>> >> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> >> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
>>> >> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
>>> >><br>
>>> >> FreeSWITCH-users mailing list<br>
>>> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >><br>
>>> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > _________________________________________________________________________<br>
>>> > Professional FreeSWITCH Consulting Services:<br>
>>> > <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> > <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>> ><br>
>>> > Official FreeSWITCH Sites<br>
>>> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> > <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
>>> > <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
>>> ><br>
>>> > FreeSWITCH-users mailing list<br>
>>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> ><br>
>>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>>> _________________________________________________________________________<br>
>>> Professional FreeSWITCH Consulting Services:<br>
>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>><br>
>>> Official FreeSWITCH Sites<br>
>>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
>>> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Kamil Nigmatullin<br>
>> Tel: 77272323748<br>
>> mob: 7 (707) 2517003<br>
>> Skype: kamil.nigmatullin<br>
><br>
><br>
><br>
><br>
> --<br>
> Kamil Nigmatullin<br>
> Tel: 77272323748<br>
> mob: 7 (707) 2517003<br>
> Skype: kamil.nigmatullin<br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></div></div></blockquote></div><br></div>