Hello,
I do not know if it is the normal behavior, I believe that no.
When two telephones are called one to the other and I spy the conversation of both with Extenspy and the option wisper(w), the channel that I spy is the one that originates the call and not the channel that I specify in the ExtenSpy.
Version:
Asterisk 1.4.13
Configuration:
extensions.conf
[default]
exten => 100,1,Extenspy(908@default,w)
exten => 908,1,Dial(SIP/908,,r)
exten => 907,1,Dial(SIP/907,,r)
exten => 906,1,Dial(SIP/906,,r)
Example:
Call 1
908 call to 906 (good)
907 call 100 (play beep eternally)
Debug:
--------
--Executing [906@default:1] Dial("SIP/908*EM1-082290c0", "SIP/906*EM1||r") in new stack
-- Called 906*EM1
-- SIP/906*EM1-081f3c18 is ringing
-- SIP/906*EM1-081f3c18 answered SIP/908*EM1-082290c0
-- Native bridging SIP/908*EM1-082290c0 and SIP/906*EM1-081f3c18
[Nov 8 10:46:16] NOTICE[6696]: chan_sip.c:14833 handle_request_subscribe: Got SUBSCRIBE for extension 130101@default from 172.16.5.105, but there is no hint for that extension.
– Executing [100@default:1] ExtenSpy("SIP/130101EM1-0821fe50", “908@default|w”) in new stack
– <SIP/130101EM1-0821fe50> Playing ‘beep’ (language ‘en’)
– <SIP/130101EM1-0821fe50> Playing ‘beep’ (language ‘en’)
– <SIP/130101EM1-0821fe50> Playing ‘beep’ (language ‘en’)
– <SIP/130101*EM1-0821fe50> Playing ‘beep’ (language ‘en’)…
Call 2
906 call to 908 (good)
907 call 100 ( switch the voice from 906 not the 908 to 907, I can speak with the 906 peer but not with the 908 peer)
Debug:
--------
-- Executing [908@default:1] Dial("SIP/908-082290c0", "SIP/908||r") in new stack
-- Called 908
-- SIP/908-081f3c18 is ringing
-- SIP/908-081f3c18 answered SIP/906-082290c0
-- Native bridging SIP/906-082290c0 and SIP/908-081f3c18
-- Executing [100@default:1] ExtenSpy("SIP/906-08219a18", "908@default|w") in new stack
-- <SIP/906*EM1-08219a18> Playing 'beep' (language 'es')
-- <SIP/906*EM1-08219a18> Playing 'spy-sip' (language 'es')
-- <SIP/906*EM1-08219a18> Playing 'digits/9' (language 'es')
-- <SIP/906*EM1-08219a18> Playing 'digits/0' (language 'es')
-- <SIP/906*EM1-08219a18> Playing 'digits/6' (language 'es')
== Spying on channel SIP/906-082290c0
[Nov 8 10:54:48] NOTICE[9049]: app_chanspy.c:202 start_spying: Attaching SIP/906EM1-08219a18 to SIP/130101EM1-082290c0
Is a bug of the version?
Thanks