Hi Charles, method == "KDMQ" says "syntax error"
we solved using if($rm == "KDMQ")
Cheers
*Paolo Visintin* *CTO* evosip.cloud [image: Risultati immagini per evosip]
2018-08-02 9:43 GMT+02:00 Charles Chance charles.chance@sipcentric.com:
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.
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users