[SR-Users] Kamailio dump configuration and exit?
David Villasmil
david.villasmil.work at gmail.com
Sun Nov 8 16:38:11 CET 2020
Hey! Didn’t know that one! Very cool! Thanks!
On Sun, 8 Nov 2020 at 11:40, Henning Westerholt <hw at skalatan.de> wrote:
> Hi Brandon,
>
>
>
> I do not think this is currently available, but it might be a good
> extension to add. 😊
>
>
>
> There is a tool to print a “summary” of the cfg file, though:
>
>
>
> henning at app01:~/repositories/kamailio$ python
> misc/tools/route_graph/route_graph.py etc/kamailio.cfg
>
>
>
> Main
>
> |
>
> \- REQINIT
>
> |
>
> \- NATDETECT
>
> |
>
> \- RELAY
>
> |
>
> \- WITHINDLG
>
> | |
>
> | \- DLGURI
>
> | |
>
> | \- NATMANAGE
>
> | |
>
> | \- RELAY
>
> | |
>
> | \- PRESENCE
>
> | | |
>
> | | \- TOVOICEMAIL
>
> | | | |
>
> | | | \- RELAY
>
> | |
>
> | \- RELAY
>
> |
>
> \- AUTH
>
> […]
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users <sr-users-bounces at lists.kamailio.org> *On Behalf Of *Brandon
> Armstead
> *Sent:* Saturday, November 7, 2020 2:36 AM
> *To:* Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
> *Subject:* [SR-Users] Kamailio dump configuration and exit?
>
>
>
> Is there a similar hook to make kamailio dump its current configuration it
> is reading including ... included files, i.e. similar to nginx -T
>
>
>
> root at main:/home/brandon# nginx -h
>
> nginx version: nginx/1.14.2
>
> Usage: nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g
> directives]
>
>
>
> Options:
>
> -?,-h : this help
>
> -v : show version and exit
>
> -V : show version and configure options then exit
>
> -t : test configuration and exit
>
> -T : test configuration, dump it and exit
>
> -q : suppress non-error messages during configuration testing
>
> -s signal : send signal to a master process: stop, quit, reopen,
> reload
>
> -p prefix : set prefix path (default: /usr/share/nginx/)
>
> -c filename : set configuration file (default: /etc/nginx/nginx.conf)
>
> -g directives : set global directives out of configuration file
>
>
>
>
>
> Thanks for your time in advance!
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
--
Regards,
David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201108/d48abc7f/attachment.htm>
More information about the sr-users
mailing list