<div dir="ltr"><div>hello,</div><div>I'm trying webrtc on Asterisk 14.1.1, I've found asterisk is missing ice information in SDP which causing no audio issue on Chrome browser,</div><div><br></div><div>in rtp.conf, I did configure the stun and turn server info, while in code res_rtp_asterisk.c</div><div>it has following code , it seems I have to compile pjsip to have full ice support,</div><div>but we have merged a lot of features in chan_sip.c, we don't want to use pjsip now, is there any solution that we can continue using chan_sip only but with full ice feature support , thanks.</div><div><br></div><div><div><b><font color="#ff0000">#ifdef HAVE_PJPROJECT</font></b></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>/* Create an ICE session for ICE negotiation */</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>if (icesupport) {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ast_debug(3, "Creating ICE session %s (%d) for RTP instance '%p'\n", ast_sockaddr_stringify(addr), x, instance);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>if (ice_create(instance, addr, x, 0)) {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ast_log(LOG_NOTICE, "Failed to start ICE session\n");</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>} else {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>rtp->ice_port = x;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>ast_sockaddr_copy(&rtp->ice_original_rtp_addr, addr);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>}</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>}</div><div>#endif</div></div><div><br></div><div><br></div><div><br></div><div><br></div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><font size="2">Thanks,</font></div><div><font size="2">Best Regards.</font></div><div dir="ltr"><font size="2"><br></font></div><div dir="ltr"><font size="2"><br></font></div><div dir="ltr"><font size="2">Ian WANG</font><div><br></div></div></div></div></div>
</div>