Re: [Asterisk-Users] Queue app following dialplan

2005-01-09 Thread Kevin P. Fleming
Joseph wrote:
I would like to know more about your solution.
My solution involves a patch to app_queue that essentially makes it call 
SetGroup() on any channels it creates to call queue members (agents), 
and call GetGroupMatchCount() before calling a member to see if they 
should be considered busy. This allows for very flexible rules as to 
whether an agent is considered available or not.

What do you mean about having the agents in queue.conf or agents.conf?
You can define members directly in queues.conf (using SIP/foo, IAX2/foo, 
Zap/foo, etc.), or you can define them in agents.conf and put agents 
into queues.conf. The latter is required if you want to use statically 
defined members and support login/logout.
___
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


Re: [Asterisk-Users] Queue app following dialplan

2005-01-09 Thread Kevin P. Fleming
Robert Jackson wrote:
Another possible scenario is to specify the context to call the agent 
when using AgentCallBackLogin.  This way you can have one set of 
behaviors for reaching an agent at an extension and another set for 
simply reaching the extension outside of an ACD context.  
Yes, that is quite reasonable, and I'm about to do something similar 
here (use AddQueueMember, but supply a Local channel to place the actual 
call, so that I can have more control over the call to the member).
___
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


Re: [Asterisk-Users] Queue app following dialplan

2005-01-07 Thread Matthew Boehm
 Joe Dennick wrote:
  Yeah, set the queue timeout to be about 1 second less than the voicemail
  timeout (ya know, where you say Dial(SIP/, 15)).  That way the queue
  times out the agent before the dialplan goes to voicemail.

 The more reasonable solution is to just put the agent's direct path
 (SIP/) into your queue's agent list, rather than a Local channel
 that dials out through their normal extension dialing path.

If I add a line like this: member = SIP/3044, can I still get
login/logoff functionality? We need agent login/logff functionality AND for
calls to not goto voicemail.

 Example extensions.conf; 3044 is both an agent that logs in/off and
receives regular calls:

exten = 3044,1,Dial(SIP/3044,30)
exten = 3044,2,Voicemail([EMAIL PROTECTED])
exten = 3044,102,Voicemail([EMAIL PROTECTED])

If 3044 is currently talking to anyone (be it queue call or a direct call),
if anyone else calls his extension (be it queue call or a direct call) it
will go directly to his voicemail (Pri 102).

It needs to be so that if an outside call comes in, it follows the dialplan
accordingly, but if a queue call comes in and his phone is truly busy, it
needs to stop following the dialplan and go try another agent.

-Matthew

___
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


Re: [Asterisk-Users] Queue app following dialplan

2005-01-07 Thread Kevin P. Fleming
Matthew Boehm wrote:
If I add a line like this: member = SIP/3044, can I still get
login/logoff functionality? We need agent login/logff functionality AND for
calls to not goto voicemail.
No, I was suggesting using SIP/3044 in agents.conf, not in queues.conf. 
If you put it into queues.conf, that channel will be dedicated to the 
queue app at all times.

Word of warning, though: I don't use chan_agent, never have. All my 
queues are configured using dynamic members 
(AddQueueMember/RemoveQueueMember), so what I suggested above is based 
solely on the docs I've read.

If you want a SetGroup/CheckGroup based solution, email me off-list; I 
have a patch for app_queue that causes it to assign groups to channels 
it creates and to check group counts before calling agents. This works 
well for us, it allows us to very easily control when the app will send 
a call to an agent and when it will consider them busy. I doubt this 
patch will ever go into CVS, though, unless I make it part of my new 
version of app_queue that'll be available in a few weeks.
___
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


Re: [Asterisk-Users] Queue app following dialplan

