Call Monitoring (ChanSpy)
Last updated
Last updated
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"
Further functionality you can choose from three options:
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:
ChanSpy(SIP/${EXTEN:3},qw) - note that the application number will be passed as EXTEN. If you dial 911101, the internal number 101 will be dialed. The first three digits are cut off.
If you change the length of the template, then you should adjust this line.
When using PJSIP, the command will look like ChanSpy(PJSIP/${EXTEN:3},qw)
In the tab "Programme code" insert the following code:
The differences are only in the parameters for ChanSpy
In the tab "Programme code" insert the following code:
The differences are only in the parameters for ChanSpy