Phil Knighton wrote:
> exten => i,1,Set(trips=$[${trips} + 1])
> exten => i,2,Goto(s,7)
i=invalid, t=timeout
exten => t,1,Set(trips=$[${trips} + 1])
You'll also want to initialize ${trips} with a Set(trips=0) at the beginning of
your routine.
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