吴伟贤のBlog

Feed Rss

freeswitch 拨号计划应用APP Dialplan Applications

07.24.2013, freeswitch, by .

来源:https://wiki.freeswitch.org/wiki/Mod_dptools

简单GG翻译下,仅用于自己学习用。

Mod_dptools模块,提供了大量的拨号计划应用APP

应用APP Applications

A

  • answer – 接听一个信道电话Answer the call for a channel.
  • att_xfer – 出席转移Attended Transfer.

B

  • bind_digit_action – 绑定按键顺序或正则表达式的动作 Bind a key sequence or regex to an action.
  • bind_meta_app – 响应指定呼叫腿( S)在一定的DTMF序列的桥梁和执行另一个拨号方案中的应用 Respond to certain DTMF sequences on specified call leg(s) during a bridge and execute another dialplan application.
  • block_dtmf – 在信道上阻止DTMF的发送或接收 Block DTMFs from being sent or received on the channel.
  • break – 取消信道上当前正在运行的应用APP Cancel an application currently running on the channel.
  • bridge – 桥接现有的一条新信道 Bridge a new channel to the existing one.
  • bridge_export – 跟export一样,but exports across当一个信道桥接另一个Like export but exports across when one channel bridges another

C

  • capture – 捕捉数据到信道变量内 Capture data into a channel variable.
  • check_acl – 检查IP是否在ACL列表内 Check an ip against an ACL list.
  • clear_digit_action – 清除所有数字绑定 Clear all digit bindings
  • clear_speech_cache – 清除讲话手柄缓存Clear speech handle cache.
  • cluechoo – Console-only “ConCon” choo-choo traing
  • cng_plc – To perform plc on any lost packets and execute on originate. It is like execute on answer etc but only for outbound calls during originate.
  • conference – 建立一个多方会议 Establish a multi-party conference.
  • conference_set_auto_outcall – Dial string to have the conference call when started, can be used multiple times before the conference action to call multiple parties.

D

  • db – 插入信息到数据库 insert information into the database.
  • deflect – 发送呼叫转移/refer Send a call deflect/refer.
  • delay_echo – 指定的回声延迟 Echo audio at a specified delay.
  • detect_speech – 检测在一个通道上的讲话 Detect speech on a channel.
  • digit_action_set_realm – 更改绑定的realm Change binding realm.
  • displace_session – 在信道内置换音频 Displace audio on a channel.

E

  • early_hangup – 在信道上启用早期挂断 Enable early hangup on a channel.
  • eavesdrop – 侦听信道 Spy on a channel.
  • echo – 给发起通话方一个音频和视频回声 Echo audio and video back to the originator.
  • enable_heartbeat – 启用媒体心跳 Enable Media Heartbeat.
  • endless_playback – 连续播放文件来电 Continuously play file to caller.
  • enum – 执行E.164查找 Perform E.164 lookup.
  • erlang – 使用Erlang处理呼叫 Handle a call using Erlang.
  • eval – 计算一个字符串 Evaluates a string.
  • event – 触发一个事件 Fire an event.
  • execute_extension – 执行一个分机 Executes an extension.
  • export – Export a channel variable across a bridge <varname>=<value>

F

  • fax_detect – 检测到传真CNG – 可能被弃用 Detect FAX CNG – may be deprecated.
  • fifo – 将来电发送到一个FIFO队列 Send caller to a FIFO queue.
  • fifo_track_call – Count a call as a FIFO call in the manual_calls queue.
  • flush_dtmf – Flush 任何排队的DTMF Flush any queued DTMF.

G

  • gentones – 生成TGML音 Generate TGML tones.
  • group – 插入或删除群组中的成员 Insert or delete members in a group.

H

  • hangup – 挂断当前信道 Hang up the current channel.
  • hash – 向数据库添加一个hash Add a hash to the db.
  • hold – 发送”保持”的消息Send a hold message.
  • httapi – 用HTTAPI结构向WEB服务端发送呼叫控制 Send call control to a Web server with the HTTAPI infrastructure

I

  • info – 显示呼叫信息 Display Call Info.
  • intercept –  Lets you pickup a call and take it over if you know the uuid.
  • ivr – 运行IVR菜单 Run an IVR menu.

J

  • javascript – 从拨号计划中运行JavaScript脚本Run a JavaScript script from the dialplan
  • jitterbuffer – 发送抖动缓冲消息给session会话 Send a jitter buffer message to a session

L

  • limit – 限制呼入/呼出的呼叫数 Set a limit on number of calls to/from a resource
  • limit_execute – 设置特定应用APP的限制 Set the limit on a specific application
  • limit_hash – Set a limit on number of calls to/from a resource
  • limit_hash_execute – Set the limit on a specific application
  • log – 记录调用应用APP信道的信道变量 Logs a channel variable for the channel calling the application.
  • lua – 从拨号计划运行Lua脚本 Run a Lua script from the dialplan

M

  • media_reset – 重置所有旁路bypass/代理proxy 媒体标志 Reset all bypass/proxy media flags.
  • mkdir – 创建一个目录 Create a directory.
  • multiset – 设置多个通道变量与一个单一的行动 Set multiple channel variables with a single action.
  • mutex – 阻塞通话流量,只允许一次一个 Block on a call flow, allowing only one at a time

