Again out of interest, what happens if you change it to:

if (method == “KDMQ”) {
...

Cheers,

Charles


On Thu, 2 Aug 2018 at 04:45, Rogelio Perez <rogelio@telnyx.com> wrote:
Charles, here you go:

####### Routing Logic ########

# Main SIP request routing logic
# - processing of any incoming SIP request starts with this route
# - note: this is the same as route { ... }
request_route {

  # per request initial checks
  route(REQINIT);

  #!ifdef ENABLE_KDMQ
  # Handle Kamailio DQM messages
  if (is_method("KDMQ")) {
    dmq_handle_message();
  }
  #!endif
--
Charles Chance
Managing Director


t. 0330 120 1200    m. 07932 063 891

Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.