[Home]

Summary:ASTERISK-04224: [patch] Add Auto Member Logout Support
Reporter:Gregory Hinton Nietsky (irroot)Labels:
Date Opened:2005-05-19 01:48:46Date Closed:2011-06-07 14:05:25
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_queue_autologout.patch
( 1) app_queue_autologout.patch.fix
Description:the idea behind the patch im working on is to supply a "autologout" option per queue this will kick in when a call is not awnswerd and at least autologout seconds has transpired since lastcall [hangup of last call taken].

****** ADDITIONAL INFORMATION ******

it is nearly functional any takers ??
Comments:By: Kevin P. Fleming (kpfleming) 2005-05-19 11:22:21

app_queue does not support login/logout at all.. are you doing this in chan_agent?

By: Johann Hoehn (johann) 2005-05-19 11:36:51

Sounds, like he wants to have an autologoff feature for dynamic queue members.

By: Kevin P. Fleming (kpfleming) 2005-05-19 11:56:18

Well, there are ways to achieve similar functionality now, by having the queue actually dial a Local channel and building the appropriate logic in the dialplan to record the agent's lack of answers and report 'busy' back to app_queue until the agent does something to clear that condition.

By: Gregory Hinton Nietsky (irroot) 2005-05-19 11:57:34

yip in app_queue for dynamic agents ill put up the patch soon all im doing is calling

remove_from_queue(qe->parent->name,outgoing->member->interface);

when the user rings out [timeout] if he has been idle long enough [autologout] seconds he will be removed from the queue this should be configrable per queue in queues.conf



By: Gregory Hinton Nietsky (irroot) 2005-05-19 17:00:11

ok this is working and in service it does the following

1)if a call to a member times out and the autologout option is set for the queue and he has yet to take a call he is logged out automagicaly with a idletime of 0

2)if a call to a member times out and the autologout option is set for the queue and the last closed call for that member is more than autologout seconds ago he is automagicialy logged out with a idle time the number of seconds since closing his last call

i belive this second option idle time should be time since last call plus wrapuptime to be more correct ie concider the lastcall closed wrapuptime seconds after the call is hungup ????

By: Russell Bryant (russell) 2005-05-23 19:28:25

There is no need to have a LOG_NOTICE and VERBOSE message that say the same thing. I would say just keep the verbose message, and drop the NOTICE.

By: Clod Patry (junky) 2005-06-09 18:09:57

Based on last drumkilla note, could you make a new patch please?

By: Gregory Hinton Nietsky (irroot) 2005-06-19 13:04:18

as requested a new patch as app_queue has changed quite a bit it is required...

By: Olle Johansson (oej) 2005-07-18 14:46:13

Queue members does not login or logout, I agree with Kevin. This should be called "autodisable" since you actually disable a queue member. Only agents do login and logout.

Also, have you checked Kevin's comment that this is doable in the dialplan, he propably refers to the new Pausequeuemember apps?

/O

By: Michael Jerris (mikej) 2005-07-25 22:32:28

suspended due to no response in a week+, and no activity.  Also, I see no mention of a disclaimer anyhwere here.  Please verify disclaimer, make needed updates and changes from comments, and for current cvs head, and re-open if you wish to persue this, even based upon the comments in regards to ability to do this in the dialplan.  I personally feel this is useful.