[Freeswitch-users] inline syntax in ESL
Peter Olsson
peter.olsson at visionutveckling.se
Mon Mar 28 11:05:21 MSD 2011
Yes, exactly. uuid_setvar will set the variable before it returns an answer back to ESL client. Execute/set will return immediately and queue the application to the channel, so it will be executed next time it checks the queue in the loop (so, usually 20ms delay).
/Peter
-----Ursprungligt meddelande-----
Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Madovsky
Skickat: den 28 mars 2011 08:42
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] inline syntax in ESL
good to know, thanks Peter.
you mean uuid_setvar for ex ?
----- Original Message -----
From: "Peter Olsson" <peter.olsson at visionutveckling.se>
To: <freeswitch-users at lists.freeswitch.org>
Sent: Monday, March 28, 2011 2:22 AM
Subject: Re: [Freeswitch-users] inline syntax in ESL
execute/set will queue to the channel, api setvar will set immediately.
/Peter
----- Reply message -----
Från: "Madovsky" <infos at madovsky.org>
Datum: mån, mar 28, 2011 08:18
Rubrik: [Freeswitch-users] inline syntax in ESL
Till: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
ah ok,
> as soon as you execute the app then the
> channel variable is set. Are you not seeing that happen?
no the var is empty, nevermind as you said I can set it in the dialplan,
but the logical will be less accurate.
Thanks
----- Original Message -----
From: "Michael Collins" <msc at freeswitch.org>
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Sent: Monday, March 28, 2011 2:03 AM
Subject: Re: [Freeswitch-users] inline syntax in ESL
> I'm pretty sure that "inline" does not apply here as that is a
> dialplan convention. IIRC, as soon as you execute the app then the
> channel variable is set. Are you not seeing that happen?
>
> -MC
>
> On Sun, Mar 27, 2011 at 10:57 PM, Madovsky <infos at madovsky.org> wrote:
>> I send msg from my esl script as the wiki says
>>
>> SendMsg <uuid>
>> call-command: execute
>> execute-app-name: set
>> execute-app-arg: myvar=yes
>>
>> where I put "inline=true" ?
>>
>> ----- Original Message -----
>> From: "Michael Collins" <msc at freeswitch.org>
>> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
>> Sent: Monday, March 28, 2011 1:46 AM
>> Subject: Re: [Freeswitch-users] inline syntax in ESL
>>> Can you expand upon this question a bit? What is the scenario?
>>> -MC
>>>
>>> On Sun, Mar 27, 2011 at 10:24 PM, Madovsky <infos at madovsky.org> wrote:
>>>> I'm looking for to set an inline variable in ESL message format.
>>>> any example ?
>>>>
>>>> Thanks
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
!DSPAM:4d902e7032761142636022!
More information about the FreeSWITCH-users
mailing list