<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Well SCTP operates at the same level as
      UDP and TCP.&nbsp; Unfortunately not enough systems support it, though
      I have done some work with SCTP in the lab in the past - even for
      media streams, not just sigtran.&nbsp; I never did the "send packets at
      the server until smoke comes out" type of load testing, so I don't
      know if the added complexity in sctp would be cause for lower
      capacity per server.&nbsp; However, another upshot is that it (sctp)
      can even mux multiple streams into a packet.<br>
      <br>
      I think that sofia itself supports sctp, but I don't think that
      mod_sofia does.&nbsp; I've not looked closely to see, though.<br>
      <br>
      I for one would welcome our new SCTP overlords if and when they
      ever get here.&nbsp; (I'm still waiting for our ipv6 overlords to
      arrive as well...)<br>
      <br>
      -Yossi<br>
      <br>
      <br>
      On 09/20/2013 09:07 AM, Andrew Cassidy wrote:<br>
    </div>
    <blockquote
cite="mid:CAMbW9oKkS2-NnNDe3zaWYe4zxkqxPBF_bnoMmHnWN2RtuSYWsw@mail.gmail.com"
      type="cite">
      <div dir="ltr">It's all about SCTP anyway :)</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On 20 September 2013 14:55, Steven Ayre
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Separating SIP and RTP messages is probably
              actually fairly easy since SIP messages start "SIP/2.0"
              and RTP will not.
              <div>
                <br>
              </div>
              <div>Architecturally the SIP and RTP stacks are
                implemented by separate libraries though, and having
                them both bound to the same port would be far from
                trivial (both libraries would need to be rewritten to go
                via some abstraction layer). It'd also only be possible
                to do it for UDP.</div>
              <div><br>
              </div>
              <div>-Steve</div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On 20 September 2013 14:50,
                    Steven Ayre <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:steveayre@gmail.com"
                        target="_blank">steveayre@gmail.com</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">
                        <div>
                          <blockquote class="gmail_quote"
                            style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">What
                            you're after is probably something like&nbsp;<a
                              moz-do-not-send="true"
                              href="http://tools.ietf.org/html/rfc5761"
                              target="_blank">http://tools.ietf.org/html/rfc5761</a>&nbsp;-
                            patches welcome ;)</blockquote>
                          <div><br>
                          </div>
                        </div>
                        <div>... that wasn't the document I was after. I
                          think I had seen a draft about multiplexing
                          SIP+RTP, but I may be mistaken.</div>
                        <div
                          style="font-family:arial,sans-serif;font-size:13px"><br>
                        </div>
                      </div>
                      <div>
                        <div>
                          <div class="gmail_extra"><br>
                            <br>
                            <div class="gmail_quote">On 20 September
                              2013 14:49, Steven Ayre <span dir="ltr">&lt;<a
                                  moz-do-not-send="true"
                                  href="mailto:steveayre@gmail.com"
                                  target="_blank">steveayre@gmail.com</a>&gt;</span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                <div dir="ltr">
                                  <div>
                                    <blockquote class="gmail_quote"
                                      style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span
style="font-family:arial,sans-serif;font-size:13px">Wondering why the FS
                                        developers default to not
                                        including rtpmap lines<br>
                                      </span><span
                                        style="font-family:arial,sans-serif;font-size:13px">for
                                        statically defined RTP payload
                                        types?</span></blockquote>
                                    <div><br>
                                    </div>
                                  </div>
                                  <div>Because SIP over UDP doesn't play
                                    well with fragmentation. SDP can
                                    make packets large than the PMTU,
                                    leading to fragmented packets, which
                                    leads to devices ignoring the
                                    packet. Removing the unnecessary
                                    rtpmap lines means smaller SDP so
                                    smaller packet so less likelihood of
                                    that being an issue.</div>
                                  <div><br>
                                  </div>
                                  <div>It shouldn't be such an issue
                                    over TCP.</div>
                                  <div><br>
                                  </div>
                                  <div>Devices *should* support it since
                                    the standard explicitly say the
                                    rtpmap isn't required for static
                                    types, but there are some
                                    manufacturers who ignored that part
                                    so there's the verbose_sdp=true
                                    compatibility option for them.</div>
                                  <div><br>
                                  </div>
                                  <div>
                                    <div>
                                      <blockquote class="gmail_quote"
                                        style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span
style="font-family:arial,sans-serif;font-size:13px">Wonder why SIP
                                          signalling over TCP or TLS is
                                          much more reliable</span></blockquote>
                                      <blockquote class="gmail_quote"
                                        style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span
style="font-family:arial,sans-serif;font-size:13px">through various NAT
                                          and firewall devices?</span></blockquote>
                                      <div><br>
                                      </div>
                                    </div>
                                    <div>That's not necessarily a given.</div>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>In general though because the TCP
                                    connection explicitly signals the
                                    connection closing the mapping will
                                    stay in the firewall. With UDP it is
                                    removed after a long period of
                                    inactivity. That can cause problems
                                    with signalling during a phone call
                                    unless the endpoints send keepalive
                                    packets often enough.</div>
                                  <div><br>
                                  </div>
                                  <div>TLS will prevent the router
                                    helping with SIP ALG - you must have
                                    endpoints capable of doing NAT
                                    traversal themselves (STUN). Though
                                    that's a good idea in all cases
                                    anyway.</div>
                                  <div><br>
                                  </div>
                                  <div>
                                    <div>
                                      <blockquote class="gmail_quote"
                                        style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span
style="font-family:arial,sans-serif;font-size:13px">I wonder if FS could
                                          multiplex SIP and RTP over the
                                          same port someday?</span></blockquote>
                                      <blockquote class="gmail_quote"
                                        style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span
