#3029 ## Description
While the `kex` module exports a way to temporarily change the debug level, it cannot retrieve the current level.
### Expected behavior
I can write Python code like this:
```
if KSR.kex.getdebug() > 2:
... # generate detailed and somewhat-time-consuming debug output
... # which would just get dropped on the floor otherwise
```
#### Actual observed behavior
If there is a way to get Kamailio's current and/or configured debug level, I didn't find it.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3030
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3030(a)github.com>
Hello,
I am considering to release Kamailio v5.5.4 later this week, likely on
Thursday, Feb 17, 2022. This is the usual heads up
notification to see if anyone is aware of issues not yet reported to bug
tracker and if yes, do it as soon as possible to give them a chance to
be fixed.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Feb 21-24, 2022 (America Timezone)
* https://www.asipto.com/sw/kamailio-advanced-training-online/
Hello,
I want to announce the availability of sipexer v1.0.0 - a sip cli tool
that can facilitate testing and monitoring of SIP signalling systems. It
tries to have a modern approach, with a flexible templating system,
supporting both IPv4 and IPv6 with all the common transport layers,
respectively UDP, TCP, TLS and WebSocket (for WebRTC).
The project can be found at:
* https://github.com/miconda/sipexer
It is written in Go language for better portability, binaries for Linux,
MacOS and Windows are made available for download in the release page:
* https://github.com/miconda/sipexer/releases/tag/v1.0.0
Among its features:
* send OPTIONS request (quick SIP ping to check if server is alive)
* do registration and un-registration with customized expires value
and contact URI
* authentication with plain or HA1 passwords
* set custom SIP headers
* template system for building SIP requests
* fields in the templates can be set via command line parameters or a
JSON file
* variables for setting field values (e.g., random number, data,
time, environment variables, uuid, random string, …)
* simulate SIP calls at signalling layer (INVITE-wait-BYE)
* respond to requests coming during SIP calls (e.g., OPTIONS keepalives)
* send instant messages with SIP MESSAGE requests
* color output mode for easier troubleshooting
* support for many transport layers: IPv4 and IPv6, UDP, TCP, TLS and
WebSocket (for WebRTC)
* send SIP requests of any type (e.g., INFO, SUBSCRIBE, NOTIFY, …)
One usage example that could ease the testing of Kamailio is initiating
registrations or simulating calls over WebSocket without the need of
having a JavaScript soft phone application running in a web browser.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com