[Freeswitch-users] Call custom variable in condition
Anthony Minessale
anthony.minessale at gmail.com
Wed Oct 21 10:10:08 PDT 2009
you should not abuse it is all i mean, we have measures to limit what apps
you can use in this manner but usually requiring a more complicated dialplan
is a hint you are doing something wrong ;)
On Wed, Oct 21, 2009 at 12:02 PM, Michael Collins <msc at freeswitch.org>wrote:
>
>
> On Wed, Oct 21, 2009 at 9:39 AM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> It not only makes sense it's well documented on the wiki page.
>> The set line is not happening right when it's encountered, the set line is
>> copied into the channel and executed later after the whole dialplan is
>> parsed. The dialplan is a pre-processor not a runtime engine.
>>
>> Here is a new feature in pre-1.0.5 (svn trunk)
>>
>> Some applications like set can now be executed within the dialplan but you
>> should use it sparingly.
>> <action application="set" data="testing=true" inline="true"/>
>>
>
> I'm getting ready to document this feature. For the sake of edification,
> why is it best to use this sparingly, other than wide-spread use making
> dialplans all cluttered?
> -MC
>
>
>>
>> The inline=true makes it execute inside the dialplan and it's never copied
>> into your resulting extension because it's executed immediately.
>>
>>
>
> _______________________________________________
> 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
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091021/a21c613c/attachment-0002.html
More information about the FreeSWITCH-users
mailing list