[asterisk-users] ExtenSpy enforced mode
Jon Bonilla (Manwe)
manwe at aholab.ehu.es
Wed Sep 8 06:54:08 CDT 2021
Hi all
I'm experiencing issues while trying to restrict ExtenSpy to a single user's
channels.
I'm trying this:
same => n,ExtenSpy(${EXTEN:3},bde(${EXTEN:3}))
and this too
same => n,ExtenSpy(${EXTEN:3},bde(SIP/${EXTEN:3}))
Being EXTEN:3 == "ext20012104" in this scenario
And in the logs I see than the user can hear random channels that have no
relation with the one we're trying to spy.
Executing [spyext20012104 at callspy:2] ExtenSpy("SIP/ext20012100-000159c6", "ext20012104,bde(SIP/ext20012104)") in new stack
Spying on channel SIP/pd20021-000159ab
Attaching spy channel SIP/ext20012100-000159c6 to SIP/pd20021-000159ab
Attaching spy channel SIP/ext20012100-000159c6 to SIP/pd20021-000159ab
Done Spying on channel SIP/pd20021-000159ab
Spying on channel SIP/ext20072102-000159bf
Attaching spy channel SIP/ext20012100-000159c6 to SIP/ext20072102-000159bf
Attaching spy channel SIP/ext20012100-000159c6 to SIP/ext20072102-000159bf
Done Spying on channel SIP/ext20072102-000159bf
Spying on channel SIP/pstn-000159b2
.... continues ...
Any hints?
Asterisk 13.38.2 and chan_sip is being used. I had the same issue with asterisk
11.25.3 before I tried asterisk 13.
thank you.
More information about the asterisk-users
mailing list