[Home]

Summary:ASTERISK-28990: chan_pjsip: Device state does not reflect hold
Reporter:Aman Dwivedi (xweezy)Labels:
Date Opened:2020-07-15 05:32:51Date Closed:
Priority:MinorRegression?
Status:Open/NewComponents:Channels/chan_pjsip
Versions:16.8.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Centos 7Attachments:
Description:There is an issue related to hold device state to get updated for PJSIP.

I can see hold and musiconhold events in "core set debug 9" . It is happening for PJSIP only.

Core show hints and queue show do not get update from the "in use" to "hold".


Comments:By: Asterisk Team (asteriskteam) 2020-07-15 05:32:53.537-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. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

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: Benjamin Keith Ford (bford) 2020-07-15 09:30:24.786-0500

We require additional debug to continue with triage of your issue. Please follow the instructions on the wiki [1] for how to collect debugging information from Asterisk. For expediency, where possible, attach the debug with a '.txt' file extension so that the debug will be usable for further analysis.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

If the steps taken to reproduce the problem always cause this behavior, and you know what they are, can you provide that information as well?

By: Aman Dwivedi (xweezy) 2020-07-22 02:25:17.608-0500

Yes! Problem is persistent and reproducible.  No Steps to reproduce problem.

I have used realtime queues and pjsip AORs. I have used hints as state interface for members channels.

If you simply call to queue and queue dials out the extension, you pickup the call and put the call on hold on your softphone. I am using eyebeam and zoiper. The expected behavior is when you put the call on hold it shows in the device state of the member of the queue but it is not happening for PJSIP members but when I test the same with chan_sip, it simply worked.

It's not the race condition I guess. I can see the hold and musiconhold events floating in debug.

It is'n't just updating for hold.

Please let me know any more details needed.

By: Joshua C. Colp (jcolp) 2020-07-22 04:09:21.232-0500

I think the difference is the perspective from which each are indicating hold device status.

The chan_sip module appears to convey it from the perspective of the device placing Asterisk on hold, while chan_pjsip conveys it from the perspective of Asterisk placing the device on hold.

I'm accepting this issue since there is inconsistency here.