Summary: | ASTERISK-23176: WebRTC missing ice-ufrag and ice-pwd compiling with BETTER_BACKTRACES and DONT_OPTIMIZE | ||
Reporter: | Beppo Mazzucato (beppo.it) | Labels: | |
Date Opened: | 2014-01-22 03:16:30.000-0600 | Date Closed: | 2014-02-05 09:48:19.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/WebSocket |
Versions: | 11.7.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | CentOS 6.5 64 bit Google Chrome Version 32.0.1700.77 jssip 0.3.0 | Attachments: | ( 0) log.txt ( 1) logfile.txt |
Description: | The problem shows up compiling with BETTER_BACKTRACES and DONT_OPTIMIZE (made to investigate about a crash) and do not happen with normal compilation flags.
When called party answer Chrome complain about missing ice-ufrag and ice-pwd the error in console is: SetRemoteDescription failed: Called with an SDP without ice-ufrag and ice-pwd. In fact looking at the log attached is clear that asterisk doesn't include ice-ufrag and ice-pwd in the SIP OK message. | ||
Comments: | By: Beppo Mazzucato (beppo.it) 2014-01-22 03:17:51.547-0600 logfile By: Rusty Newton (rnewton) 2014-02-04 09:21:52.718-0600 First, I verified that Asterisk does send the ice-ufrag and ice-pwd in originated calls out to my SIPML5 peer. I attempted to reproduce your issue by * compiling Asterisk 11.8.0-rc1 with BETTER_BACKTRACES and DONT_OPTIMIZE * originating a call out to a SIPML5 peer I could not reproduce the problem. Asterisk sends out the INVITE with the ice-ufrag and ice-pwd in SDP. Can you reproduce the issue with a "channel originate" CLI command, or does the issue only occur when calling from peer to peer? By: Beppo Mazzucato (beppo.it) 2014-02-04 10:48:26.381-0600 The test scenario where I experienced the problem is with a jssip WebRTC client calling a traditional SIP telephone ... even if I didn't test different cases and then I can't say if the problem happen also in other configurations. I'm sorry but the server is in Production now (compiled with normal flags) and then I can't make more tests. By: Rusty Newton (rnewton) 2014-02-05 09:48:09.272-0600 Okay, if someone can provide specific configuration details for Asterisk and JSSIP, demonstrating how to reproduce the issue, then we'll reopen at that point. Thanks! By: Gennady Karev (pendolf) 2014-02-11 23:23:41.336-0600 Asterisk SVN-branch-11-r407874 Debian GNU/Linux 7 https://sipml5.org/ Chrome v32.0.1700.107 ./configure --with-srtp --with-crypto --with-ssl --prefix=/usr Same problem, missing ice-ufrag and ice-pwd when call from sip phone to sipml5(sip account: oper1). And I get error "Failed to get local SDP". By: Rusty Newton (rnewton) 2014-03-06 16:13:15.019-0600 Gennady, are you reporting that the issue only occurs when compiling with BETTER_BACKTRACES and DONT_OPTIMIZE? If not, you are reporting a different issue and should open a new issue. Be sure to go ahead and update SVN and retest before opening a new issue as there has been some work in the ICE area very recently. |