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@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<https://gilawa.com/> From: sr-users <[email protected]> On Behalf Of Brandon Armstead Sent: Saturday, November 7, 2020 2:36 AM To: Kamailio (SER) - Users Mailing List <[email protected]> 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@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 [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
