Tzafrir Cohen wrote:
> Style nitpicking:
>
> exten => s,1,Set(COUNT=$[${COUNT} + 1])
> exten => s,n,NoOP(${COUNT})
> exten => s,n,GotoIf($[ ${COUNT} > 3 ]?endloop)
> exten => s,n,Goto(1)
> exten => s,n(endloop),NoOp(Loop ended)
>
>   

You forgot to initialize your variable.

Set(COUNT=0)

*smirk*

Doug


-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety."



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to