<p>Witch patch Opensips not duplicate transport:</p>

<pre><code>T 172.25.16.1:35074 -&gt; 172.25.37.161:5060 [AP]
SUBSCRIBE sip:1400@domain SIP/2.0.
Via: SIP/2.0/TCP 172.25.16.1:5060;branch=z9hG4bK818215314;rport;alias.
From: &lt;sip:294ee820-3268-11e3-8c04-005056be2a54@domain&gt;;tag=1915679720.
To: &lt;sip:1400@domain&gt;.
Call-ID: 227034201-5060-3@BHC.CF.BG.B.
CSeq: 20010 SUBSCRIBE.
Contact: &lt;sip:294ee820-3268-11e3-8c04-005056be2a54@172.25.16.1:5060;transport=tcp&gt;.
X-Grandstream-PBX: true.
Max-Forwards: 70.
User-Agent: Grandstream GXP2124 1.0.5.32.
Expires: 300.
Supported: replaces, path, timer, eventlist.
Event: dialog.
Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml.
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE.
Content-Length: 0.
</code></pre>

<p>I cant set   "server_address"  because have UDP (port - 5060) and TLS(port - 5061) client, if I not set port in "server_address" Opensips send contact "Contact: sip:172.25.37.161;transport=tcp." If set to 5060 begin problem witch TLS client. </p>

<p>Sorry for English. </p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/290#issuecomment-53232592">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNDU2ODUzMSwiZGF0YSI6eyJpZCI6MzkwMDA5NzF9fQ==--9c9e3202861d637f45c144b701bd4499188eaf3f.gif" width="1" /></p>