This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_asterisk [2025/06/23 11:06] val [Настройка RES_PJSIP каналов] |
сервис_asterisk [2025/06/23 17:05] (current) val [Настройка CHAN_SIP каналов] |
||
---|---|---|---|
Line 44: | Line 44: | ||
allow=alaw | allow=alaw | ||
- | directmedia=no ; for webinar | + | ;directmedia=no ; for webinar |
- | nat=force_rport,comedia ; for webinar | + | ;nat=force_rport,comedia ; for webinar |
- | qualify=yes ; for webinar | + | ;qualify=yes ; for webinar |
;context=default | ;context=default | ||
Line 2690: | Line 2690: | ||
[general] | [general] | ||
enabled = yes | enabled = yes | ||
+ | ;webenabled = yes | ||
port = 5038 | port = 5038 | ||
bindaddr = 127.0.0.1 | bindaddr = 127.0.0.1 | ||
Line 2732: | Line 2733: | ||
- | === Настройка доступа к ARI === | + | === Настройка http доступа === |
<code> | <code> | ||
# cat /etc/asterisk/http.conf | # cat /etc/asterisk/http.conf | ||
Line 2741: | Line 2742: | ||
;bindaddr=0.0.0.0 | ;bindaddr=0.0.0.0 | ||
bindport=8088 | bindport=8088 | ||
- | </code><code> | + | </code> |
+ | === Настройка доступа к ARI === | ||
+ | <code> | ||
# cat /etc/asterisk/ari.conf | # cat /etc/asterisk/ari.conf | ||
</code><code> | </code><code> |