Here’s my complete dialplan for this...
I added the stop_record_session action to prevent the person eavesdropping from being added to the recording of the call they are eavesdropping on.
ye, but iam looking for a session that is kept alive (may be MOH), and as the callee gets a call then eavedrop on the call, and repeat the process, till the agent (using eavesdrop) drop hangup the call