Chanspy for group of extensions

[app-chanspy]
exten => 555,1,Macro(user-callerid,)
exten => 555,n,Answer
exten => 555,n,Wait(1)
exten => 555,n,ChanSpy()
exten => 555,n,Hangup

;-== end of [app-chanspy] ==-;

This is default chanspy code I am having. It is working very fine. I want little change it.

If I dial 555, I want it to listen extension 101 to 199 only.

If any body can tell me how to do it it will be appriciable

Not exactly what you’re asking for, but a basis you can start with:

1 Like

I dont understand this. I applogize its too dificult for me. If you can edit the code I have mentioned for the specific series of extension that will be helpful

You add your code to the extension_custom.conf. Then what?
Don’t you need to add the 556 to the feature codes somehow?

Then reload and it works.

Very cool, thanks.

Need to add some way to start again if you dial an extension that is not active.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.