Answer the question
In order to leave comments, you need to log in
How to understand what number you are listening to in the ChanSpy spy channel?
Good day! Tell me, I was puzzled by such a task, I call 333 and listen to the participants in the conference, switch to * to the next participant exten => *333,1,ChanSpy(sip,wq)
. Is it possible?!
Answer the question
In order to leave comments, you need to log in
It will not be easy to implement the requested functionality. You will have to move part of the ChanSpy logic to the dialplan.
I mean that by dialing *333 you need to get a list of channels through CHANNELS
Then, in a loop, make POP from the array, play the channel name and run ChanSpy on it with the X key to exit immediately after listening to the channel, take the next one from the array, check that it alive and so on until Canada runs out. Then repeat the request for the channel list.
In theory, such an algorithm is real.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question