Hello all, I have an application where I am attempting to use Agents and CallQueues to distribute inbound calls to remote users on cell phones. The system works quite well, except for one annoying thing that I cannot figure out. I have read just about everything that I can find about the function, and I'm still not getting it. I've even read through the source code. First, the obligatory config files: Agents.conf [agents] agent => 2165551212,1234,Gregory Boehnlein (Cell) Queues.conf [general] ; nothing here [demo] member => Agent/2165551212 strategy = ringall timeout = 30 retry = 10 Extensions.conf [411-demo] exten => 411,1,Answer exten => 411,2,Wait,2 exten => 411,3,SayDigits(411) exten => 411,4,BackGround(auth-thankyou) exten => 411,5,Queue(demo) exten => *6,1,AgentCallbackLogin(@411-demo) exten => 2165551212,1,Dial(Zap/g1/2165551212) Pretty simple setup; 1. Agent calls in to a main number and hits "*6" to login. 2. Agent is immediately played the "agent-incorrect" file 3. Agent then does logs in as normal and everything works as planned. What I am trying to understand is "Why is the agent being greeted with the 'agent-incorrect' message? Is it because the extensions are really nothing more Dial commands to PSTN devices? -- Vice President of N2Net, a New Age Consulting Service, Inc. Company http://www.n2net.net Where everything clicks into place! KP-216-121-ST
On Tue, 24 Feb 2004, Greg Boehnlein wrote:> Hello all, > I have an application where I am attempting to use Agents and > CallQueues to distribute inbound calls to remote users on cell phones. The > system works quite well, except for one annoying thing that I cannot > figure out. I have read just about everything that I can find about the > function, and I'm still not getting it. I've even read through the source > code.Total silence? :) -- Vice President of N2Net, a New Age Consulting Service, Inc. Company http://www.n2net.net Where everything clicks into place! KP-216-121-ST
I believe this is what you want something similar to: Queues.conf: Member => Agent/000 Agents.conf: (I also added a patch from ?someone? To play a file before call is accepted) Agent => 000,,Test Agent (This agent has NO password) Extensions.conf [test] Exten => 1000,1,AgentCallBackLogin(000,17325551212@outboundcontext) Exten => 1000,2,Hangup (First number being the agent number, second number being the persons cell phone number and after the @ is the context that has the dial plan to dial that persons cell phone number) To place a person in that queue: Exten => 1,1,Queue(testqueue,n,t) (Option n means don't follow timeout, continue to next step) The reason I do this... Most people pick there cell phone up in the first 20 seconds or less, anything else they have no service, got voice mail, etc. I have multiple queue statements: Exten => 1,1,Queue(testqueue,n,t) Exten => 1,2,Queue(testqueue,n,t) Exten => 1,3,Queue(testqueue,n,t) In between each one I can have it play a file? (Sorry to keep you holding, someone will be right with you!) Etc. I can add a priority 4 in this case and have a voicemail greeting if after a total of x calls to all the agents logged in, no one accepted the call. This method works great. Sincerely, Matthew Marlowe Gear 3 Technologies, LLC 609.252.1155 x614 www.gear3.com |||| (00) >< Choose a job you love, and you will /||\ never have to work a day in your life. =/\-----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Peer Oliver schmidt Sent: Wednesday, February 25, 2004 5:31 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Understanding AgentCallbackLogin Greg Boehnlein wrote:> On Tue, 24 Feb 2004, Greg Boehnlein wrote: > > >>Hello all, >> I have an application where I am attempting to use Agents and >>CallQueues to distribute inbound calls to remote users on cell phones.>>The system works quite well, except for one annoying thing that I >>cannot figure out. I have read just about everything that I can find >>about the function, and I'm still not getting it. I've even read >>through the source code. > > > Total silence? :)Maybe nobody understands what your problem is. What is the annoying thing you can't figure out? rgds pos _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Post your configs, maybe we can help. :) Sincerely, Matthew Marlowe Gear 3 Technologies, LLC 609.252.1155 x614 www.gear3.com |||| (00) >< Choose a job you love, and you will /||\ never have to work a day in your life. =/\ -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Greg Boehnlein Sent: Wednesday, February 25, 2004 9:25 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Understanding AgentCallbackLogin On Wed, 25 Feb 2004, Peer Oliver schmidt wrote:> Greg Boehnlein wrote: > > > On Tue, 24 Feb 2004, Greg Boehnlein wrote: > > > > > >>Hello all, > >> I have an application where I am attempting to use Agents and > >>CallQueues to distribute inbound calls to remote users on cell > >>phones. The system works quite well, except for one annoying thing > >>that I cannot figure out. I have read just about everything that I > >>can find about the function, and I'm still not getting it. I've even> >>read through the source code. > > > > > > Total silence? :) > > Maybe nobody understands what your problem is. What is the annoying > thing you can't figure out?
Greg, When using your patch, when the file is being played... The MOH stops for the caller while that sound file is played to me. Then the music on hold continues and if I hit # the music on hold stops once again and let's me talk. I wonder if we can stop that from happening? Sincerely, Matthew Marlowe Gear 3 Technologies, LLC 609.252.1155 x614 www.gear3.com |||| (00) >< Choose a job you love, and you will /||\ never have to work a day in your life. =/\ -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Greg Boehnlein Sent: Wednesday, February 25, 2004 9:25 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Understanding AgentCallbackLogin On Wed, 25 Feb 2004, Peer Oliver schmidt wrote:> Greg Boehnlein wrote: > > > On Tue, 24 Feb 2004, Greg Boehnlein wrote: > > > > > >>Hello all, > >> I have an application where I am attempting to use Agents and > >>CallQueues to distribute inbound calls to remote users on cell > >>phones. The system works quite well, except for one annoying thing > >>that I cannot figure out. I have read just about everything that I > >>can find about the function, and I'm still not getting it. I've even> >>read through the source code. > > > > > > Total silence? :) > > Maybe nobody understands what your problem is. What is the annoying > thing you can't figure out?