Huge thanks to Joshua Colp for mirroring services

New feature for AMI Redirect command

Share on Twitter Digg this story Click to view a printable version Tue, 22 Sep 2009 00:21:33 -0300

thumnail

Håkon Nessjøen has posted an email asking for testing of a patch for redirecting channels in different directions:

Hi,

I've uploaded a patch at https://issues.asterisk.org/view.php?id=15853, which adds a new feature for the Asterisk Manager Interface command Redirect().

The new feature is that you now can redirect both legs of a call to different extensions.

The feature can be tested by making a call, and then checking the channels with core show channels, and then send the two channels to different extensions via Manager Interface by issuing something similar to this:

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

This example should redirect one leg to the "parkinglot" context, and one leg to the "dialout" context.

You could also test that the old version works, by just specifying ExtraChannel, but none of the other Extra variables. It should then do as before, and send both channels to the same context/extension/priority.

Could anyone please help me test this patch in their setup?

Regards,
Håkon Nessjøen


You haven't voted yet! Vote:
Current Rating: 7.5/10 (4 votes)

Comments (Click to post)

Comments
Name:
Subject:
Website:
Message: 

Similar Articles (Based on Title)

*-gui: HTTP Redirect Option - December 24, 2006
Russell has posted details of the inclusion of a new option in http.conf.

AMI update in SVN trunk based on moremanager branch - December 2, 2007
Olle has posted details of some major changes in the way that the Asterisk manager will work in version 1.6 of Asterisk.

Create a list of channel variables to be posted within AMI call events - September 17, 2009
There is an entry on the reviewboard from Tilghman which allows you to specify variables in manager.conf and then have them propagated through to Asterisk Manager call events.

Asterisk Dialplan command "PPPD" released - February 3, 2005
Oskar Senft has send details of a new command to provide RAS dialin and dialout.

New SMS gateway command - March 12, 2005
Adam Holt has posted details of a new Internet based SMS app for Asterisk.

*-cvs: Add G option to dial command - March 20, 2005
A new option (G) has been added to the dial command which will transfer both parties to a defined extension when the call is answered. This is currently only in CVS-HEAD.

BugTraq: New capi4hylafax packages fix arbitrary command execution - September 2, 2006
Martin Schulze has posted details of a fix in Debian for Capi4Hylafax.

Manager sipchannel command - January 20, 2010
Olle has posted a request for feedback on a new command he is adding to the Asterisk Manager.

*-Dev: Feature request: *8 with CID info bounty US$325 - January 14, 2005
Ramon Peek has posted details of an update to the bounty on his feature request.

Flash Operator Panel: New snapshot (and feature freeze) - December 4, 2005
Nicolas Gudino has posted details of a new snapshot release of Flash Operator Panel.

New feature in svn trunk - display Mark Spencers birthday - March 15, 2007
Qwell has posted a link to a new feature in svn trunk

New site for feature wish-list: Asteriskideas.org - January 7, 2008
Olle has posted details of a new website for feature requests for Asterisk.


Original Content (C) 2004-2010 Matt Riddell
Back 5  Feed Add
to
Google Subscribe with Bloglines
Go to today

Icons by: FastIcon.com


Back to life
July 21, 2010 Average Vote: 10
Hey all - I am back online after some pretty big projects which have taken all my time. Will be updating the Asterisk news over the next few days.

Nerd Vittles: Building a Bluetooth Proximity Detection System with Asterisk
December 12, 2005 Average Vote: 10
The Nerd Vittles site has an article on proximity detection using Asterisk and a TomTom GPS

Automated Testing Update
July 30, 2010 Average Vote: 10
Russell Bryant has posted details of a new mailing list for automated testing of Asterisk and some information on the progress that has been made. There is no way to say how important I think this work is. It really makes a huge difference to Asterisk and the ability to use it in an enterprise environment. Really great work.

VoIP-Info: FFasterisk Video file converter
August 25, 2006 Average Vote: 10
The wiki has a link to a new piece of software for converting video to the format required for Asterisk.

Code Review: SRTP support for Asterisk
March 12, 2009 Average Vote: 10
Terry Wilson has moved his SRTP branch onto the Digium review board.

HumBug - Pre BETA Launch Registration
July 27, 2010 Average Vote: 10
Nir Simionovich has posted details of the beta of the new call analytics service.

Interview with BKW_
December 7, 2004 Average Vote: 10
We've finally completed our interview with BKW. Hope you like! :-)

SlashDot: GSM and Asterisk Integration
August 21, 2005 Average Vote: 10
There is a post up on SlashDot which talks about using cellphones with Asterisk.

Interview with Mark Spencer
November 26, 2004 Average Vote: 9.9
We have managed to get an interview with Mark Spencer AKA Markster. Mark Spencer is the creator of Asterisk and by far the most active developer.

Asterisk and Kamailio realtime integration tutorial
May 24, 2010 Average Vote: 9.9
Daniel-Constantin Mierla has posted a link to a tutorial on integrating Asterisk and Kamailio using realtime.

Asterisk IPv6 update
February 1, 2010 Average Vote: 9.8
Olle has posted an update on IPV6 in Asterisk and a link to a blog post of his.

Proposal for T.38 transparent gateway design in Asterisk
April 29, 2010 Average Vote: 9.8
Kevin Fleming has posted a proposed design for a transparent T.38 gateway for Asterisk:

Asterisk Monitoring with iPhone and iPod touch
February 12, 2010 Average Vote: 9.7
For the past couple of weeks I have been working on an app that allows you to monitor and restart Asterisk servers.

Monitoring Asterisk with Munin
January 7, 2010 Average Vote: 9.7
I had a few requests for these munin plugins after some discussion on one of the Asterisk lists and thought people might like them.

New Zealand Asterisk Voices
March 2, 2006 Average Vote: 9.7
Chris Hodgetts has posted details of recordings of Asterisk Sounds with a New Zealand accent.


Automated Testing Update
July 30, 2010
Russell Bryant has posted details of a new mailing list for automated testing of Asterisk and some information on the progress that has been made. There is no way to say how important I think this work is. It really makes a huge difference to Asterisk and the ability to use it in an enterprise environment. Really great work.

Asterisk 1.8.0-beta2 Now Available
July 28, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta2.

HumBug - Pre BETA Launch Registration
July 27, 2010
Nir Simionovich has posted details of the beta of the new call analytics service.

Branch Merging Changes
July 26, 2010
Russell Bryant has posted details of some changes to the way developers need to commit code to Asterisk because of the newly released 1.8 branch.

Asterisk 1.8.0-beta1 is Now Available
July 26, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta1. This release marks the beginning of the testing process for the eventual release of Asterisk 1.8.0.

Asterisk 1.6.2.10 Now Available
July 26, 2010
The Asterisk Development Team has announced the release of Asterisk 1.6.2.10.

Asterisk 1.4.34 Now Available
July 26, 2010
The Asterisk Development Team has announced the release of Asterisk 1.4.34.

AppleRaisin - AstDB over realtime
July 23, 2010
Olle has posted a note about his awesome AppleRaisin branch which provides the ability to store AstDB in realtime. This would make for a much simpler failover and clustering situation.

QueueMetrics 1.6.1 released
July 22, 2010
Lenz has posted a note to inform us that QueueMetrics version 1.6.1 has been released. This release offers a large number of bug fixes, misc improvements and new developements including hotdesking.

Asterisk 1.8 Branch Creation
July 22, 2010
Russell Bryant has posted a note to inform us of the creation of the 1.8 branch of Asterisk.