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 Both sides next revision
сервис_asterisk [2022/04/15 18:39]
val [Приложение SHELL]
сервис_asterisk [2022/04/15 19:31]
val [С использованием Call файлов]
Line 1918: Line 1918:
  
 <​code>​ <​code>​
-server# cat 1.call+# cat call.txt
 </​code><​code>​ </​code><​code>​
-Channel: ​sip/401 +Channel: ​Local/voip1_00000X@default 
-Extension: ​601+Extension: ​89161234567
 Context: default Context: default
-CallerId: ​Conferencia ​<601>+CallerId: ​CorpX<84992636363>
 </​code><​code>​ </​code><​code>​
-server# ​cat 2.call +server# ​cp call.txt /​var/​spool/​asterisk/​outgoing/​
-</​code><​code>​ +
-Channel: sip/402 +
-Extension: 601 +
-Context: default +
-CallerId: Conferencia <​601>​ +
-</​code><​code>​ +
-server# cat 3.call +
-</​code><​code>​ +
-Channel: sip/403 +
-Extension: 601 +
-Context: default +
-CallerId: Conferencia <​601>​ +
-</​code><​code>​ +
-server# cp [123].call ​/​var/​spool/​asterisk/​outgoing/​+
 </​code><​code>​ </​code><​code>​
 # cat /​usr/​share/​originate_call_file.sh # cat /​usr/​share/​originate_call_file.sh
Line 1957: Line 1943:
 # /​usr/​share/​originate_call_file.sh 402 601 Conferencia # /​usr/​share/​originate_call_file.sh 402 601 Conferencia
 # /​usr/​share/​originate_call_file.sh 401 601 Conferencia # /​usr/​share/​originate_call_file.sh 401 601 Conferencia
-</​code><​code>​ 
-# cat test_local.call 
-</​code><​code>​ 
-Channel: Local/​311@default 
-Extension: 89161234567 
-Context: default 
-CallerId: Echo <311> 
 </​code>​ </​code>​
 ==== Пример с использованием Asterisk AMI ==== ==== Пример с использованием Asterisk AMI ====
сервис_asterisk.txt · Last modified: 2023/12/02 08:15 by val