[asterisk-bugs] [JIRA] (ASTERISK-24950) ChanSpy B option doesn't work perfectly

Tamás Mazuk (JIRA) noreply at issues.asterisk.org
Thu Apr 9 09:31:33 CDT 2015


Tamás Mazuk created ASTERISK-24950:
--------------------------------------

             Summary: ChanSpy B option doesn't work perfectly
                 Key: ASTERISK-24950
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24950
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 11.17.0
         Environment: CentOS release 6.6
            Reporter: Tamás Mazuk


I came across a very anoying problem with ChanSpy 'B' option. It doesn't work well. If an outer call arrives in the AST PBX and a SIP exten aswers it the exten channel can not hears 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:
Attaching Local/s at whisper-to-participant-0000001e;2 to SIP/1003-00000017
Attaching Local/s at whisper-to-participant-0000001e;2 to SIP/1003-00000017
Attaching Local/s at whisper-to-participant-0000001e;2 to SIP/NeoPhoneX-out-00000016

Here are the CLI messages:

    -- 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 at whisper-to-participant:1] Answer("Local/s at whisper-to-participant-0000001e;2", "") in new stack
       > Channel Local/s at whisper-to-participant-0000001e;1 was answered.
       > Launching Playback(/var/lib/asterisk/sounds/mmcc/demo-2_gomb) on Local/s at whisper-to-participant-0000001e;1
    -- Executing [s at whisper-to-participant:2] NoOp("Local/s at whisper-to-participant-0000001e;2", "Barge in to: SIP/1003-00000017") in new stack
    -- Executing [s at whisper-to-participant:3] NoCDR("Local/s at whisper-to-participant-0000001e;2", "") in new stack
    -- Executing [s at whisper-to-participant:4] ChanSpy("Local/s at whisper-to-participant-0000001e;2", "SIP/1003-00000017,bBq") in new stack
    -- <Local/s at 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 at 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 at 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 at 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 at whisper-to-participant-0000001e;2'



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list