[Home]

Summary:ASTERISK-28405: ChanSpy : cannot hangup spying channel if no audio is received
Reporter:Jean Aunis - Prescom (PrescomJA)Labels:pjsip
Date Opened:2019-05-06 05:28:49Date Closed:
Priority:MinorRegression?
Status:Open/NewComponents:Applications/app_chanspy
Versions:16.3.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Ubuntu 18.04 (x86) and Centos 7.6 (arm)Attachments:
Description:Given I have two channels SIP/A and SIP/B bridged together
Given a new channel SIP/C calls ChanSpy on SIP/A
Given Asterisk does not receive any audio frame from SIP/A nor SIP/B
When I hangup the spying channel SIP/C
Then SIP/C is not destroyed

SIP/C is destroyed as soon as Asterisk starts receiving audio frames from SIP/A or SIP/B.
Comments:By: Asterisk Team (asteriskteam) 2019-05-06 05:28:50.057-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: George Joseph (gjoseph) 2019-05-08 08:06:07.859-0500

Does "SIP/A" mean you're using the chan_sip channel driver?

If so, can you try to replicate the issue with chan_pjsip, just as a test?  Given the nature of the issue I don't think it will make a difference but you never know.


By: Jean Aunis - Prescom (PrescomJA) 2019-05-09 02:35:26.409-0500

Indeed I was using chan_sip, but I do reproduce the issue with PJSIP.

By: George Joseph (gjoseph) 2019-05-09 09:40:32.570-0500

I can't seem to reproduce this.  Can you give me the exact ChanSpy arguments you're using?


By: Jean Aunis - Prescom (PrescomJA) 2019-05-09 10:55:43.550-0500

bq. ChanSpy(${mychannelname},Sq)

By: George Joseph (gjoseph) 2019-05-09 13:03:25.626-0500

OK, I can duplicate it now.