[SR-Users] DMQ mem leak issues
Charles Chance
charles.chance at sipcentric.com
Thu Aug 2 14:27:08 CEST 2018
Hi Paolo,
How strange...it really shouldn’t (and has never done so for us):
https://www.kamailio.org/wiki/cookbooks/devel/core#method
Either way, $rm is also fine.
Rogelio - to clarify, my aim here is simply to establish if something other
than is_method() works in your case.
Best,
Charles
On Thu, 2 Aug 2018 at 13:07, Paolo Visintin - evosip.cloud
<paolo.visintin at evosip.cloud> wrote:
> 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 at 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 at 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 at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
--
*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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180802/9190f042/attachment.html>
More information about the sr-users
mailing list