Re: [Asterisk-Users] More external call control

2004-02-13 Thread C. Maj
On Thu, 12 Feb 2004, [EMAIL PROTECTED] waxed:

> My questions are as follows, (but before I begin; I know there is queueing
> and some ACD functionality in *, but I need to do this externally. I want
> the queueing decisions to be external because my central queue engine
> handles things like email, chat, etc as well as calls):

You might then want to consider just putting people in
MusicOnHold extensions, Parking extensions, etc.  Putting
them in a * queue -- when they are already in your own
external queue -- would be a flawed redundancy, owing to
differences in queue logic.

> In other words, can I send some message to * that will tell it to route a
> call in queue to a specific extension by a unique ID (because there may be
> los of calls queued).

This is possible.  But not really through AGI.  You would
need to use the manager interface, which is more for
external control.  Not to say that you couldn't create
manager commands that would in turn put you in the dialplan
to run a specific AGI...

> While the call is in queue, can I send commands to have different
> announcements played? 

There's no moh stuff for the manager interface, but you
could look at the 'Redirect' manager command.  Maybe
consider moving someone from one queue to another, where
there happens to be different moh.

> If a call hangs up while in queue, is that a step in extensions.conf so I
> can call my script with that info?

Extension 'h' is reserved for hangups, but it isn't limited
to just queues.

--Chris


-- 

Chris Maj 
Pronunciation Guide:  Maj == May
Fingerprint: 43D6 799C F6CF F920 6623  DC85 C8A3 CFFE F0DE C146

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] More external call control

2004-02-12 Thread toms
I have some questions for anyone that can help. I discovered an email in the
archives about someone adding an external call control router on WIndows
2003, but could not find a reference to the code. I wanted to see how far I
could go with AGI scripts before having to modify the code. 

I have been looking at AGI scripts and I think I have some of the answers
to this, but here goes...

What I need to do is the following:

1. Call comes into a pilot number.
2. A message is sent to a script indicating  has been queued.
Included with this info is the calls profile information like DNIS, ANI,
etc. 
3. After some period of time, a script sends a message back to * to have
the call (by uniqueId) routed to a specific extension on the switch.

4. When the caller or agent hangup, a message is sent to a script.

My questions are as follows, (but before I begin; I know there is queueing
and some ACD functionality in *, but I need to do this externally. I want
the queueing decisions to be external because my central queue engine
handles things like email, chat, etc as well as calls):

In other words, can I send some message to * that will tell it to route a
call in queue to a specific extension by a unique ID (because there may be
los of calls queued).

While the call is in queue, can I send commands to have different
announcements played? 

If a call hangs up while in queue, is that a step in extensions.conf so I
can call my script with that info?

Thanks,

Tom Schaefer


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users