Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия | |||
astpanel:ats:asterisk:download_file_v6 [2018/04/10 14:06] tpor |
astpanel:ats:asterisk:download_file_v6 [2018/06/08 09:17] (текущий) apor [Действие] |
||
---|---|---|---|
Строка 23: | Строка 23: | ||
**Если файл найден:** | **Если файл найден:** | ||
<code>; для типа Records | <code>; для типа Records | ||
- | exten => 10000666,n,UserEvent(StartDownloadRecord,Channel: ${chan},FileName: ${port}/${path}/${recfile}) | + | exten => 10000666,n,UserEvent(StartDownloadRecord,chan1c: ${chan},FileName: ${port}/${path}/${recfile}) |
; для типа FAX | ; для типа FAX | ||
- | exten => 10000666,n,UserEvent(StartDownloadFax,Channel: ${chan},FileName: ${port}/${path}/${recfile})</code> | + | exten => 10000666,n,UserEvent(StartDownloadFax,chan1c: ${chan},FileName: ${port}/${path}/${recfile})</code> |
**Если файл не найден:** | **Если файл не найден:** | ||
<code>; для типа Records | <code>; для типа Records | ||
- | exten => 10000666,n,UserEvent(FailDownloadRecord,Channel: ${chan}) | + | exten => 10000666,n,UserEvent(FailDownloadRecord,chan1c: ${chan}) |
; для типа FAX | ; для типа FAX | ||
- | exten => 10000666,n,UserEvent(FailDownloadFax,Channel: ${chan})</code> | + | exten => 10000666,n,UserEvent(FailDownloadFax,chan1c: ${chan})</code> |
==== FileName ==== | ==== FileName ==== |