[asterisk-users] Help with dial plan - two attempts at calling agent before logging agent off?

Leo Ann Boon leo at datvoiz.com
Tue Dec 5 16:41:08 MST 2006


<snip>
>
>  
>
> I have tried setting another variable as a counter with some logic 
> tests to see the number of attempts to call the agent, but this is 
> failing as the variable appears to be lost when the call goes back to 
> the queue.
>
Local variables are destroyed once the call terminates. You'll have to 
use a global variable (yuck) or use the DB functions.

Leo


More information about the asterisk-users mailing list