<div dir="ltr"><div>Hello,</div><div><br></div><div>I have a problem with a call between 2 webrtc clients. Asterisk removes the ice-related lines from the sdp when it sends the INVITE out, and the called webrtc client rejects the INVITE due to the missing ice lines. Both webrtc clients are defined exactly the same way, same values in all fields except the number of the peer.</div><div><br></div><div>There's probably something I've changed that causes this behavior. Can anyone tell me what's wrong in my configuration?</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">res_rtp_asterisk is included in the compilation and uuid-devel is installed, Asterisk version is 11.11.0. Ice is enabled in rtp.conf as well as in both clients in the realtime sip peer table.</span><br></div><div><br></div><div>Here's my realtime peer data: </div><div>*CLI> realtime load sippeers name 660</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â Column Name Â Column Value</div><div>  Â  Â  Â  Â  -------------------- Â --------------------</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  id Â 4</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  type Â friend</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  name Â 660</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  host Â dynamic</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  secret</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  encryption Â yes</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  avpf Â yes</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  icesupport Â yes Â  Â  Â  Â  <---- ICE is enabled</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  ipaddr Â PU.BL.IC.IP</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  port Â 5060</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  regseconds Â 1410185500</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â defaultuser Â 660</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â fullcontact Â sip:660@PU.BL.IC.IP:5060</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  lastms Â 0</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â useragent</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â context Â default</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â directmedia Â no</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  deny Â <a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a></div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  permit Â PU.BL.IC.IP</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â nat Â force_rport,comedia</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  language</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  disallow</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â allow</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â force_avp Â yes</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  callerid</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  amaflags</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â mailbox</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  regexten</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â regserver</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  fromdomain Â <a href="http://testers.com">testers.com</a></div><div>  Â  Â  Â  Â  Â  Â  Â  Â  videosupport Â no</div><div>  Â  Â  Â  Â  Â  Â  Â  Â contactpermit</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â contactdeny</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  fullname Â 660 win8</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  hasvoicemail</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  subscribemwi</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  dtlsenable Â yes</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  dtlsverify Â no</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  dtlscertfile Â /etc/asterisk/keys/asterisk.pem</div><div>  Â  Â  Â  Â  Â  Â  Â  dtlsprivatekey Â /etc/asterisk/keys/asterisk.pem</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â dtlssetup Â actpass</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â sippasswd Â md5pwd</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  rpid</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  domain Â <a href="http://testers.com">testers.com</a></div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  sippasswd2</div><div><br></div><div>and my sip.conf:</div><div><br></div><div>[general]</div><div>bindport = 5070</div><div>bindaddr = PU.BL.IC.IP</div><div>udpbindaddr = PU.BL.IC.IP</div><div>tcpenable = yes</div><div>limitonpeers = yes</div><div>rtcachefriends = no </div><div>tos_sip=cs3</div><div>tos_audio=ef</div><div>realm = <a href="http://testers.com">testers.com</a></div><div>autodomain=yes</div><div>domain=PU.BL.IC.IP</div><div>domain=<a href="http://testers.com">testers.com</a></div><div>transport=ws,wss,udp</div><div>outboundproxy=PU.BL.IC.IP:5060</div><div><br></div><div><br></div><div>I'd appreciate Your advice.</div><div><br></div><div>cheers,</div><div>Olli</div><div><br></div></div>