2005-01-07 Thread Joseph
On Fri, 2005-01-07 at 08:08 -0700, Kevin P. Fleming wrote:
 Matthew Boehm wrote:
 
  If I add a line like this: member = SIP/3044, can I still get
  login/logoff functionality? We need agent login/logff functionality AND for
  calls to not goto voicemail.
 
 No, I was suggesting using SIP/3044 in agents.conf, not in queues.conf. 
 If you put it into queues.conf, that channel will be dedicated to the 
 queue app at all times.
 
 Word of warning, though: I don't use chan_agent, never have. All my 
 queues are configured using dynamic members 
 (AddQueueMember/RemoveQueueMember), so what I suggested above is based 
 solely on the docs I've read.
 
 If you want a SetGroup/CheckGroup based solution, email me off-list; I 
 have a patch for app_queue that causes it to assign groups to channels 
 it creates and to check group counts before calling agents. This works 
 well for us, it allows us to very easily control when the app will send 
 a call to an agent and when it will consider them busy. I doubt this 
 patch will ever go into CVS, though, unless I make it part of my new 
 version of app_queue that'll be available in a few weeks.

I would like to know more about your solution.

What do you mean about having the agents in queue.conf or agents.conf?

I thought they have to be both places?


 ___
 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
-- 
respectfully, Joseph ===
-= **  =

___
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


RE: [Asterisk-Users] Queue app following dialplan

2005-01-07 Thread Robert Jackson


 -Original Message-
 From: Kevin P. Fleming [mailto:[EMAIL PROTECTED] 
 Sent: Friday, January 07, 2005 3:26 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] Queue app following dialplan
 
 
 The more reasonable solution is to just put the agent's direct path 
 (SIP/) into your queue's agent list, rather than a Local channel 
 that dials out through their normal extension dialing path. 

Another possible scenario is to specify the context to call the agent 
when using AgentCallBackLogin.  This way you can have one set of 
behaviors for reaching an agent at an extension and another set for 
simply reaching the extension outside of an ACD context.  

This is how we have it setup and it seems to work pretty well.

Hope this helps,

Robert Jackson
___
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


Re: [Asterisk-Users] Queue app following dialplan

2005-01-06 Thread Jon Bebeau
FYI...
- Original Message - 
From: Ryan Stark [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Thursday, January 06, 2005 9:02 PM
Subject: [Asterisk-Users] Queue app following dialplan


I have a problem where if an agent's extension is busy and has voicemail 
the queue app will follow the dialplan and send the caller to an agents 
voicemail.  This is really bad, because it takes the caller out of the 
queue when it hits that agent.  But we also would like to have voicemail 
for some extensions like the shift managers etc.  Is there s 
solution/workaround/patch?

Thanks,
-Ryan
___
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
___
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


RE: [Asterisk-Users] Queue app following dialplan

2005-01-06 Thread Joe Dennick
Yeah, set the queue timeout to be about 1 second less than the voicemail
timeout (ya know, where you say Dial(SIP/, 15)).  That way the queue
times out the agent before the dialplan goes to voicemail.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jon Bebeau
Sent: Thursday, January 06, 2005 8:19 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Queue app following dialplan


FYI...


- Original Message - 
From: Ryan Stark [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Thursday, January 06, 2005 9:02 PM
Subject: [Asterisk-Users] Queue app following dialplan


I have a problem where if an agent's extension is busy and has 
voicemail
 the queue app will follow the dialplan and send the caller to an
agents 
 voicemail.  This is really bad, because it takes the caller out of the

 queue when it hits that agent.  But we also would like to have
voicemail 
 for some extensions like the shift managers etc.  Is there s 
 solution/workaround/patch?
 
 Thanks,
 -Ryan
 ___
 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


___
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

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.7 - Release Date: 12/30/2004
 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.7 - Release Date: 12/30/2004
 

___
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


Re: [Asterisk-Users] Queue app following dialplan

2005-01-06 Thread Kevin P. Fleming
Joe Dennick wrote:
Yeah, set the queue timeout to be about 1 second less than the voicemail
timeout (ya know, where you say Dial(SIP/, 15)).  That way the queue
times out the agent before the dialplan goes to voicemail.
The more reasonable solution is to just put the agent's direct path 
(SIP/) into your queue's agent list, rather than a Local channel 
that dials out through their normal extension dialing path.
___
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