P

  • page – 当一个页面来发送文件 Send a file as a page.
  • park – 停放一个呼叫 Park a call.
  • park_state – 停放载 Park State.
  • phrase – 说一个短语 Say a Phrase.
  • pickup – 获得呼叫 Pickup a call.
  • play_and_detect_speech – Play while doing 语音识别 Play while doing speech recognition.
  • play_and_get_digits – 播放并获得位数 Play and get Digits.
  • play_fsv – 播放一个FSV文件。 FSV – ( FS视频文件格式)需要额外的说明 Play an FSV file. FSV – (FS Video File Format) additional description needed
  • playback – 向发起呼叫拨打一个声音文件 Play a sound file to the originator.
  • pre_answer – 在早期媒体模式接通一个信道 Answer a channel in early media mode.
  • preprocess – description needed
  • presence – Send Presence
  • privacy – 设置来电通话隐私 Set caller privacy on calls.

Q

  • queue_dtmf – 成功桥接后,发送一个DTMF数字 Send DTMF digits after a successful bridge.

R

  • read – 读取数字 Read Digits.
  • record – 从信道输入中录音 Record a file from the channels input.
  • record_fsv – 录制FSV文件。 FSV – ( FS视频文件格式)需要额外的说明 Record a FSV file. FSV – (FS Video File Format) additional description needed
  • record_session – 会话session录音 Record Session.
  • recovery_refresh – 发送一个恢复刷新 Send a recovery refresh.
  • redirect – 发送重定向消息给session会话 Send a redirect message to a session.
  • regex – 执行一个正则表达式 Perform a regex.
  • remove_bugs – 删除媒体的错误 Remove media bugs.
  • rename – 重命名文件 Rename file.
  • respond – 发送一个响应消息给session会话 Send a respond message to a session.
  • ring_ready – 在信道上注明Ring_Ready Indicate Ring_Ready on a channel.
  • rxfax – 接收传真 并存为tif文件格式 Receive a fax as a tif file.

S

  • say – 说时间/日期/ ip地址/数字/等。 Say time/date/ip_address/digits/etc. With pre-recorded prompts.
  • sched_broadcast – 启用预定播出 Enable Scheduled Broadcast.
  • sched_hangup – 启用计划挂断 Enable Scheduled Hangup.
  • sched_heartbeat – 启用计划心跳 Enable Scheduled Heartbeat.
  • sched_transfer – 启用预定的传输 Enable Scheduled Transfer.
  • send_display – 发送一个信息包与sipfrag Sends an info packet with a sipfrag.
  • send_dtmf – 发送带内DTMF , 2833 ,SIP信息数字给session会话 Send inband DTMF, 2833, or SIP Info digits from a session.
  • send_info – 将信息发送到endpoint Send info to the endpoint.
  • session_loglevel – 此信道覆盖系统的日志级别 Override the system’s loglevel for this channel.
  • set – 在调用该应用APP的信道内,设置信道变量, Set a channel variable for the channel calling the application.
  • set_audio_level – Adjust the read or write audio levels for a channel.
  • set_global – 设置一个全局变量 Set a global variable.
  • set_name – 命名信道 Name the channel.
  • set_profile_var – Set a caller profile variable.
  • set_user – 设置用户 Set a user.
  • set_zombie_exec – Sets the zombie execution flag on the current channel.
  • sleep – 暂停信道 Pause a channel.
  • socket – 建立出境socket连接 Establish an outbound socket connection.
  • sound_test – 分析音频 Analyze Audio.
  • speak – 说一个字符串或通道定义TTS引擎的文本文件 Speaks a string or file of text to the channel using the defined TTS engine.
  • soft_hold – 将一个桥接的信道设为hold保持 Put a bridged channel on hold.
  • start_dtmf – 开始带内DTMF检测 Start inband DTMF detection.
  • stop_dtmf – 停止带内DTMF检测 Stop inband DTMF detection.
  • start_dtmf_generate – 启动带内DTMF生成 Start inband DTMF generation.
  • stop_displace_session – Stop displacement audio on a channel.
  • stop_dtmf_generate – 停止带内DTMF生成 Stop inband DTMF generation.
  • stop_record_session – 停止记录session会话 Stop Record Session.
  • stop_tone_detect – 停止检测音 Stop detecting tones.
  • strftime – 返回格式化的日期和时间 Returns formatted date and time.
  • system – 执行系统命令 Execute a system command.

T

  • three_way – 通过uuid进行三方通话 Three way call with a UUID.
  • tone_detect – 如果发现检测一个音的存在,并执行命令 Detect the presence of a tone and execute a command if found.
  • transfer – 立即调用通道转移到一个新的分机 Immediately transfer the calling channel to a new extension.
  • translate – 号码翻译 Number translation.

U

  • unbind_meta_app – Unbind a key from an application.
  • unset – 取消设置变量 Unset a variable.
  • unhold – 发送一个未保持消息 Send a un-hold message.

V

W

  • wait_for_silence – 暂停处理,等待通道上的沉默 Pause processing while waiting for silence on the channel.
  • wait_for_answer – 暂停处理,等待呼叫被应答时 Pause processing while waiting for the call to be answered.

API

  • chat – 发送短信的IM客户端 Send a text message to a IM client.
  • presence – 发送出席 Send Presence.
  • strepoch –  Returns the date/time as a UNIX epoch (seconds elapsed since midnight UTC, January 1, 1970).
  • strftime – 返回格式化的日期和时间 Returns formatted date and time.
  • strftime_tz – 返回格式化的日期和时间,在指定的时区 Returns formatted date and time in the timezone specified.

评论已关闭。