[Freeswitch-users] Hello , about calculate numbers

Chia-Yen Wu xanlich at gmail.com
Tue Jan 12 09:08:08 PST 2010


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)}"/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100113/2b737da7/attachment-0002.html 


More information about the FreeSWITCH-users mailing list