Summary: | ASTERISK-24950: ChanSpy B option doesn't work perfectly | ||
Reporter: | Tamás Mazuk (tomaszcool) | Labels: | |
Date Opened: | 2015-04-09 09:30:25 | Date Closed: | 2015-04-13 09:07:39 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | |
Versions: | 11.17.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | CentOS release 6.6 | Attachments: | |
Description: | I came across a very annoying problem with ChanSpy 'B' option. It doesn't work well. If an outer call arrives in the AST PBX and a SIP exten answers it the exten channel can not hear the whisper. SIP exten to exten the B option works perfectly.
The CLI show me the two channels are able to hear the whisper, but in fact the SIP/1003 can not hear anything: {noformat} Attaching Local/s@whisper-to-participant-0000001e;2 to SIP/1003-00000017 Attaching Local/s@whisper-to-participant-0000001e;2 to SIP/1003-00000017 Attaching Local/s@whisper-to-participant-0000001e;2 to SIP/NeoPhoneX-out-00000016 {noformat} Here are the CLI messages: {noformat} -- Executing [0621*******@from-pstn:1] NoOp("SIP/NeoPhoneX-out-00000016", "Global Inbound Handler") in new stack -- Executing [0621*******@from-pstn:2] NoOp("SIP/NeoPhoneX-out-00000016", "EXTENSION: 0621*******") in new stack -- Executing [0621*******@from-pstn:3] Answer("SIP/NeoPhoneX-out-00000016", "") in new stack > 0xb7572298 -- Probation passed - setting RTP source address to 193.***.***.***:45376 -- Executing [0621*******@from-pstn:4] Dial("SIP/NeoPhoneX-out-00000016", "SIP/1003") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/1003 -- SIP/1003-00000017 is ringing -- SIP/1003-00000017 answered SIP/NeoPhoneX-out-00000016 -- Locally bridging SIP/NeoPhoneX-out-00000016 and SIP/1003-00000017 > 0xb75954f8 -- Probation passed - setting RTP source address to 10.0.230.153:5004 -- Executing [s@whisper-to-participant:1] Answer("Local/s@whisper-to-participant-0000001e;2", "") in new stack > Channel Local/s@whisper-to-participant-0000001e;1 was answered. > Launching Playback(/var/lib/asterisk/sounds/mmcc/demo-2_gomb) on Local/s@whisper-to-participant-0000001e;1 -- Executing [s@whisper-to-participant:2] NoOp("Local/s@whisper-to-participant-0000001e;2", "Barge in to: SIP/1003-00000017") in new stack -- Executing [s@whisper-to-participant:3] NoCDR("Local/s@whisper-to-participant-0000001e;2", "") in new stack -- Executing [s@whisper-to-participant:4] ChanSpy("Local/s@whisper-to-participant-0000001e;2", "SIP/1003-00000017,bBq") in new stack -- <Local/s@whisper-to-participant-0000001e;1> Playing '/var/lib/asterisk/sounds/mmcc/demo-2_gomb.slin' (language 'en') == Spying on channel SIP/1003-00000017 [Apr 9 16:09:14] NOTICE[8392][C-00000027]: app_chanspy.c:491 start_spying: Attaching Local/s@whisper-to-participant-0000001e;2 to SIP/1003-00000017 [Apr 9 16:09:14] NOTICE[8392][C-00000027]: app_chanspy.c:491 start_spying: Attaching Local/s@whisper-to-participant-0000001e;2 to SIP/1003-00000017 [Apr 9 16:09:14] NOTICE[8392][C-00000027]: app_chanspy.c:491 start_spying: Attaching Local/s@whisper-to-participant-0000001e;2 to SIP/NeoPhoneX-out-00000016 == Spawn extension (from-pstn, 0621*******, 4) exited non-zero on 'SIP/NeoPhoneX-out-00000016' == Done Spying on channel SIP/1003-00000017 == Spawn extension (whisper-to-participant, s, 4) exited non-zero on 'Local/s@whisper-to-participant-0000001e;2' {noformat} | ||
Comments: | By: Tamás Mazuk (tomaszcool) 2015-04-13 09:07:39.327-0500 I continued the examinations and I realized to the network affected this B option. Unfortunately it is hidden in the CLI. |