At 11:23 AM on 16 Oct 2009, Benny Amorsen wrote: > I was going in the same direction at the end of my first mail, but I > hadn't written any code. There is a problem though: The Queue > application will keep sending calls to the Local channel, which have > to be rejected, over and over. > > Would it perhaps work to simply Wait(30) if the call is rejected by > the phone? If the Queue assumes that the phone is busy for those 30 > seconds, I have accomplished my goal. It's worth a shot.
It would only be trying one agent at a time for each waiting queue member... I don't know how expensive it is to open and close a Local channel and do a DB lookup, but I wouldn't expect it to be a real problem. You are at least avoiding multiple calls out to the cellular network. Also, if there is another agent available, the caller would be connected immediately, and it wouldn't have to make any more attempts. With the Wait() solution, that caller would be waiting for 30 seconds regardless of whether there's anyone else available. Of course, I don't know your business case, so you'll have to decide which of the two problems is worse. -- C. Chad Wallace, B.Sc. The Lodging Company http://www.skihills.com/ OpenPGP Public Key ID: 0x262208A0
signature.asc
Description: PGP signature
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
