Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
5a42adf4
提交
5a42adf4
authored
9月 29, 2010
作者:
Moises Silva
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
freetdm: add some comments to sample configurations
上级
1af641fe
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
51 行增加
和
12 行删除
+51
-12
freetdm.conf
libs/freetdm/conf/freetdm.conf
+38
-10
freetdm.conf.xml
libs/freetdm/conf/freetdm.conf.xml
+9
-2
pika.conf
libs/freetdm/conf/pika.conf
+2
-0
tones.conf
libs/freetdm/conf/tones.conf
+2
-0
没有找到文件。
libs/freetdm/conf/freetdm.conf
浏览文件 @
5a42adf4
[
span
wanpipe
]
; !!
THIS
IS
A
SAMPLE
CONFIGURATION
ONLY
!!
name
=>
FreeTDM
number
=>
1
;
refer
to
http
://
wiki
.
freeswitch
.
org
/
wiki
/
FreeTDM
for
further
documentation
[
general
]
;
whether
to
launch
a
thread
for
CPU
usage
monitoring
cpu_monitor
=>
no
;
How
often
(
in
milliseconds
)
monitor
CPU
usage
cpu_monitoring_interval
=>
1000
;
At
what
CPU
percentage
raise
a
CPU
alarm
cpu_set_alarm_threshold
=>
80
;
At
what
CPU
percentage
stop
the
CPU
alarm
cpu_reset_alarm_threshold
=>
70
;
Which
action
to
take
when
the
CPU
alarm
is
raised
;
it
can
be
warn
and
/
or
reject
calls
;
cpu_alarm_action
=>
warn
,
reject
cpu_alarm_action
=>
warn
;
spans
are
defined
with
[
span
<
span
type
> <
span
name
>]
;
the
span
type
can
either
be
zt
,
wanpipe
or
pika
;
the
span
name
can
be
any
unique
string
[
span
wanpipe
myWanpipe
]
;
valid
trunk
types
are
:
FXO
,
FXS
,
EM
,
E1
,
T1
,
J1
,
BRI
,
BRI_PTMP
trunk_type
=>
FXS
;
add
FXS
channels
from
3
to
4
at
wanpipe
span
1
to
this
freetdm
span
fxs
-
channel
=>
1
:
3
-
4
fxs
-
channel
=>
1
:
3
-
4
[
span
wanpipe
]
[
span
wanpipe
myWanpipe2
]
trunk_type
=>
FXO
;
This
number
will
be
used
as
DNIS
for
FXO
devices
fxo
-
channel
=>
1
:
1
-
2
fxo
-
channel
=>
1
:
1
-
2
[
span
zt
]
[
span
zt
myZaptelSpan
]
name
=>
FreeTDM
number
=>
9999
number
=>
2
fxs
-
channel
=>
1
fxs
-
channel
=>
1
[
span
zt
]
[
span
zt
mySecondZaptelSpan
]
name
=>
FreeTDM
;
This
number
will
be
used
as
DNIS
for
FXO
devices
number
=>
2
number
=>
2
fxo
-
channel
=>
3
fxo
-
channel
=>
3
libs/freetdm/conf/freetdm.conf.xml
浏览文件 @
5a42adf4
<!-- Please refer to http://wiki.freeswitch.org/wiki/FreeTDM for further documentation -->
<configuration
name=
"freetdm.conf"
description=
"FreeTDM Configuration"
>
<configuration
name=
"freetdm.conf"
description=
"FreeTDM Configuration"
>
<settings>
<settings>
<param
name=
"debug"
value=
"0"
/>
<param
name=
"debug"
value=
"0"
/>
...
@@ -5,6 +7,8 @@
...
@@ -5,6 +7,8 @@
<!--<param name="enable-analog-option" value="call-swap"/>-->
<!--<param name="enable-analog-option" value="call-swap"/>-->
<!--<param name="enable-analog-option" value="3-way"/>-->
<!--<param name="enable-analog-option" value="3-way"/>-->
</settings>
</settings>
<!-- use the <pri_spans> tag for native ISDN support (most likely broken at this point, check sangoma_pri_spans or libpri_spans for alternatives) -->
<pri_spans>
<pri_spans>
<span
name=
"PRI_1"
>
<span
name=
"PRI_1"
>
<!-- Log Levels: none, alert, crit, err, warning, notice, info, debug -->
<!-- Log Levels: none, alert, crit, err, warning, notice, info, debug -->
...
@@ -24,9 +28,11 @@
...
@@ -24,9 +28,11 @@
<param
name=
"context"
value=
"default"
/>
<param
name=
"context"
value=
"default"
/>
</span>
</span>
</pri_spans>
</pri_spans>
<!-- one entry here per openzap span -->
<!-- Analog spans go here -->
<analog_spans>
<analog_spans>
<span
id=
"1
"
>
<span
name=
"myAnalog
"
>
<!--<param name="hold-music" value="$${moh_uri}"/>-->
<!--<param name="hold-music" value="$${moh_uri}"/>-->
<!--<param name="enable-analog-option" value="call-swap"/>-->
<!--<param name="enable-analog-option" value="call-swap"/>-->
<!--<param name="enable-analog-option" value="3-way"/>-->
<!--<param name="enable-analog-option" value="3-way"/>-->
...
@@ -42,4 +48,5 @@
...
@@ -42,4 +48,5 @@
<!--<param name="fail-dial-regex" value="^5"/>-->
<!--<param name="fail-dial-regex" value="^5"/>-->
</span>
</span>
</analog_spans>
</analog_spans>
</configuration>
</configuration>
libs/freetdm/conf/pika.conf
浏览文件 @
5a42adf4
;
you
dont
need
this
file
unless
you
use
PIKA
boards
;
each
category
is
a
config
profile
;
each
category
is
a
config
profile
;
to
apply
the
profile
append
it
to
a
channel
def
in
;
to
apply
the
profile
append
it
to
a
channel
def
in
;
openzap
.
conf
with
@<
profile_name
>
;
openzap
.
conf
with
@<
profile_name
>
...
...
libs/freetdm/conf/tones.conf
浏览文件 @
5a42adf4
;
This
file
is
used
to
generate
telephony
tones
by
FreeTDM
[
us
]
[
us
]
generate
-
dial
=>
v
=-
7
;%(
1000
,
0
,
350
,
440
)
generate
-
dial
=>
v
=-
7
;%(
1000
,
0
,
350
,
440
)
detect
-
dial
=>
350
,
440
detect
-
dial
=>
350
,
440
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论