[Freeswitch-users] Hello , about calculate numbers
Sergey Okhapkin
sos at sokhapkin.dyndns.org
Tue Jan 12 09:39:06 PST 2010
<action application="set" data="var=${expr(${var}+1)}"/>
On Tuesday 12 January 2010, Chia-Yen Wu wrote:
> Hello everyone,
> Is there anyway to calculate number in dialplan.xml?
>
> like example:
> <action application="set" data="var=1"/>
> and with an action , I can do : var=var+1
>
> I have tried mod_expr, but failed to catch the variable, like below:
> <action application="set" data="var=${expr($var+1)}"/>
More information about the FreeSWITCH-users
mailing list