User Tools

Site Tools


сервис_asterisk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сервис_asterisk [2025/06/23 07:28]
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 209: Line 209:
 ;​endpoint/​rtp_symmetric=yes ;​endpoint/​rtp_symmetric=yes
 ;​endpoint/​direct_media=no ;​endpoint/​direct_media=no
-;​endpoint/​acl=acl-internet+;​endpoint/​acl=acl_office 
 +;;endpoint/acl=acl_internet
 aor/​max_contacts=1 aor/​max_contacts=1
 aor/​remove_existing=yes aor/​remove_existing=yes
Line 215: Line 216:
 # cat /​etc/​asterisk/​acl.conf # cat /​etc/​asterisk/​acl.conf
 </​code><​code>​ </​code><​code>​
-[acl-office+[acl_office
-permit=192.168.X.0/24 +deny=0.0.0.0/0.0.0.0 
-deny=0.0.0.0/0+permit=192.168.X.0/255.255.255.0
  
-[acl-internet+[acl_internet
-permit=0.0.0.0/​0+permit=0.0.0.0/​0.0.0.0
 </​code>​ </​code>​
  
Line 2689: 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 2731: Line 2733:
  
  
-=== Настройка доступа ​к ARI ===+=== Настройка ​http доступа ===
 <​code>​ <​code>​
 # cat /​etc/​asterisk/​http.conf # cat /​etc/​asterisk/​http.conf
Line 2740: 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>​
сервис_asterisk.1750652923.txt.gz · Last modified: 2025/06/23 07:28 by val