[Home]

Summary:ASTERISK-26243: res_pjsip_session: Direct media not attempted when video codecs enabled
Reporter:Marek Bernat (marekbernat)Labels:
Date Opened:2016-07-27 06:07:53Date Closed:
Priority:MinorRegression?
Status:Open/NewComponents:Resources/res_pjsip_session
Versions:13.6.0 13.10.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:( 0) asterisk.conf
( 1) debug_log
( 2) extensions.conf
( 3) modules.conf
( 4) pjsip.conf
Description:Direct media between two registered endpoints work correctly when only audio codecs are allowed in the PJSIP endpoint configuration. As soon as any video codecs are added (for example H.264), the direct media stop working (the SIP reINVITE with endpoint connection information is never sent).
Comments:By: Asterisk Team (asteriskteam) 2016-07-27 06:07:54.464-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].

By: Joshua C. Colp (jcolp) 2016-07-27 07:03:39.819-0500

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

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



By: Jan Šipr (jan.sipr) 2016-07-28 09:25:17.518-0500

I have created minimal configuration that triggers the faulty behavior.
If any video codec is present in the pjsip extension configuration there is not any attempt to establish direct media even when the extensions are configured to do so.

If I remove the `allow = h264` from pjsip.conf direct media are established correctly.