[Asterisk-Users] autologoff dynamic agents

Paulo Mannheimer paulohm at instant.com.br
Thu Sep 11 06:10:43 MST 2003


Take it off by using ${CHANNEL:0:8} or something like this.


-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Brian West
Sent: September 11, 2003 9:59 AM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] autologoff dynamic agents


${CHANNEL} doesn't work because it contains their uniqueid on the end
such as SIP/111-asdf

bkw

On Thu, 11 Sep 2003, Adam Goryachev wrote:

> I use a single queue for all incoming calls, and different people 
> login at different times to handle the calls, however, quite often, 
> people forget to logout again (incl me). This causes problems because 
> eventually everyone has gone home, and people end up sitting in the 
> queue in-definitely...
>
> I use this in extensions.conf
>
> exten => 691,1,AddQueueMember(queue,${CHANNEL})
>
> So, how can I have 'members' autologoff from the queue if they haven't

> answered the ringing phone?
>
> I already have this in queues.conf
> timeout = 15
> retry = 5
>
> and in agents.conf (though it doesn't really use agents ...) 
> autologoff=30
>
> Also, it would be nice to be able to have agents defined, but if NO 
> agents and NO members were logged in, then the call wouldn't even 
> enter the queue, but continue the dialplan....
>
> (ie, this works already if you don't use agents/members in queues.conf

> only dynamic members).
>
> Regards,
> Adam
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com 
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list