<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>since couple of version, the stun implementation is a module:</p>
<p> -
<a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/stun.html">https://www.kamailio.org/docs/modules/stable/modules/stun.html</a></p>
<p>When the client side uses stun and turn, kamailio should not do
anything special, just forward requests.</p>
<p>Probably other dedicated stun server projects are more up to date
and complete implementations, if the implementation in kamailio is
not sufficient, you can use them just fine, not problem from
kamailio point of view.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 21/09/16 16:53, Hermann Norpois
wrote:<br>
</div>
<blockquote
cite="mid:CAKyZeBupJdxDy_psei259ikwa=ZfziK6YhcxzSLLHMhMPaSY4w@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,<br>
<div><br>
I have some STUN questions. My plan is to build a P2P
connection with ICE (psua2 or libnice).<br>
<br>
<br>
1) According to the cookbook (<a moz-do-not-send="true"
href="http://www.kamailio.org/wiki/cookbooks/4.0.x/core">http://www.kamailio.org/wiki/cookbooks/4.0.x/core</a>)
one can activate an internal STUN server:<br>
stun_allow_stun = 0 | 1 (off | on); default 1<br>
<br>
This is followed by:<br>
"Note: STUN support is only available if sip-router/Kamailio
was compiled with STUN support (“make STUN=1 cfg”)"<br>
<br>
I did an installation with sudo apt-get ... Is STUN support
availbable? How do I check for STUN support?<br>
<br>
2) I ICE it seems to be usual that the body of the SIP request
contains an SDP message that includes the IP addresses and
ports to be used. So the results of the STUN request (and TURN
request possibily) are already included. How does the kamailio
STUN server work? Is it an independent STUN server (caller
asks the kamailio STUN server - gets an answer - encodes an
SDP with the external IP adress an port information - starts
the SIP INVITE) ? Or does Kamailio change SDP lines after
contacting the internal STUN server?<br>
<br>
3) Is the kanailio STUN server prefered to other STUN servers,
for instance <a moz-do-not-send="true"
href="http://stun.stunprotocol.org">stun.stunprotocol.org</a>?
<br>
<br>
</div>
<div>Thanks<br>
</div>
<div>Hermann<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>