[asterisk-dev] Help me test a new feature for AMI Redirect() command

Håkon Nessjøen haakon at avelia.no
Fri Sep 18 07:41:08 CDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090918/821a9c5c/attachment.htm 


More information about the asterisk-dev mailing list