<p>Hi,</p>

<p>i noticed a weird behavior in 4.2 branch with this kamailio.cfg (snippet)</p>

<p>#!substdef "!UDP_SIP!udp:MY_IP_ADDRESS:5060!g"<br>
#!substdef "!TCP_SIP!tcp:MY_IP_ADDRESS:5060!g"<br>
listen=UDP_SIP<br>
listen=TCP_SIP</p>

<p>####### Routing Logic ########<br>
route<br>
{<br>
    # log the basic info regarding this call<br>
    xlog("L_INFO", "$ci|start|recieved $oP request $rm $ou");<br>
 .....<br>
}</p>

<p>when clients using TCP send a SUBSCRIBE we get log info that it is a UDP operation.<br>
when we send the first notify we get tcp errors.<br>
for reference, i'm using Bria 4 in testing.</p>

<p>Dec 20 16:49:29 kamailio-05 kamailio[5085]: INFO: </p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/11">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZeXeC626ULW8XMlx3i-dm7YqpfxQks5nZaIJgaJpZM4DK5bl.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/11"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>