SIP Over TCP vs. UDP

Office Communications Server 2007 (and the coming R2) is based on a SIP stack that supports TLS (using TCP as the base transport) by default.  OCS 2007 does not support UDP.  I’ve had discussions with developers about this engineering choice.

When the subject comes up, I often mention this post on comparing TCP and UDP from the Office Communications Server team.

Comments

  • Anonymous
    January 13, 2009
    The comment has been removed
  • Anonymous
    January 14, 2009
    Regardless of the debate, making it work is relatively easy because OCS has the media translation built into the mediation server for G711 over UDP - there are posts out there on using SER or asterisk on linux to accomplish this - in fact thats what the officially supported ITSP's are doing on their end. We have a windows based product in beta right now that enables SIP registration from OCS to any ITSP (UDP or TCP) and because it uses sip registrations it also allows for flexibility in terms of firewall configurations and NAT. Prior to building this we used a soft pbx (PBXnSip) to achieve the same thing.