[Home]

Summary:ASTERISK-26936: how to initialize rtp engine ice?
Reporter:Rachel (firefly099)Labels:
Date Opened:2017-04-11 04:20:19Date Closed:2020-01-14 11:26:01.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:14.4.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hi, I tried to set up p2p between 2 imsdroid which supports ice, stun, turn itself, but asterisk will remove candidates info from original INVITE messages. is it possible that Asterisk doesn't remove candidates info and let clients do p2p based on candidates info? I tried asterisk directrtpsetup, directmedia, it couldn't work as good as it should be. sometimes there is no video or audio at all, which means the p2p behavior is not correct. Asterisk should have taken public IP, turn relay IP in candidates info into consideration if it really wants to help clients set up p2p instead of just removing candidates info, which leaves clients no option.

I found in rtp_engine.c,
struct ast_rtp_engine_ice *ast_rtp_instance_get_ice(struct ast_rtp_instance *instance)
{
   return instance->engine->ice;
}
but I didn't find any codes to initialize engine->ice, so ice will never be added to sdp, am I right?
How can I initialize rtp engine ice to make sure a=candidate:*** will be added back to sdp?
Comments:By: Asterisk Team (asteriskteam) 2017-04-11 04:20:23.383-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: Asterisk Team (asteriskteam) 2017-04-11 04:20:23.767-0500

We appreciate the difficulties you are facing, however information request type issues would be better served in a different forum.

The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.

If this issue is actually a bug please use the Bug issue type instead.

Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.

Thanks!

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