Hi,

how I can decrement the value of GROUP_COUNT() by one after I have before used 
GROUP(), so that other channel will get the correct value of GROUP_COUNT().


for examaple

exten => _X!,n,Set(GROUP()=${Provider})
exten => _X!,n,DIAL(SIP/${ext...@${provider})

When Dialstatus is CONGESTION I want to dial again with another provider but I 
have to decrement the GROUP of the unused provider.

If there is no function, woud it be possible to call GROUP() in the Macro 
called by the DIAL command if DIALSTATUS is ANSWERED?

Or do I have to progamm it outside with AGI?

best regards
Thomas





_______________________________________________
-- 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