[Home]

Summary:ASTERISK-25733: Called with SDP without ice-ufrag and ice-pwd
Reporter:SirLouen (sirlouen)Labels:
Date Opened:2016-01-31 12:10:52.000-0600Date Closed:2016-01-31 17:45:31.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_srtp
Versions:13.1.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Tested under Ubuntu 14.04, CentOS 7 and Fedora 23, and Asterisk latest 13.1-cert (from git source)Attachments:
Description:Using the exact same configuration for the 3 OS (Ubuntu, CentOS and Fedora), same certificates, and exact same everything during a WebRTC call with various web dialers (like sipml5 and sipjs) sip communication starts but during SRTP transacctions I see this message only in Centos and Ubuntu

Called with SDP without ice-ufrag and ice-pwd

Under fedora and centos using 1.6.2 uuid-devel and under ubuntu, latest uuid-dev package from 14.04 ubuntu repo.

The thing is Fedora works fine. I never used Fedora before, altough I use regularly Ubuntu and CentOS, but reading here:
http://stackoverflow.com/questions/33887661/invalidsessiondescriptionerror-invalid-description-no-ice-ufrag-attribute
David Sarmiento suggested that Fedora worked flawlessly and I tried, and see that he was right

David Sarmiento:
"Yeah, I missed the ./configure bit again. I installed all the libuuid(devel) and uuid(devel) . Also, Centos kinda blows for package requirements, I had to move to fedora server and it all went wonderfully."

I've been testing with Asterisk 13.1-cert from git sources (certified/13.1 branch)

BTW: Tested with Asterisk 13.7 also without success under Ubuntu/CentOS

EDIT 2: Tested with Asterisk 11.21 under CentOS and worked fine! Maybe would be interesting to analyse differences between 11.21 and 13.7 (or 13.1-cert) to see what can be causing this issue.

EDIT 3: I felt that if 11.21 worked under CentOS it could also work under Ubuntu, so I tested Asterisk 11.21 under Ubuntu 14.04 and still does not work.
Comments:By: Asterisk Team (asteriskteam) 2016-01-31 12:10:53.907-0600

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-01-31 13:57:37.565-0600

What version of pjproject have you installed?

Asterisk 13 does not include it and it must be installed separately.

By: SirLouen (sirlouen) 2016-01-31 14:13:22.326-0600

Joshua, I'm using chan_sip in the 3
I've not installed pjproject neither Ubuntu/Fedora/Centos

By: Joshua C. Colp (jcolp) 2016-01-31 17:45:31.934-0600

This is not a bug. pjproject is what implements the ICE/STUN/TURN support in Asterisk, and which is required for WebRTC to function. Since your system does not have pjproject you don't have the required ICE/STUN/TURN support. You will need to install pjproject and rebuild Asterisk (including re-running configure).