第一范文网 - 专业文章范例文档资料分享平台

Freepbx各配置文件关系及用途

来源:用户分享 时间:2025/9/4 5:20:55 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

9.1 DIGIUM WILDCARD X100P FXO PCI CARD

This card allows you to connect a POTS (plain Old Telephone System) line to your Asterisk@Home box (See Notes for Patch information).

If this card is added after Asterisk has been configured, it may be necessary to configure it by using the zaptel card auto-config utility so the correct zaptel driver will be set up. To do that, enter the following from the command line.

rebuild_zaptel (restart after each command)

genzaptelconf (see notes re command switch)

Next go into the AMP web interface to create a trunk and you will notice that there is already a trunk called ZAP/g0. You need to edit this.

1. 2. 3. 4. 5.

Enter the phone number for you pots line in the Caller ID field Enter 1 for Maximum channels Set a dial rule you want for this trunk

Select an outbound dial prefix to select this trunk when dialing Set the Zap Identifier to 1 (the default is g0)

Once the card is configured, you must add a route for Incoming Calls or asterisk will not answer this line

Click on Incoming Calls in AMP and set up an incoming route. To make outbound calls you will need to set an outbound route as well.

If you have this card installed, you will need to edit the

following files; zapata.conf, zaptel.conf and modules.conf for AAH 1.x or modprobe.conf for AAH 2.x. The last 2 files live in the /etc directory – use a text editor to edit them.

9.1.1 zapata.conf

Under [channels] edit the following lines:

[channels]

busydetect=yes

busycount=6

For my installation to function correctly, I have also changed the following setting to obtain a good compromise on volume/echoing:

rxgain=10.0 (you may have to experiment a little with this setting)

txgain=8.0 (you may have to experiment a little with this setting)

Ensure the following exist in zapata.conf. It is located at the end of the file.

;Include AMP Configs

channel => 1

#include zapata_additional.conf

Leave the rest of the file as it is.

9.1.2 zaptel.conf

Change the loadzone and defaultzone to 'au'

# Global data

loadzone = au

defaultzone = au

9.1.3 modules.conf (modprobe.conf for AAH 2.x)

For AAH 1.x, locate the post-install wcfxo entry and edit it to reflect this:

post-install wcfxo /sbin/ztcfg opermode=AUSTRALIA

For AAH 2.x, add the line highlighted in Bold below:

.

alias char-major-196 torisa

options wcfxo opermode=AUSTRALIA ; add this line

install tor2 /sbin/modprobe --ignore-install tor2 && /sbin/ztcfg

.

9.2 DIGIUM TDM400P FXO/FXS CARD

Like the Digium Wildcard X100P, this card allows you to connect a POTS (plain Old Telephone System) line to your Asterisk@Home box. Unlike the X100P, this card has 4 module ports that can be loaded with FXS or FXO modules. Channel 1 is the top RJ-45 on the back of the TDM400P card.

If this card is installed after Asterisk has been loaded, you will

need to configure it just like the X100P by using the following command on the command line:

genzaptelconf

9.2.1 zapata-auto.conf

Next, using config edit, look in the zapata-auto.conf file and you will see a list of all your channels in your TDM400P. Set up the trunks as trunks and the extensions as extensions in AMP.

When you open the zapata_auto.conf file, it will look something like the illustration below (see the red highlight)

zapata-auto.conf

; Span 1: WCTDM/0 'Wildcard TDM400P REV E/F Board 1'

signaling=fxo_ks

; Note - this is an extension. Create a ZAP extension in AMP for Channel 1

channel => 1 < - -this would have been defined already by the config

signaling=fxs_ks

;Note - this is a trunk. Create a ZAP trunk in AMP for Channel 2

context=from-pstnchannel => 2 < - -this would have been defined already by the config

搜索更多关于: Freepbx各配置文件关系及用途 的文档
Freepbx各配置文件关系及用途.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c4iurg9lxn78jj329naed_4.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top