[Freeswitch-users] Stupid question ;-)

patrick patrick at speechpro.com
Wed Apr 28 02:30:21 PDT 2010


Thank you!!! It works!!!


Tamas Cseke пишет:
> 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?
>>
>>   
>>     
>
>
>
>
> _______________________________________________
> 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
>
>   

-- 
С уважением,

Равальдини Патрик Стефанович
Инженер по тестированию
ООО «Центр речевых технологий»
Тел.: (812) 325-8848, доб. 6736
Факс: (812) 327-9297
E-mail: patrick at speechpro.com
http://www.speechpro.ru




More information about the FreeSWITCH-users mailing list