From notifications@github.com Sat Dec 20 17:57:53 2014 From: lazedo To: sr-dev@lists.kamailio.org Subject: [sr-dev] [kamailio] wrong determination of udp/tcp request (#11) Date: Sat, 20 Dec 2014 08:57:45 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1654805860==" --===============1654805860== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, i noticed a weird behavior in 4.2 branch with this kamailio.cfg (snippet) #!substdef "!UDP_SIP!udp:MY_IP_ADDRESS:5060!g" #!substdef "!TCP_SIP!tcp:MY_IP_ADDRESS:5060!g" listen=3DUDP_SIP listen=3DTCP_SIP ####### Routing Logic ######## route { # log the basic info regarding this call xlog("L_INFO", "$ci|start|recieved $oP request $rm $ou"); ..... } when clients using TCP send a SUBSCRIBE we get log info that it is a UDP oper= ation. when we send the first notify we get tcp errors. for reference, i'm using Bria 4 in testing. Dec 20 16:49:29 kamailio-05 kamailio[5085]: INFO: