[Asterisk-Users] Re-routing of existing calls

2003-12-03 Thread Alistair Cunningham
Does Asterisk have the capability to re-route calls that have already been
connected?

By this, I mean:

1. A call comes in to Asterisk.
2. It is routed to an extension as normal.
3. This extension answers, and the conversation starts.
4. After a few minutes, a plugin that I am writing decides that it wants to
   transfer the call to somewhere else.
5. It signals this to the core of Asterisk (this is the part I am unsure how
   to do, if it can be done at all).
6. Asterisk hangs up on the extension.
7. (optional) Asterisk plays a 'please hold' message to the caller.
8. The call is routed to the new extension.

Is this possible? Can anyone point me to documentation on how to do step 5?

-- 
Alistair Cunningham,
Email: [EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re-routing of existing calls

2003-12-03 Thread Martin Pycko
check the manager interface ... you can transfer the active call to some
other extension. (redirect). If these are zap channels there is
zaptransfer command and zapdialoffhook via the manager.

regards
Martin

On Wed, 3 Dec 2003, Alistair Cunningham wrote:

 Does Asterisk have the capability to re-route calls that have already been
 connected?

 By this, I mean:

 1. A call comes in to Asterisk.
 2. It is routed to an extension as normal.
 3. This extension answers, and the conversation starts.
 4. After a few minutes, a plugin that I am writing decides that it wants to
transfer the call to somewhere else.
 5. It signals this to the core of Asterisk (this is the part I am unsure how
to do, if it can be done at all).
 6. Asterisk hangs up on the extension.
 7. (optional) Asterisk plays a 'please hold' message to the caller.
 8. The call is routed to the new extension.

 Is this possible? Can anyone point me to documentation on how to do step 5?

 --
 Alistair Cunningham,
 Email: [EMAIL PROTECTED]
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re-routing of existing calls

2003-12-03 Thread Philipp von Klitzing
Hi!

 Does Asterisk have the capability to re-route calls that have already been
 connected?

Look at astman and its redirect button, I guess that is more or less 
what you want. So: Use the manager interface.

Cheers, Philipp


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users