吴伟贤のBlog

Feed Rss

freeswitch 默认拨号方案Default Dialplan

07.21.2013, freeswitch, by .

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

freeswitch默认拨号方案中(conf/dialplan/default.xml)设置了一些基本的测试功能和PBX电话系统功能

包含了分机互拨及简单IVR功能

抢接 Intercept (Ringing Call Pickup)

global-intercept

^886$

抢接组group-intercept

^\*8$

抢接分机号intercept-ext

^\*\*(\d+)$

抢接其他分机 输入 **分号  如1001正响铃,1002想要抢接过来.直接输入**1001

更多抢接内容请查看https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_intercept

 

转接-盲转

将来电转接到某一分机,当分机忙。直接挂断

接通状态下拨打:*1 分机号

<action application=”bind_meta_app” data=”1 b s execute_extension::dx XML features”/>

转接-协商转

将来电转接到某一分机,当分机忙。回到原转接方

接通状态下拨打:*4 分机号

<action application=”bind_meta_app” data=”4 b s execute_extension::att_xfer XML features”/>

重拨 最近拨打出去的被叫号码

每个分机号都会记住最近一次拨打出去被叫号码,你可以直接输入870进行重拨

拨打: 870

snom-demo-2

^9001$

snom-demo-1

^9000$

侦听分机

Eavesdrop 侦听一个特定的分机

拨打: 881001 (侦听分机 1001)
或者
拨打: *01001 (侦听分机 1001)

侦听,循环通道  Eavesdrop, cycle through channels

Allows you to cycle through active channels listening in on the calls.

侦听使用说明: Misc._Dialplan_Tools_eavesdrop

拨打: 779

回拨Call Return

回拨 最近一次拨打给你的分机

拨打: *69 或者 869 或者 lcr

删除组 del-group

^80(\d{2})$

添加组 add-group

^81(\d{2})$

call-group-simo

^82(\d{2})$

call-group-order

^83(\d{2})$

分机对讲extension-intercom

^8(1[0-9]{3})$

拨打本地分机 Dial local extensions

默认拨号方案内,1000-1019  20个分机号可直接拨打

拨打: 1000 – 1019

拨打销售组 Call the sales group

默认创建了一个销售组,转接或者呼叫这个组,组内分机都会响铃,呼叫分机2000直接呼叫销售组.

拨打: 2000

拨打支持组 Call the support group

同上

拨打: 2001

拨打财务组 Call the billing group

同上

拨打: 2002

拨打人工台 Dial the operator

默认拨号方案为每个domain定义一个人工台,多个domain多个人工台

拨打: 0 (零)

或者

拨打: operator(字母)

语音信箱 Voicemail

拨打语音信箱 voicemail

拨打: vmain 或者 4000 或者 *98

通过SIP URI 拨打 Dial by SIP URI

通过URI拨打SIP设备

拨打: sip:user@domain.tld

开始一个动态会议(窄带音频)  Start a dynamic conference (narrowband audio)

8k 会议可以通过拨打3000-3099创建

拨打: 3000 – 3099

开始一个动态会议(宽带音频) Start a dynamic conference (wideband audio)

宽带(16k) 会议可以通过拨打3100-3199创建

拨打: 3100 to 3199

开始一个动态会议(超宽带音频) Start a dynamic conference (ultrawideband audio)

超宽带(32k) 会议可以通过拨打3200-3299创建

拨打: 3200 to 3299

开始一个动态会议(CD品质的单声道音频) Start a dynamic conference (cd quality mono audio)

CD品质的单声道音频(48k) 会议可以通过拨打3300-3399创建

拨打: 3300 to 3399

freeswitch公开会议 FreeSWITCH public conference

通过SIP拨打freeswitch公开会议

拨打: 9888

你也可以拨打91616和93232呼叫freeswitch公开的16k 32k会议

Note: I don’t believe the different extensions dump into the same conference.

mad_boss_intercom

这个分机将开始会议,并邀请一个组。在任何时候,参与者可以拨打* 2 ,直接向老板桥接。所有其他来电就会挂断电话。

This extension will start a conference and invite a group. At anytime the participant can dial *2 to bridge directly to the boss. All other callers are then hung up on.

拨打: 0911

mad_boss_intercom

这个分机将开始会议,并邀请一部分人。在任何时候,参与者可以拨打* 2 ,直接向老板桥接。所有其他来电就会挂断电话。

This extension will start a conference and invite a few of people. At anytime the participant can dial *2 to bridge directly to the boss. All other callers are then hung up on.

拨打: 0912

mad_boss

这个分机将开始会议时邀请几个人进来

This extension will start a conference and invite several people upon entering.

拨打: 0913

拨打演示IVR Call the demo IVR

呼叫 Included Demo IVR.

拨打: 5000

动态会议 dynamic_conference

^5001$

rtp_multicast_page

^pagegroup$|^7243$

队列内暂停一个呼叫 Park a call in queue 5900

查看 Mod_fifo

拨打: 5900

队列内接一个呼叫Pick up a call from queue 5900

Mod_fifo

拨打: 5901

Pick up from valet parking

Valet park retrieval, works with valet_park extension below. Retrieve a valet parked call by dialing 6000 + park number + # See:Misc._Dialplan_Tools_valet_park

Dial: 6000 1 #

Park a call with valet parking

Valet park 6001-6099. Blind x-fer to 6001, 6002, etc. to valet park the call. Dial 6001, 6002, etc. to retrieve a call that is already valet parked. After call is retrieved, park extension is free for another call. See: Misc._Dialplan_Tools_valet_park

Dial: 6001

park

park\+(\d+)

unpark

parking

park

callpark

unpark

pickup

等待 wait

^wait$

接收传真 Receive a fax

接收传真到 /tm/rxfax.tif ,需要 mod_spandsp

拨打: 9178

发送传真 Transmit a fax

使用文档 /tmp/txfax.tif 发送传真,需要 mod_spandsp

拨打: 9179

180回铃声 ringback_180

^9180$

183回铃声 ringback_183_uk_ring

^9181$

183音乐回铃声 ringback_183_music_ring

^9182$

ringback_post_answer_uk_ring

^9183$

ringback_post_answer_music

^9184$

ClueCon information

介绍 ClueCon

拨打: 9191

显示info信息 show_info

执行 info app 并挂断. 在控制台查看输出.

拨打: 9192

记录视频 video_record

^9193$

播放视频 video_playback

^9194$

回声测试,5秒延迟 Echo test, five second delay

呼叫 echo test application. Audio sent from the caller is rerouted(echo’ed) back to the caller after a five second delay.

拨打: 9195

回声测试 Echo test

Calls the echo test application. Audio sent from the caller is imediately rerouted(echo’ed) back to the caller.

拨打: 9196

tone_stream demo (milliwatt)

Uses tone_stream to play a continuous 1004hz tone.

Dial: 9197

tone_stream demo (tetris)

Uses tone_stream to play the tetris theme.

Dial: 9198

zrtp_enrollement

^9787$

听保持音乐 Listen to music on hold

拨打: 9664


The next three extensions are after the multiline WARNING in default.xml.

refer

${sip_refer_to}

ruri

^ruri$

7004

^7004$

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

评论已关闭。