[prev in list] [next in list] [prev in thread] [next in thread]
List: serdev
Subject: [sr-dev] Re: [kamailio/kamailio] Nonexisted route in KEMI python causes "ksr_request_route not found
From: ShadoWalkeR31 via sr-dev <sr-dev () lists ! kamailio ! org>
Date: 2023-09-28 10:26:29
Message-ID: kamailio/kamailio/issues/3572/1738882337 () github ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I build kamailio from master
```
$ /usr/local/sbin/kamailio -v
version: kamailio 5.8.0-dev1 (x86_64/linux) 27f87c
```
and reproduce problem:
```
modparam("dispatcher", "event_callback", "ksr_evnt_dispatcher") # route actually \
named ksr_event_dispatcher KSR.tm.t_on_reply('ksr_onreply_MANAGE') # route not \
existed. KSR.tm.t_on_failure('ksr_failure_ROUTE') # route actually named \
ksr_failure_MANAGE ```
Patch work great - i get messages like
```
0bdb87a767b52b60-1028569@10.100.32.228 OPTIONS app_python3 [python_exec.c:100]: \
apy_exec(): ksr_evnt_dispatcher not found or is not callable ((nil))
DEBUG: 766520133 INVITE app_python3 [python_exec.c:100]: apy_exec(): \
ksr_onreply_MANAGE not found or is not callable ((nil))
DEBUG: 2039759053 INVITE app_python3 [python_exec.c:100]: apy_exec(): \
ksr_failure_ROUTE not found or is not callable ((nil)) ```
and all forks still availible. But can those messages be at log level 'ERROR'? \
Without log level 'DEBUG' it's still hard to detect non-existed KEMI route
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3572#issuecomment-1738882337
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3572/1738882337@github.com>
[Attachment #5 (text/html)]
<p></p>
<p dir="auto">I build kamailio from master</p>
<pre class="notranslate"><code class="notranslate"> $ /usr/local/sbin/kamailio -v
version: kamailio 5.8.0-dev1 (x86_64/linux) 27f87c
</code></pre>
<p dir="auto">and reproduce problem:</p>
<pre class="notranslate"><code class="notranslate"> modparam("dispatcher", \
"event_callback", "ksr_evnt_dispatcher") # route actually named ksr_event_dispatcher \
KSR.tm.t_on_reply('ksr_onreply_MANAGE') # route not existed. \
KSR.tm.t_on_failure('ksr_failure_ROUTE') # route actually named ksr_failure_MANAGE \
</code></pre> <p dir="auto">Patch work great - i get messages like</p>
<pre class="notranslate"><code \
class="notranslate">0bdb87a767b52b60-1028569@10.100.32.228 OPTIONS app_python3 \
[python_exec.c:100]: apy_exec(): ksr_evnt_dispatcher not found or is not callable \
((nil))
DEBUG: 766520133 INVITE app_python3 [python_exec.c:100]: apy_exec(): \
ksr_onreply_MANAGE not found or is not callable ((nil))
DEBUG: 2039759053 INVITE app_python3 [python_exec.c:100]: apy_exec(): \
ksr_failure_ROUTE not found or is not callable ((nil)) </code></pre>
<p dir="auto">and all forks still availible. But can those messages be at log level \
'ERROR'? Without log level 'DEBUG' it's still hard to detect non-existed KEMI \
route</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br \
/>Reply to this email directly, <a \
href="https://github.com/kamailio/kamailio/issues/3572#issuecomment-1738882337">view \
it on GitHub</a>, or <a \
href="https://github.com/notifications/unsubscribe-auth/ABO7UZJB3Z5B2XJ6EKX3QQLX4VGFLANCNFSM6AAAAAA4X72IZI">unsubscribe</a>.<br \
/>You are receiving this because you are subscribed to this thread.<img \
src="https://github.com/notifications/beacon/ABO7UZO4J3PEUI3CYWIWFBLX4VGFLA5CNFSM6AAAA \
AA4X72IZKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTHUU6SC.gif" \
height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: \
none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; \
max-width: 0; max-height: 0; mso-hide: all">Message ID: \
<span><kamailio/kamailio/issues/3572/1738882337</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3572#issuecomment-1738882337",
"url": "https://github.com/kamailio/kamailio/issues/3572#issuecomment-1738882337",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-leave@lists.kamailio.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic