Hi Danny, Sorry for the late reply. You understood it exactly right, but there is a problem. I don't have agents, I have members. I would like something similar to the application AgentCallbackLogin. I am not using AgentCallbackLogin because it was removed in asterisk 1.6.
I changed my call-limit to one, and the same problem continues when I restart asterisk. Have you any moore ideias to solve this problem? Thanks in advance, Alex 2009/10/30 Danny Nicholas <da...@debsinc.com>: > To make sure I understand the question: > Problem: when I restart asterisk all the members of the queue are Invalid. > > Things I've tried: > A. When I make a call to one of the members, of the queue, and then check > the state, it turns to "Not in use" for the called phone, and > the queue works fine for that member after. > > B. After doing a module reload of the app_queue.so all the members > turn to state "Not in use" and the queue works has expected. > > C. When the members, of the queue, do a sip registration the state > also alters to "Not in use" and the queue works fine. > > D. I have added in the sip.conf "limitonpeer = yes" and > "call-limit=10" for a better state update of the members. > > Here are some things I would suggest: > 1. Change your call-limit to 3 or 5 (your agents each have 5 lines?) > 2. Make your agents "aggressively" register on a restart (every 90 seconds > or so; sip.conf setting) > 3. Make a "call batch" to do a quick call to each line on startup. > Depending on the phone, you can make a call that "auto-answers" and hangs > up, so no agent action is needed. > > > -----Original Message----- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alexandre > Rodrigues > Sent: Friday, October 30, 2009 8:24 AM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] Queue device state problem > > hello all, > > I have asterisk 1.4.26 working on CentOS 5.3 and I have the following > problem: > > - when I restart asterisk all the members of the queue are Invalid. > > - when I make a call to one of the members, of the queue, and then > check the state, it turns to "Not in use" for the called phone, and > the queue works fine for that member after. > > - after doing a module reload of the app_queue.so all the members > turn to state "Not in use" and the queue works has expected. > > - when the members, of the queue, do a sip registration the state > all so alters to "Not in use" and the queue works fine. > > - I have added in the sip.conf "limitonpeer = yes" and > "call-limit=10" for a better state update of the members. > > Question: > > Is there a simple way of solving my problem without having to do a > module reload of the app_queue.so or having a small sip > re-registration period? > > > thanks in advance. > > Alex > > _______________________________________________ > -- 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 > > > _______________________________________________ > -- 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 > _______________________________________________ -- 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