<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Freeswitch can already translate between AVP and SAVPF. Why would you manipulate the sdp? &nbsp;Shouldn't be necessary<div class=""><br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 12, 2016, at 10:06 AM, John Smolka &lt;<a href="mailto:john.smolka9@gmail.com" class="">john.smolka9@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">nobody uses webrtc and classic calls with freeswitch as a media server and kamailio or opensips as a sip proxy ?<div class="">I found a solution with rtpengine, but I want to use freeswitch as a media server.</div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2016-05-06 9:07 GMT+02:00 John Smolka <span dir="ltr" class="">&lt;<a href="mailto:john.smolka9@gmail.com" target="_blank" class="">john.smolka9@gmail.com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><span style="font-size:12.8px" class="">Hello All,&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">I am working with webrtc and I am having problems with incoming audio.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">I use :&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">- Kamailio as a SIP and Websocket proxy&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">- Freeswitch as a media server.&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">UA/WebRTC &lt;--&gt; Kamailio &lt;--&gt; Freeswitch&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">For outgoing calls (webrtc-&gt;freeswitch) everything works well, but for incoming call(freeswitch-&gt;webrtc), my webrtc client was complaining about missing ICE candidates.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">In my dialplan I added a new line with:&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">&lt;action application="export" data="media_webrtc=true" /&gt;&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">since now, RTP/AVP and RTP/SAVP was changed to RTP/SAVPF&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">Now, I can receive calls on my webrtc client but it does not work on some sip phones.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">On sip phones it is rejected with 488 Not Acceptable Here&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">SDP from freeswitch's INVITE looks like :&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">v=0.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">o=My-SBC 1462416600 1462416601 IN IP4 MyPublicIP.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">s=My-SBC.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">c=IN IP4 MyPublicIP.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">t=0 0.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=msid-semantic: WMS 21zmABqHTMGtfiYcvg2nQyTyTBJpmP</span><span style="font-size:12.8px" class="">mf.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">m=audio 32204 RTP/SAVPF 8 0 101 13.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=rtpmap:8 PCMA/8000.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=rtpmap:0 PCMU/8000.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=rtpmap:101 telephone-event/8000.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=fingerprint:sha-256 B8:7C:42:58:26:FE:30:27:DB:F5:</span><span style="font-size:12.8px" class="">71:21:11:96:AF:0B:DD:6E:79:9A:</span><span style="font-size:12.8px" class="">AC:FF:86:69:89:14:88:70:AA:EE:</span><span style="font-size:12.8px" class="">4A:EB.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=setup:actpass.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=rtcp-mux.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=rtcp:32204 IN IP4 MyPublicIP.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=ssrc:590458548 cname:GLr7dIFWlcfql4sH.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=ssrc:590458548 msid:</span><span style="font-size:12.8px" class="">21zmABqHTMGtfiYcvg2nQyTyTBJpmP</span><span style="font-size:12.8px" class="">mf a0.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=ssrc:590458548 mslabel:</span><span style="font-size:12.8px" class="">21zmABqHTMGtfiYcvg2nQyTyTBJpmP</span><span style="font-size:12.8px" class="">mf.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=ssrc:590458548 label:</span><span style="font-size:12.8px" class="">21zmABqHTMGtfiYcvg2nQyTyTBJpmP</span><span style="font-size:12.8px" class="">mfa0.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=ice-ufrag:akVRJFgs6QHjvUo2.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=ice-pwd:</span><span style="font-size:12.8px" class="">vG0zewmpyrGKmZhm924Jxa1u.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=candidate:9311553015 1 udp 659136 MyPublicIP 32204 typ host generation 0.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=candidate:9311553015 2 udp 659136 MyPublicIP 32204 typ host generation 0.&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">a=ptime:20.&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">Maybe I don't understand this correctly, but is that possible to add SAVPF, AVP and SAVP into a INVITES's SDP so I can remove them on kamailio based on transport towards client (TLS,UDP,TCP,WSS) ?&nbsp;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">I have tested it on the latest freeswitch 1.4 and 1.6 versions.&nbsp;</span><br class=""></div>
</blockquote></div><br class=""></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></div></body></html>