<div dir="ltr">Hi Andreas,<div>    Thank you for your response. I can successfully register my webRTC (using either sipML5 or jsSIP) client endpoint with sipProvider. </div><div><br></div><div>I've also created a SIP Peering Group to route calls to a legacy SIP gateway. On dialing, the call hits the legacy gateway but I notice that the SDP body in the INVITE message uses RTP/SAVF. This gateway does not support sRTP. Is there a way to force the mediaproxy to use RTP only?</div>
<div><br></div><div>I've changed the parameter under Domains -> Preferences -> NAT and Media Flow Control -> srtp_transcoding from "transparent" to "ForceRTP". The kamailio proxy debug logs do show that the parameter was indeed changed but it did not have any effect on the INVITE message.</div>
<div><br></div><div>What configuration parameter should I be changing to get this to work?</div><div><br></div><div>Thanks again for your help,</div><div>Ashu</div><div><br></div><div><br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">
Hi,

On 02/12/2014 01:44 AM, Ashutosh Apte wrote:
><i> I tried to compare a kamailio configuration file at
</i>><i> <a href="https://gist.github.com/jesusprubio/4066845">https://gist.github.com/jesusprubio/4066845</a> with the one located
</i>><i> at  /etc/kamailio/lb/kamailio.cfg but I cannot see a "listen" entry
</i>><i> specifically for websockets. (I do see that it does load websocket.so)
</i>
There is no listen entry specifically for websockets, as it listens on
the standard SIP ports (5060 TCP for WS and 5061 TLS for WSS -> you have
to enable tls in config.yml for WSS).


><i> What is the default port on which sip:provider listens for websocket
</i>><i> requests?
</i>
See above. The WS URL for SIP is <a href="http://ip:5060/ws">http://ip:5060/ws</a> in v3.1

Andreas</pre></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 11, 2014 at 4:44 PM, Ashutosh Apte <span dir="ltr"><<a href="mailto:apteashutosh@gmail.com" target="_blank">apteashutosh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've downloaded the sip:provider v3.1 (Virtualbox image) and have gone through the handbook to configure the system. But it seems that I've missed enabling websocket support.<div>
<br></div><div>I can successfully register an endpoint using direct SIP but when I try to use jssip or sipml5, the connection establishment fails and the endpoint is never registered.</div>
<div><br></div><div>I tried to compare a kamailio configuration file at <a href="https://gist.github.com/jesusprubio/4066845" target="_blank">https://gist.github.com/jesusprubio/4066845</a> with the one located at  /etc/kamailio/lb/kamailio.cfg but I cannot see a "listen" entry specifically for websockets. (I do see that it does load websocket.so)</div>

<div><br></div><div>What is the default port on which sip:provider listens for websocket requests?</div><div>(I tried pointing the javascript to port 80, 443, 1443, 5081 etc but they all fail with different response codes - XMLRPC Not allowed, 301 Moved Permanently etc)</div>

<div><br></div><div>What change should I make to get the registrations working?</div><div><br></div><div>Please help.</div><div><br></div><div>Thanks,</div><div>Ashutosh</div><div><br></div></div>
</blockquote></div><br></div>