<div dir="ltr">Hi Rogelio,<div><br></div><div>No need to test with method/$rm - the is_method() regression is now fixed.</div><div><br></div><div>If you pull the latest master you should be able to test Daniel's patch again.</div><div><br></div><div>Cheers,</div><div><br></div><div>Charles</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 August 2018 at 13:27, Charles Chance <span dir="ltr"><<a href="mailto:charles.chance@sipcentric.com" target="_blank">charles.chance@sipcentric.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">Hi Paolo,</div></div><div dir="auto"><br></div><div dir="auto">How strange...it really shouldn’t (and has never done so for us): <div><div><a href="https://www.kamailio.org/wiki/cookbooks/devel/core#method" target="_blank">https://www.kamailio.org/wiki/<wbr>cookbooks/devel/core#method</a></div><br></div><div dir="auto">Either way, $rm is also fine.</div><div dir="auto"><br></div><div dir="auto">Rogelio - to clarify, my aim here is simply to establish if something other than is_method() works in your case.</div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto"><br></div><div dir="auto">Charles</div><div dir="auto"><br></div></div><div class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote"><div dir="ltr">On Thu, 2 Aug 2018 at 13:07, Paolo Visintin - evosip.cloud <paolo.visintin@evosip.cloud> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif">Hi Charles, </div><div style="font-family:tahoma,sans-serif">method == "KDMQ" says "syntax error" </div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">we solved using if($rm == "KDMQ")</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">Cheers</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-738362766780338994m_406967303040241000gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="tahoma, sans-serif"><b>Paolo Visintin</b></font></div><div><font face="tahoma, sans-serif"><i>CTO</i></font></div><div><font face="tahoma, sans-serif"><a href="http://evosip.cloud" target="_blank">evosip.cloud</a></font></div><img src="https://pbs.twimg.com/profile_images/994977366991687680/3zZpsQqs_400x400.jpg" alt="Risultati immagini per evosip" width="96" height="96"><br></div></div></div>
<br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">2018-08-02 9:43 GMT+02:00 Charles Chance <span dir="ltr"><<a href="mailto:charles.chance@sipcentric.com" target="_blank">charles.chance@sipcentric.com</a><wbr>></span>:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">Again out of interest, what happens if you change it to:</div></div><div dir="auto"><br></div><div dir="auto">if (method == “KDMQ”) {</div><div dir="auto">...</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto"><br></div><div dir="auto">Charles</div><div class="m_-738362766780338994m_406967303040241000HOEnZb"><div class="m_-738362766780338994m_406967303040241000h5"><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, 2 Aug 2018 at 04:45, Rogelio Perez <<a href="mailto:rogelio@telnyx.com" target="_blank">rogelio@telnyx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Charles, here you go:</div><div><br></div><div>####### Routing Logic ########<br><br># Main SIP request routing logic<br># - processing of any incoming SIP request starts with this route<br># - note: this is the same as route { ... }<br>request_route {<br><br> # per request initial checks<br> route(REQINIT);<br><br> #!ifdef ENABLE_KDMQ<br> # Handle Kamailio DQM messages<br> if (is_method("KDMQ")) {<br> dmq_handle_message();<br> }<br> #!endif<br></div></div>
</blockquote></div></div></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-738362766780338994m_406967303040241000HOEnZb"><div class="m_-738362766780338994m_406967303040241000h5">-- <br><div dir="ltr" class="m_-738362766780338994m_406967303040241000m_-2026248444068212757gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="arial, helvetica, sans-serif"><b><font size="2">Charles Chance</font></b><br><font size="2">Managing Director</font></font><br><div><font face="arial, helvetica, sans-serif"><font size="2"><br></font></font></div><div><font face="arial, helvetica, sans-serif"><font size="2">t. 0330 120 1200 m. 07932 063 891</font></font></div></div></div></div></div>
<br>
</div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-738362766780338994m_406967303040241000HOEnZb"><div class="m_-738362766780338994m_406967303040241000h5"><div><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Sipcentric Ltd.
Company registered in England & Wales no. 7365592.</font><span style="font-size:10pt;font-family:Helvetica,Arial,sans-serif"> </span><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Registered
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></div></div></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div></div>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="m_-738362766780338994gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="arial, helvetica, sans-serif"><b><font size="2">Charles Chance</font></b><br><font size="2">Managing Director</font></font><br><div><font face="arial, helvetica, sans-serif"><font size="2"><br></font></font></div><div><font face="arial, helvetica, sans-serif"><font size="2">t. 0330 120 1200 m. 07932 063 891</font></font></div></div></div></div></div>
</div></div></blockquote></div><br><br>
</div></div>
<br>
<div><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Sipcentric Ltd.
Company registered in England & Wales no. 7365592.</font><span style="font-size:10pt;font-family:Helvetica,Arial,sans-serif"> </span><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Registered
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></div>