The correct syntax for GotoIf is:

exten => _0262XXXXXX,n,GotoIf($[${GROUP_COUNT(Reunion)}>24]?500)

Otherwise it seems to evaluate the string "number > 24" which is always
true.

Duh...

Thx
JM

-- 
Jean-Michel Hiver - Synapse co-founder & CTO
GSM +262 692 828 070
_______________________________________________
-- 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