[asterisk-bugs] [Asterisk 0015853]: [patch] Posibility to send two channels in different direcitons

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 15 18:31:55 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15853 
====================================================================== 
Reported By:                haakon
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   15853
Category:                   Core/ManagerInterface/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.8
Asterisk Version:           SVN 
JIRA:                       SWP-411 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-08 11:14 CDT
Last Modified:              2009-12-15 18:31 CST
====================================================================== 
Summary:                    [patch] Posibility to send two channels in different
direcitons
Description: 
This patch gives the user the posibility to send two connected channels in
two different directions with the AMI Redirect command.

Example:
  * User1 calls user2.
  * "Web interface" wants to put User1 in a parking extension, and User2
in a dial extension.

With this patch, this is feasible with the following AMI request:

Action: Redirect
Channel: SIP/user1-chan
Context: parkinglot
Extension: 123
Priority: 1
ExtraChannel: SIP/user2-chan
ExtraContext: dialout
ExtraExtension: 12345678
ExtraPriority: 1

In before the patch, you had ExtraChannel, but it transfered both channels
to the same context/extension. Sometimes this is not what you want.
====================================================================== 

---------------------------------------------------------------------- 
 (0115312) svnbot (reporter) - 2009-12-15 18:31
 https://issues.asterisk.org/view.php?id=15853#c115312 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 235265

U   trunk/CHANGES
U   trunk/main/manager.c

------------------------------------------------------------------------
r235265 | jpeeler | 2009-12-15 18:31:54 -0600 (Tue, 15 Dec 2009) | 12
lines

Enhance AMI redirect to allow channels to be redirected to different
places.

New parameters ExtraContext, ExtraExtension, and ExtraPriority have been
added
to redirect the second channel to a different location. Previously, it was
only
possible to redirect both channels to the same place.

(closes issue https://issues.asterisk.org/view.php?id=15853)
Reported by: haakon
Patches:
      trunk-manager.c.patch uploaded by haakon (license 880)
Tested by: jpeeler

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=235265 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-15 18:31 svnbot         Checkin                                      
2009-12-15 18:31 svnbot         Note Added: 0115312                          
======================================================================




More information about the asterisk-bugs mailing list