<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 4:32 PM, mayamatakeshi <span dir="ltr"><<a href="mailto:mayamatakeshi@gmail.com" target="_blank">mayamatakeshi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hello,<br>I have kamailio SIP proxy with WebSocket support in front of FS using plain UDP transport (not using ws-binding).<br>
</div>It works fine for incoming calls:<br><a href="http://sipml5.org/" target="_blank">http://sipml5.org</a> --> SIP over WebSocket --> kamailio --> SIP over UDP --> FS plays some prompt.<br>
<br></div><div>Then, the WebSocket app registers with kamailio and when a call arrives to it at FS, FS sends the call to kamailio and the call is sent to the browser.<br></div><div>However, when I try to answer the call, the web app refuses the call with this:<br>
<br>SIP/2.0 603 Failed to get local SDP.<br>From: "displayname.user3"<<a href="mailto:sip%3Auser3@test1.com" target="_blank">sip:user3@test1.com</a>>;tag=6197r4g0Kar9H.<br>To: <<a href="mailto:sip%3Auser2@127.0.0.1" target="_blank">sip:user2@127.0.0.1</a>>;tag=okDK7cd5n34HgaEM9dgs.<br>
Call-ID: 2d1ab230-7516-1231-969f-5254000fd208.<br>CSeq: 47333138 INVITE.<br>Content-Length: 0.<br></div><br></div>I suppose this is happening because an SDP for a WebRTC call cannot be a plain one that we send on ordinary calls. Is this correct?<br>
</div>So is it possible to instruct FS (some parameter when calling originate or bridge) to prepare an SDP for WebRTC?<br></div></div></div></blockquote><div><br></div><div>I have found the answer on this thread:<br><a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2013-July/097369.html">http://lists.freeswitch.org/pipermail/freeswitch-users/2013-July/097369.html</a><br>
<br></div><div>Set <br><pre style="color:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px">
<i>media_webrtc=true</i></pre></div><div>when originating the call.<br><br>Sorry for the noise.<br></div><div>I will document the var at the wiki.<br> <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div></div>If not, I was thinking if asking FS to not send SDP in the INVITE would work (late negotiation) as it would receive the SDP in the "200 OK" and send its SDP in the ACK. But i could not find a way to force FS to do this either.<br>
<br></div>regards,<br>Takeshi<br><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div>
</blockquote></div><br></div></div>