Re: [SR-Users] Kamailio dump configuration and exit?
Hey! Didn’t know that one! Very cool! Thanks! On Sun, 8 Nov 2020 at 11:40, Henning Westerholt 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@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 *On Behalf Of *Brandon > Armstead > *Sent:* Saturday, November 7, 2020 2:36 AM > *To:* Kamailio (SER) - Users Mailing List > *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 > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Kamailio dump configuration and exit?
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 On Behalf Of Brandon Armstead Sent: Saturday, November 7, 2020 2:36 AM To: Kamailio (SER) - Users Mailing List 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 sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[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 sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users