Summary:ASTERISK-16974: [patch] Redirect with extra channel arg
Reporter:Nuno Borges (nerbos)Labels:
Date Opened:2010-11-17 10:58:36.000-0600Date Closed:2012-02-10 12:04:19.000-0600
Versions:Frequency of
Environment:Attachments:( 0) 0018325.patch

Assume we issue AMI with the follwing event:

Action: Redirect
Channel: CHANNEL_1
ExtraChannel: CHANNEL_2
Exten: EXTEN
Context: CONTEXT
Priority: PRIO

We are expecting that both channel get redirected to the same CONTEXT and EXTEN, but the extra channel isn't.

Best regards.
Comments:By: Nuno Borges (nerbos) 2010-11-17 11:04:47.000-0600

Fixed with the provided patch.

Best regards, nerbos.

By: Leif Madsen (lmadsen) 2010-12-06 13:44:22.000-0600

I'd actually suggest this be a separate feature and functionality, as I just used this on the weekend, and I did NOT expect it to work the way you do, which means the functionality as it is now for Redirect is correct in some cases.

By: Leif Madsen (lmadsen) 2010-12-06 13:44:41.000-0600

Marked as Confirmed as the patch needs to be made into a new feature.

By: Nuno Borges (nerbos) 2010-12-07 04:40:44.000-0600


Humm, are you saying that when i issue a second channel in redirect i have to issue the other extra arguments in order to work as expected ??

Best regards.

By: Paulo Mendes da Silva (kanelbullar) 2011-02-04 05:13:47.000-0600

Hello, we have been using this functionality in asterisk 1.2 for many years and it always worked as described in the reported description.

As such, for your consideration, this appears to be broken in asterisk 1.8 and doesn't seem to be a new feature.

By: Håkon Nessjøen (haakon) 2011-05-19 07:46:38

The patch is actually a bug fix, not a new feature. As I can see it fixes a bug in my code.