Line 1: |
Line 1: |
| [[Category:How to]] | | [[Category:How to]] |
| '''Publishing Node Statistics''' | | '''Publishing Node Statistics''' |
| + | |
| + | PTTLink nodes can optionally publish some of their statistical information on stats.pttlink.org. By default, status reporting is not enabled. To enable status reporting, the config file /etc/asterisk/rpt.conf needs to be modified. |
| + | |
| + | === Making the changes in DEBIAN === |
| + | Using a text editor such as vi or nano, edit the file /etc/asterisk/rpt.conf. Uncomment or Insert the following two lines in the node stanza for a node you wish to publish the statistics for: |
| + | |
| + | [1999] |
| + | |
| + | .... |
| + | |
| + | .... |
| + | |
| + | <code>statpost_program=/usr/bin/wget,-q,--output-document=/dev/null</code> |
| + | |
| + | <code>statpost_url=<nowiki>http://stats.pttlink.org/uhandler.php</nowiki> ; Status updates</code> |
| + | |
| + | === Making the changes in ACID === |
| + | Using a text editor such as vi or nano, edit the file /etc/asterisk/rpt.conf. Insert the following two lines in the node stanza for a node you wish to publish the statistics for: |
| + | |
| + | [1999] |
| + | |
| + | .... |
| + | |
| + | .... |
| + | |
| + | <code>statpost_program=/usr/bin/wget,-q,--output-document=/dev/null</code> |
| + | |
| + | <code>statpost_url=<nowiki>http://stats.pttlink.org/uhandler.php</nowiki> ; Status updates</code> |
| + | |
| + | === Making the changes in Limey Linux === |
| + | Using the vi or emacs text editor, edit the file /etc/asterisk/rpt.conf. Insert the following two lines in the node stanza for a node you wish to publish the statistics for: |
| + | |
| + | [1999] |
| + | |
| + | .... |
| + | |
| + | .... |
| + | |
| + | <code>statpost_program=/bin/wget,-q,--output-document=/dev/null</code> |
| + | |
| + | <code>statpost_url=<nowiki>http://stats.pttlink.org/uhandler.php</nowiki> ; Status updates</code> |