Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
bcf7d477
提交
bcf7d477
authored
1月 08, 2012
作者:
Raymond Chandler
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of fs-git:freeswitch
上级
f5549c29
32ec4319
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
219 行增加
和
43 行删除
+219
-43
mod_httapi.c
src/mod/applications/mod_httapi/mod_httapi.c
+180
-26
mod_httapi_doc.txt
src/mod/applications/mod_httapi/mod_httapi_doc.txt
+39
-17
没有找到文件。
src/mod/applications/mod_httapi/mod_httapi.c
浏览文件 @
bcf7d477
差异被折叠。
点击展开。
src/mod/applications/mod_httapi/mod_httapi_doc.txt
浏览文件 @
bcf7d477
...
...
@@ -71,7 +71,8 @@ ATTRS:
file : The file
name : Param name to save result.
error-file : Error file to play on invalid input.
action : Change the new target url
action : Change the new target url.
temp-action : Change url to submit to. just for the next loop.
digit-timeout : Timeout waiting for digits after file plays (when input bindings are present)
input-timeout : Timeout waiting for more digits in a multi-digit input.
loops : max times to play the file when input bindings are present.
...
...
@@ -82,13 +83,14 @@ asr-grammar : ASR grammar to use
<record file name error-file action digit-timeout input-timeout><bind action strip>*EXPR*</bind></record>
: Records a file, optionally collects input and posts the file back to the target url
: Records a file, optionally collects input and posts the file back to the target url
.
ATTRS:
file : The file
name : Param name to save result.
error-file : Error file to play on invalid input.
action : Change the new target url
action : Change the new target url.
temp-action : Change url to submit to. just for the next loop.
digit-timeout : Timeout waiting for digits after file plays (when input bindings are present)
input-timeout : Timeout waiting for more digits in a multi-digit input.
...
...
@@ -103,7 +105,8 @@ ATTRS:
milliseconds : Number of milliseconds to pause
name : Param name to save result.
error-file : Error file to play on invalid input.
action : Change the new target url
action : Change the new target url.
temp-action : Change url to submit to. just for the next loop.
digit-timeout : Timeout waiting for digits after file plays (when input bindings are present)
input-timeout : Timeout waiting for more digits in a multi-digit input.
loops : max times to play the file when input bindings are present.
...
...
@@ -119,7 +122,8 @@ ATTRS:
file : The file
name : Param name to save result.
error-file : Error file to play on invalid input.
action : Change the new target url
action : Change the new target url.
temp-action : Change url to submit to. just for the next loop.
digit-timeout : Timeout waiting for digits after file plays (when input bindings are present)
input-timeout : Timeout waiting for more digits in a multi-digit input.
loops : max times to play the file when input bindings are present.
...
...
@@ -137,7 +141,8 @@ ATTRS:
file : The file
name : Param name to save result.
error-file : Error file to play on invalid input.
action : Change the new target url
action : Change the new target url.
temp-action : Change url to submit to. just for the next loop.
digit-timeout : Timeout waiting for digits after file plays (when input bindings are present)
input-timeout : Timeout waiting for more digits in a multi-digit input.
loops : max times to play the file when input bindings are present.
...
...
@@ -150,25 +155,30 @@ gender : gender (fs param)
<execute application>*DATA*</execute>
<execute application
data action
>*DATA*</execute>
: Execute a FreeSWITCH app.
ATTRS:
application : The app to run
action : Change url to submit to.
temp-action : Change url to submit to. just for the next loop.
data : Alternate source for app data
*DATA* : The app data
<sms to>DATA</sms>
<sms to
action
>DATA</sms>
: Send a SMS message.
ATTRS:
to : The dest number
action : Change url to submit to.
temp-action : Change url to submit to. just for the next loop.
*DATA* : The message data
<dial context dialplan caller-id-name caller-id-number>*DATA*</dial>
<dial context dialplan caller-id-name caller-id-number
action
>*DATA*</dial>
: Place an outbound call or transfer.
ATTRS:
...
...
@@ -176,6 +186,8 @@ context : Dialplan context.
dialplan : Dialplan dialplan.
caller-id-name : Caller ID Name.
caller-id-number : Caller ID Number.
action : Change url to submit to.
temp-action : Change url to submit to. just for the next loop.
*DATA* : Number to dial or originate string
...
...
@@ -189,28 +201,28 @@ ATTRS:
limit : Timeout in seconds.
name : Name to use for input values.
action : URL action to use.
temp-action : Change url to submit to. just for the next loop.
<conference profile>
<conference profile action>
: Start a conference call.
ATTRS:
profile : Conference profile to use.
action : Change url to submit to.
temp-action : Change url to submit to. just for the next loop.
<hangup cause>
<hangup cause action>
: Hangup the call
ATTRS:
cause : Hangup cause
action : Change url to submit to.
temp-action : Change url to submit to. just for the next loop.
...
...
@@ -221,11 +233,21 @@ cause : Hangup cause
<log level clean>
<log level clean
action
>
: Exit the httapi application and continue in the dialplan.
ATTRS:
level : The log level to use.
clean : If true do not pring log prefix.
action : Change url to submit to.
temp-action : Change url to submit to. just for the next loop.
<continue action>
: Just continue (no-op)
ATTRS:
action : Change url to submit to.
temp-action : Change url to submit to. just for the next loop.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论