From 00asgaroth00@gmail.com Tue Jul 31 18:01:52 2018 From: Asgaroth <00asgaroth00@gmail.com> To: sr-users@lists.kamailio.org Subject: [SR-Users] is_method not matching message type KDMQ breaking DMQ bus. (master branch) Date: Tue, 31 Jul 2018 17:01:43 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0305173145==" --===============0305173145== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi All, I've come across and oddity whereby my is_method("KDMQ") checks are not matching. I'm testing with kamailio master: version: kamailio 5.2.0-dev6 (x86_64/linux) a16272 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: a16272 compiled on 15:27:21 Jul 31 2018 with gcc 7.3.1 Sample routing logic: request_route { route("InitialMessageChecks"); exit; } route[InitialMessageChecks] { xlog("L_INFO", "Received message type $rm from $si:$sp on $Ri:$Rp"); if ( is_method("KDMQ") ) { xlog("L_INFO", "KDMQ check passed."); } if ( is_method("OPTIONS") ) { xlog("L_INFO", "OPTIONS check passed."); } if ( is_method("SUBSCRIBE") ) { xlog("L_INFO", "SUBSCRIBE check passed."); } } In the logs I am only receiving the 1st log line in the initial message checks route for message types of KDMQ, eg: INFO: