Call Monitoring (ChanSpy)
Creating a dialplan
Go to the "Modules" - "Dialplan Applications". Create a new dialplan.

Enter the name "Eavesdropping". Specify the "number to call the application", here we will use the template "911XXX" - XXX means all three-digit numeric numbers. In the "Type of code" field, specify "Dialplan Asterisk"

Templates
Further functionality you can choose from three options:
1. Eavesdrop on a conversation
It becomes possible to eavesdrop on someone else's conversation, so that neither the operator nor the client will suspect anything
In the tab "Programme code" insert the following code:
1,Answer()
n,ChanSpy(${CHANNEL(channeltype)}/${EXTEN:3},qw)
n(hangup),Hangup();

2. To intervene in the conversation
In the tab "Programme code" insert the following code:
1,Answer()
n,ChanSpy(${CHANNEL(channeltype)}/${EXTEN:3},qBx)
n(hangup),Hangup();

3. "Whisper'' to a colleague
In the tab "Programme code" insert the following code:
1,Answer()
n,ChanSpy(${CHANNEL(channeltype)}/${EXTEN:3},wvq(4)x)
n(hangup),Hangup();

Last updated
Was this helpful?