style="font-family:arial,sans-serif;font-size:13px">Maybe support
                                          deflate encoding?</span></blockquote>
                                      <div><br>
                                      </div>
                                    </div>
                                    <div>That wouldn't automatically
                                      work. It would need support by
                                      both ends and protocol changes to
                                      support it.</div>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>What you're after is probably
                                    something like&nbsp;<a
                                      moz-do-not-send="true"
                                      href="http://tools.ietf.org/html/rfc5761"
                                      target="_blank">http://tools.ietf.org/html/rfc5761</a>&nbsp;-
                                    patches welcome ;)</div>
                                  <div><span
                                      style="font-family:arial,sans-serif;font-size:13px"><br>
                                    </span></div>
                                  <div><span
                                      style="font-family:arial,sans-serif;font-size:13px"><br>
                                    </span></div>
                                  <div><br>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div class="gmail_extra">
                                      <br>
                                      <br>
                                      <div class="gmail_quote">
                                        On 20 September 2013 14:07,
                                        Kristian Kielhofner <span
                                          dir="ltr">&lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:kris@kriskinc.com"
                                            target="_blank">kris@kriskinc.com</a>&gt;</span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          Somewhat off-topic but because
                                          it comes up here regularly.<br>
                                          <br>
                                          Wondering why the FS
                                          developers default to not
                                          including rtpmap lines<br>
                                          for statically defined RTP
                                          payload types?<br>
                                          <br>
                                          Wonder why SIP signalling over
                                          TCP or TLS is much more
                                          reliable<br>
                                          through various NAT and
                                          firewall devices?<br>
                                          <br>
                                          Apple has put a significant
                                          amount of effort into
                                          redesigning Facetime<br>
                                          to better handle NAT and
                                          firewall devices. &nbsp;More
                                          details here:<br>
                                          <br>
                                          <a moz-do-not-send="true"
href="http://blog.krisk.org/2013/09/apples-new-facetime-sip-perspective.html"
                                            target="_blank">http://blog.krisk.org/2013/09/apples-new-facetime-sip-perspective.html</a><br>
                                          <br>
                                          I wonder if FS could multiplex
                                          SIP and RTP over the same port
                                          someday?<br>
                                          &nbsp;Maybe support deflate
                                          encoding?<br>
                                          <br>
                                          --<br>
                                          Kristian Kielhofner<br>
                                          <br>
_________________________________________________________________________<br>
                                          Professional FreeSWITCH
                                          Consulting Services:<br>
                                          <a moz-do-not-send="true"
                                            href="mailto:consulting@freeswitch.org"
                                            target="_blank">consulting@freeswitch.org</a><br>
                                          <a moz-do-not-send="true"
                                            href="http://www.freeswitchsolutions.com"
                                            target="_blank">http://www.freeswitchsolutions.com</a><br>
                                          <br>
                                          FreeSWITCH-powered IP PBX: The
                                          CudaTel Communication Server<br>
                                          <a moz-do-not-send="true"
                                            href="http://www.cudatel.com"
                                            target="_blank">http://www.cudatel.com</a><br>
                                          <br>
                                          Official FreeSWITCH Sites<br>
                                          <a moz-do-not-send="true"
                                            href="http://www.freeswitch.org"
                                            target="_blank">http://www.freeswitch.org</a><br>
                                          <a moz-do-not-send="true"
                                            href="http://wiki.freeswitch.org"
                                            target="_blank">http://wiki.freeswitch.org</a><br>
                                          <a moz-do-not-send="true"
                                            href="http://www.cluecon.com"
                                            target="_blank">http://www.cluecon.com</a><br>
                                          <br>
                                          FreeSWITCH-users mailing list<br>
                                          <a moz-do-not-send="true"
                                            href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                                            target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                                          <a moz-do-not-send="true"
                                            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                                            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                                          UNSUBSCRIBE:<a
                                            moz-do-not-send="true"
                                            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                                            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                                          <a moz-do-not-send="true"
                                            href="http://www.freeswitch.org"
                                            target="_blank">http://www.freeswitch.org</a><br>
                                        </blockquote>
                                      </div>
                                      <br>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a moz-do-not-send="true" href="http://www.cudatel.com"
              target="_blank">http://www.cudatel.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
              target="_blank">http://wiki.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <b>Andrew Cassidy BSc (Hons) MBCS SSCA</b>
        <div>Managing Director
          <div>
            <div><img moz-do-not-send="true"
                src="http://c1170247.r47.cf3.rackcdn.com/emailsig.png"><br>
            </div>
            <div><br>
              <div>
                <b
style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"><a
                    moz-do-not-send="true"
                    href="mailto:info@cassidywebservices.co.uk"
style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"
                    target="_blank">T</a>&nbsp;</b>03300 100 960&nbsp;
                <b
style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"><a
                    moz-do-not-send="true"
                    href="mailto:info@cassidywebservices.co.uk"
style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"
                    target="_blank">F</a>&nbsp;</b>03300 100 961</div>
              <div><b
                  style="text-decoration:none;font-family:sans-serif"><a
                    moz-do-not-send="true"
                    href="mailto:info@cassidywebservices.co.uk"
style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"
                    target="_blank">E</a>&nbsp;</b><a moz-do-not-send="true"
                  href="mailto:andrew@cassidywebservices.co.uk"
                  target="_blank">andrew@cassidywebservices.co.uk</a></div>
              <div><b
                  style="text-decoration:none;font-family:sans-serif"><a
                    moz-do-not-send="true"
                    href="mailto:info@cassidywebservices.co.uk"
style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"
                    target="_blank">W</a>&nbsp;</b><a moz-do-not-send="true"
                  href="http://www.cassidywebservices.co.uk"
                  target="_blank">www.cassidywebservices.co.uk</a></div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>