Question : Listen to calls on Asterisk

Hi Experts,
   Can anybody tell me how to add an extension that will allow me to choose what extension to 'spy' on? 555 keeps jumping to different extensions.

For example.. I want to be able to dial say 12345 and then the ext number I want to listen to.

Thanks in advance,
 Martin

Answer : Listen to calls on Asterisk

Also.... if you want to specify the extension, you'll need to do something like this:

exten => 555,1,NoOp(Start Spying!)
exten => 555,n,READ(EXT,,5) ;<-- Reads in an extension and automatically proceeds after 5 digits entered.
exten => 555,n,ExtenSpy(${EXT})
Random Solutions  
 
programming4us programming4us