Re: [Asterisk-Users] Going to voicemail instead of queue if no agent is logged in ?

2004-09-03 Thread Kurt Bauer
Hi, I did this the following way: -) define a global variable -> AGENTS_AVAIL=0 -) when agent logs in increment -> SetGlobalVar(AGENTS_AVAIL=$[${AGENTS_AVAIL} + 1]); -) when agent logs off decrement -> SetGlobalVar(AGENTS_AVAIL=$[${AGENTS_AVAIL} - 1]); -) when queue is called evaluate and goto la

[Asterisk-Users] Going to voicemail instead of queue if no agent is logged in ?

2004-08-31 Thread Robert Rozman
Hi, I'd like to implement scenario to send user to operator's queue by default (if doesn't dial any extension) but only if there is operator agent logged, so user could get response. If not I'd like to send it to voicemail... Any quick advice ? Thanks in advance, Robert. __