[Freeswitch-users] Stupid question ;-)
Tamas Cseke
cstomi.levlist at gmail.com
Wed Apr 28 02:08:19 PDT 2010
I think you should try expr api from mod_expr
Try this: <action application="set"
data="input_fail_counter=${expr(${input_fail_counter}+1)}"/>
patrick wrote:
> I have some var:
> <action application="set" data="input_fail_counter=0"/>
>
> And in some moment I want to increase it by 1. I try this way:
> <action application="set"
> data="input_fail_counter=${input_fail_counter}+1"/>
> And have result input_fail_counter=0+1 i.e. just string merge...
>
> How to handle it right way in dialplan?
>
>
More information about the FreeSWITCH-users
mailing list