Suppose there are 2 users, User1 and User2.
User1 call User2, when User1 dial User2’s extension a channel is established and when User2 received call then both channel placed in bridge and communication take follow.
But is there anyway, to record only after User2 accepts or receives a call from User1.
Explanation
here “MixMonitor(${EXTEN}.wav,ab)” MixMonitor will be activate to record the call in wav format
and u can check the saved files in “/var/spool/asterisk/monitor”. The filename will be saved as the caller extension. Here “ab” means when the bridge and communication is eastablished. Only then the call will strat recording.