提交 bcf7d477 authored 作者: Raymond Chandler's avatar Raymond Chandler

Merge branch 'master' of fs-git:freeswitch

...@@ -71,7 +71,8 @@ ATTRS: ...@@ -71,7 +71,8 @@ ATTRS:
file : The file file : The file
name : Param name to save result. name : Param name to save result.
error-file : Error file to play on invalid input. 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) 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. input-timeout : Timeout waiting for more digits in a multi-digit input.
loops : max times to play the file when input bindings are present. loops : max times to play the file when input bindings are present.
...@@ -82,13 +83,14 @@ asr-grammar : ASR grammar to use ...@@ -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> <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: ATTRS:
file : The file file : The file
name : Param name to save result. name : Param name to save result.
error-file : Error file to play on invalid input. 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) 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. input-timeout : Timeout waiting for more digits in a multi-digit input.
...@@ -103,7 +105,8 @@ ATTRS: ...@@ -103,7 +105,8 @@ ATTRS:
milliseconds : Number of milliseconds to pause milliseconds : Number of milliseconds to pause
name : Param name to save result. name : Param name to save result.
error-file : Error file to play on invalid input. 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) 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. input-timeout : Timeout waiting for more digits in a multi-digit input.
loops : max times to play the file when input bindings are present. loops : max times to play the file when input bindings are present.
...@@ -119,7 +122,8 @@ ATTRS: ...@@ -119,7 +122,8 @@ ATTRS:
file : The file file : The file
name : Param name to save result. name : Param name to save result.
error-file : Error file to play on invalid input. 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) 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. input-timeout : Timeout waiting for more digits in a multi-digit input.
loops : max times to play the file when input bindings are present. loops : max times to play the file when input bindings are present.
...@@ -137,7 +141,8 @@ ATTRS: ...@@ -137,7 +141,8 @@ ATTRS:
file : The file file : The file
name : Param name to save result. name : Param name to save result.
error-file : Error file to play on invalid input. 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) 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. input-timeout : Timeout waiting for more digits in a multi-digit input.
loops : max times to play the file when input bindings are present. loops : max times to play the file when input bindings are present.
...@@ -150,25 +155,30 @@ gender : gender (fs param) ...@@ -150,25 +155,30 @@ gender : gender (fs param)
<execute application>*DATA*</execute> <execute application data action>*DATA*</execute>
: Execute a FreeSWITCH app. : Execute a FreeSWITCH app.
ATTRS: ATTRS:
application : The app to run 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 *DATA* : The app data
<sms to>DATA</sms> <sms to action>DATA</sms>
: Send a SMS message. : Send a SMS message.
ATTRS: ATTRS:
to : The dest number 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 *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. : Place an outbound call or transfer.
ATTRS: ATTRS:
...@@ -176,6 +186,8 @@ context : Dialplan context. ...@@ -176,6 +186,8 @@ context : Dialplan context.
dialplan : Dialplan dialplan. dialplan : Dialplan dialplan.
caller-id-name : Caller ID Name. caller-id-name : Caller ID Name.
caller-id-number : Caller ID Number. 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 *DATA* : Number to dial or originate string
...@@ -189,28 +201,28 @@ ATTRS: ...@@ -189,28 +201,28 @@ ATTRS:
limit : Timeout in seconds. limit : Timeout in seconds.
name : Name to use for input values. name : Name to use for input values.
action : URL action to use. action : URL action to use.
temp-action : Change url to submit to. just for the next loop.
<conference profile action>
<conference profile>
: Start a conference call. : Start a conference call.
ATTRS: ATTRS:
profile : Conference profile to use. 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 action>
<hangup cause>
: Hangup the call : Hangup the call
ATTRS: ATTRS:
cause : Hangup cause 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 ...@@ -221,11 +233,21 @@ cause : Hangup cause
<log level clean> <log level clean action>
: Exit the httapi application and continue in the dialplan. : Exit the httapi application and continue in the dialplan.
ATTRS: ATTRS:
level : The log level to use. level : The log level to use.
clean : If true do not pring log prefix. 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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论