On Wed, Oct 06, 2010 at 01:56:55PM +0200, Daniel Tryba wrote:
> Issuing the AMI Status command results in a list of active channels. But
> how to figure out which channels are related before the call is
> answered? 

Anybody?

My workaround for this problem is setting a persistent variable in the 
incoming channel:
Set(__xuniqueid=${RAND(100000,999999)}-${CALLERID(num)}-${EXTEN})
and match related channels this on the same xuniqueid variable.
To bad * doesn't set such a variable itself, I now have to make sure any
originating call executes this function.

-- 

   Daniel Tryba

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to