[asterisk-users] Can' correlate AMI MonitorStart with CDR

2013-07-27 Thread Mike Diehl
Hi all. I'm trying to write an AMI handler to take care of cases where a user uses the feature code to start recording a call. When a user starts a recording, my AMI listener receives this event: $VAR1 = { 'Server' = 'example.com', 'Event' = 'MonitorStart',

Re: [asterisk-users] Can' correlate AMI MonitorStart with CDR

2013-07-27 Thread jg
You probably picked the wrong channel. There are two bridged channels with slightly different unique ids, which are actually timestamps. You should watch for the Bridge event that ties the two channels up. The Bridge event contains both channels, both UniqueIDs, and both CallerIDs. jg --