asterisk docs

This commit is contained in:
Sviatoslav Tsariov Yurievich 2023-05-04 16:53:02 +03:00
parent c80a7fd5a7
commit 0829f7ab0a
3 changed files with 17 additions and 6 deletions

View File

@ -341,3 +341,17 @@ port = ssh
logpath = %(sshd_log)s logpath = %(sshd_log)s
backend = %(sshd_backend)s backend = %(sshd_backend)s
``` ```
## Compiling Asterisk
To compile Asterisk you need to download its source (for example, [Asterisk 16](https://launchpad.net/ubuntu/+source/asterisk/1:16.2.1~dfsg-2ubuntu1)).
```bash
sudo ./contrib/scripts/install_prereq install
sudo ./configure --with-jansson-bundled
sudo make menuselect
sudo make
sudo make install
sudo make samples
sudo make config
sudo asterisk -vvvc
```

View File

@ -1,6 +1,6 @@
import os import os
port=8009 port=8008
working_dir='.' working_dir='.'
forbidden_dir_names=['env', '.git', '__pycache__', 'server'] forbidden_dir_names=['env', '.git', '__pycache__', 'server']
allowed_file_endings=['.md'] allowed_file_endings=['.md']
@ -15,6 +15,3 @@ css_index_name='github-markdown.css'
css_md_path=os.path.join(css_dir, css_md_name) css_md_path=os.path.join(css_dir, css_md_name)
css_index_path=os.path.join(css_dir, css_index_name) css_index_path=os.path.join(css_dir, css_index_name)
markdown_type='gfm' markdown_type='gfm'
test_cases_dir='test-cases'
test_suites_dir='test-suites'
test_reports_dir='test-reports'

View File

@ -90,7 +90,7 @@ def show_nested_files(files):
for nested in subdirectory_files: for nested in subdirectory_files:
if type(nested) is str: if type(nested) is str:
text += f'<li class="file-entry"><a href="/view/{nested}">{os.path.basename(nested)}</a>' text += f'<li class="file-entry"><a href="/view/{nested}">{os.path.basename(nested)}</a>'
reportable_dirs = [item + '\\' for item in [env.test_cases_dir, env.test_suites_dir]] reportable_dirs = [item + '\\' for item in []]
if any([directory in nested for directory in reportable_dirs]): if any([directory in nested for directory in reportable_dirs]):
text += f' <small><a href="/report/{nested}">[report]</a></small>' text += f' <small><a href="/report/{nested}">[report]</a></small>'
text += '</li>' text += '</li>'
@ -167,4 +167,4 @@ def index2(files):
""" """
def to_html(body): def to_html(body):
return html_header + body + html_footer return html_header + body + html_footer