asterisk docs
This commit is contained in:
parent
c80a7fd5a7
commit
0829f7ab0a
@ -341,3 +341,17 @@ port = ssh
|
||||
logpath = %(sshd_log)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
|
||||
```
|
||||
|
@ -1,6 +1,6 @@
|
||||
import os
|
||||
|
||||
port=8009
|
||||
port=8008
|
||||
working_dir='.'
|
||||
forbidden_dir_names=['env', '.git', '__pycache__', 'server']
|
||||
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_index_path=os.path.join(css_dir, css_index_name)
|
||||
markdown_type='gfm'
|
||||
test_cases_dir='test-cases'
|
||||
test_suites_dir='test-suites'
|
||||
test_reports_dir='test-reports'
|
@ -90,7 +90,7 @@ def show_nested_files(files):
|
||||
for nested in subdirectory_files:
|
||||
if type(nested) is str:
|
||||
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]):
|
||||
text += f' <small><a href="/report/{nested}">[report]</a></small>'
|
||||
text += '</li>'
|
||||
@ -167,4 +167,4 @@ def index2(files):
|
||||
"""
|
||||
|
||||
def to_html(body):
|
||||
return html_header + body + html_footer
|
||||
return html_header + body + html_footer
|
||||
|
Loading…
x
Reference in New Issue
Block a user