Summary: | ASTERISK-24670: Asterisk 13.1.0 with webRTC missing ice-ufrag and ice-pwd compiling | ||
Reporter: | CGI.NET (nsnake) | Labels: | |
Date Opened: | 2015-01-08 02:17:23.000-0600 | Date Closed: | 2015-02-04 20:27:33.000-0600 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_sip/WebSocket |
Versions: | 13.1.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | CentOS 6.5 32 bit Google Chrome Version 32.0.1700.77 Firefox 34.0.5 sipjs 0.6.4 | Attachments: | ( 0) asterisk11-output.txt ( 1) asterisk13-output.txt |
Description: | I had test it with asterisk-11.15.0 and asterisk-13.1.0 with the same configures and all make is default.
11 is works fine but 13 is broken. Here is configure file: {noformat} [8002] disallow=all allow=alaw,ulaw,h264 type=friend username=8002 accountcode=8002 secret=8002 context=from-exten-sip host=dynamic nat=yes qualify=2000 canreinvite=no callgroup=0 pickupgroup=0 setvar= call-limit=10 [WebRTC](!) transport=udp,ws,wss nat=no encryption=yes qualify=yes avpf=yes disallow=all allow=alaw,ulaw,h264 icesupport=yes dtlsenable=yes dtlsverify=no dtlscertfile=/etc/asterisk/keys/asterisk.pem dtlsprivatekey=/etc/asterisk/keys/asterisk.pem dtlssetup=actpass [8007](WebRTC) type=friend username=8007 accountcode=8007 secret=8007 context=from-exten-sip ;followed advance settings host=dynamic qualify=5000 callgroup= pickupgroup= {noformat} ----------------------------------------------------------------------------------------- 8002 is soft phone and 8007 is webrtc, Calling form 8007 to 8002, 8002 answer. Firefox 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. | ||
Comments: | By: Rusty Newton (rnewton) 2015-01-08 08:24:58.099-0600 Please provide the same logs, except also include the *all* of the available logger channels, especially "DEBUG" and "VERBOSE". You can find instructions here: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information Again, be sure to include the SIP trace like you did with the current logs. By: Rusty Newton (rnewton) 2015-01-08 08:25:22.246-0600 Also, what version of PJSIP are you using? By: CGI.NET (nsnake) 2015-01-09 03:32:28.265-0600 Hi Rusty: I put the logs in attachment. I use sipjs 0.6.4 http://sipjs.com/download/ not jssip By: Matt Jordan (mjordan) 2015-01-27 12:50:35.790-0600 # Please hit "Send Back" when you've provided feedback. # The log files provided were not generated using the instructions [~rnewton] provided. Please generate the logs per his instructions - as it is, the log files do not contain the debug information. # Please provide the relevant configuration files (sip.conf/pjsip.conf) for the channel drivers being used. Note that PJSIP must be installed with Asterisk 13 for ICE to work. If you have not installed PJSIP, that would explain why this isn't working. By: CGI.NET (nsnake) 2015-02-04 20:26:28.575-0600 Hi Matt Jordan: You are right, i don't have installed PJSIP and i see #ifdef HAVE_PJPROJECT static int icesupport = DEFAULT_ICESUPPORT; static struct sockaddr_in stunaddr in res/res_rtp_asterisk.c That means i need pjsip first when make. |