[Freeswitch-users] Using park_timeout with uuid_park

Siri MM sirimmfs at gmail.com
Mon Feb 3 09:37:32 MSK 2014


Thanks Anthony,

I tried modifying the cmd to:
cmd = "uuid_setvar "..uuid.." park_timeout=10";

However, uuid_setvar doesn't seem to be having any effect on the park
timeout (although the result of the command is +OK).


On Thu, Jan 30, 2014 at 11:37 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> cmd = "uuid_setvar "..uuid.." park_timeout=10";
>
>
> On Wed, Jan 29, 2014 at 4:36 PM, Siri MM <sirimmfs at gmail.com> wrote:
>
>> Hi,
>>
>> Would appreciate any inputs.. Thanks!
>>
>>
>> On Wed, Jan 29, 2014 at 4:21 PM, Siri MM <sirimmfs at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I have a lua script which parks a leg using uuid_park
>>>
>>> I would like to restrict the amount of time that the leg is parked. In
>>> order to achieve this, I tried using park_timeout as follows:
>>>
>>> cmd = "uuid_setvar "..uuid.." park_timeout 10";
>>> api:executeString(cmd);
>>> api:execute("uuid_park", uuid);
>>>
>>> However, the parked call doesn't seem to timeout. Am I missing something?
>>>
>>> Thanks!
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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
>>
>>
>
>
> --
> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
> <http://freeswitch.org/g+>*
>
> ClueCon Weekly Development Call
> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140203/77fd6b46/attachment.html 


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