Re: [asterisk-users] callers in queue passed to agents who accept only one call at a time

2008-04-13 Thread Dinesh Nair
On Fri, 28 Mar 2008 06:33:42 -0700 (PDT), Vieri wrote:

 However, I can't use ringinuse=no in queues.conf
 because I'm running 1.2.27 (or is there a
 backport/patch?).

iirc, there is a patch to backport ringinuse to 1.2.x. it's on mantis
somewhere.

-- 
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)   http://www.openmalaysiablog.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: [asterisk-users] callers in queue passed to agents who accept only one call at a time

2008-03-28 Thread Vieri

--- Atis Lezdins [EMAIL PROTECTED] wrote:

 On Thu, Mar 27, 2008 at 6:32 PM, Vieri
 [EMAIL PROTECTED] wrote:
  I have a queue I configured as strict and a cron
   script I use to QueueAdd and QueueRemove agents
   according to my company's requirements. Usually I
 have
   2 or 3 agents at a time and the ring strategy is
   ringall.
 
   These agents use non-open-source Windows
 softphones
   that do not let you configure it so that if
 they're on
   the phone, a second call will be rejected (agent
   busy). Instead, it's as if they had call waiting
 and
   incoming calls keep popping up while they're
   conversating with the first caller and they would
 like
   to avoid this.
 
   I guess the easiest solution would be to find an
   open-source or free softphone that can be
 configured
   to accept only one call at a time (currently
 using
   SJphone).
 
   Another solution would be if I could tell the
 Queue()
   application that if an agent is InUse then don't
 pass
   the call.
 
   Still another yet more delicate solution would be
 to
   have a custom script receive manager events
 related
   to the queue which in turn replies with an agi
   command. For example, whenever an agent answers a
 call
   I think that an event such as QueueMemberStatus
 can be
   triggered (although I don't know how). If the
 custom
   script could receive this event in realtime then
 it
   would run an agi command such as
   QueueRemove(busyagent...). When the agent is free
   again I suppose the same event is triggered and
 the
   custom script can QueueAdd(freeagent...).
 
   Could anyone please give me some pointers on
 this?
 
 In queues.conf set ringinuse=no
 Also make sure that you don't use realtime sip peers
 (or use
 rtcachefriends with that). Probably you also need
 call-limit set to
 any value in sip.conf

Thanks Atis and Rodrigo.

However, I can't use ringinuse=no in queues.conf
because I'm running 1.2.27 (or is there a
backport/patch?).

If I use call-limit=1 then I get all sorts of problems
(see
http://lists.digium.com/pipermail/asterisk-users/2008-March/208558.html
)

Besides, call-limit=1 would not allow the agent to do
attended transfers.

I guess I'm forced to upgrade to 1.4 although there
have been several instability issues lately, even on
this mailing list.

Vieri



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

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


[asterisk-users] callers in queue passed to agents who accept only one call at a time

2008-03-27 Thread Vieri
I have a queue I configured as strict and a cron
script I use to QueueAdd and QueueRemove agents
according to my company's requirements. Usually I have
2 or 3 agents at a time and the ring strategy is
ringall.

These agents use non-open-source Windows softphones
that do not let you configure it so that if they're on
the phone, a second call will be rejected (agent
busy). Instead, it's as if they had call waiting and
incoming calls keep popping up while they're
conversating with the first caller and they would like
to avoid this.

I guess the easiest solution would be to find an
open-source or free softphone that can be configured
to accept only one call at a time (currently using
SJphone).

Another solution would be if I could tell the Queue()
application that if an agent is InUse then don't pass
the call.

Still another yet more delicate solution would be to
have a custom script receive manager events related
to the queue which in turn replies with an agi
command. For example, whenever an agent answers a call
I think that an event such as QueueMemberStatus can be
triggered (although I don't know how). If the custom
script could receive this event in realtime then it
would run an agi command such as
QueueRemove(busyagent...). When the agent is free
again I suppose the same event is triggered and the
custom script can QueueAdd(freeagent...).

Could anyone please give me some pointers on this?

Thanks!

Vieri




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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


Re: [asterisk-users] callers in queue passed to agents who accept only one call at a time

2008-03-27 Thread Atis Lezdins
On Thu, Mar 27, 2008 at 6:32 PM, Vieri [EMAIL PROTECTED] wrote:
 I have a queue I configured as strict and a cron
  script I use to QueueAdd and QueueRemove agents
  according to my company's requirements. Usually I have
  2 or 3 agents at a time and the ring strategy is
  ringall.

  These agents use non-open-source Windows softphones
  that do not let you configure it so that if they're on
  the phone, a second call will be rejected (agent
  busy). Instead, it's as if they had call waiting and
  incoming calls keep popping up while they're
  conversating with the first caller and they would like
  to avoid this.

  I guess the easiest solution would be to find an
  open-source or free softphone that can be configured
  to accept only one call at a time (currently using
  SJphone).

  Another solution would be if I could tell the Queue()
  application that if an agent is InUse then don't pass
  the call.

  Still another yet more delicate solution would be to
  have a custom script receive manager events related
  to the queue which in turn replies with an agi
  command. For example, whenever an agent answers a call
  I think that an event such as QueueMemberStatus can be
  triggered (although I don't know how). If the custom
  script could receive this event in realtime then it
  would run an agi command such as
  QueueRemove(busyagent...). When the agent is free
  again I suppose the same event is triggered and the
  custom script can QueueAdd(freeagent...).

  Could anyone please give me some pointers on this?

In queues.conf set ringinuse=no
Also make sure that you don't use realtime sip peers (or use
rtcachefriends with that). Probably you also need call-limit set to
any value in sip.conf

For more info see
http://www.voip-info.org/wiki-Asterisk+config+sip.conf

Regards,
Atis


-- 
Atis Lezdins,
VoIP Project Manager / Developer,
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

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


Re: [asterisk-users] callers in queue passed to agents who accept only one call at a time

2008-03-27 Thread Rodrigo Gonzalez

calllimit in sip.conf and you are done

Vieri escribió:

I have a queue I configured as strict and a cron
script I use to QueueAdd and QueueRemove agents
according to my company's requirements. Usually I have
2 or 3 agents at a time and the ring strategy is
ringall.

These agents use non-open-source Windows softphones
that do not let you configure it so that if they're on
the phone, a second call will be rejected (agent
busy). Instead, it's as if they had call waiting and
incoming calls keep popping up while they're
conversating with the first caller and they would like
to avoid this.

I guess the easiest solution would be to find an
open-source or free softphone that can be configured
to accept only one call at a time (currently using
SJphone).

Another solution would be if I could tell the Queue()
application that if an agent is InUse then don't pass
the call.

Still another yet more delicate solution would be to
have a custom script receive manager events related
to the queue which in turn replies with an agi
command. For example, whenever an agent answers a call
I think that an event such as QueueMemberStatus can be
triggered (although I don't know how). If the custom
script could receive this event in realtime then it
would run an agi command such as
QueueRemove(busyagent...). When the agent is free
again I suppose the same event is triggered and the
custom script can QueueAdd(freeagent...).

Could anyone please give me some pointers on this?

Thanks!

Vieri




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


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

  





smime.p7s
Description: S/MIME Cryptographic Signature
___
-- 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