Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /data/site/shop.voip88.com/includes/lib_base.php on line 346

Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /data/site/shop.voip88.com/includes/lib_base.php on line 346

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /data/site/shop.voip88.com/includes/cls_template.php on line 300

Strict Standards: Only variables should be passed by reference in /data/site/shop.voip88.com/includes/cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in /data/site/shop.voip88.com/includes/cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in /data/site/shop.voip88.com/includes/cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in /data/site/shop.voip88.com/includes/cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in /data/site/shop.voip88.com/includes/cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in /data/site/shop.voip88.com/includes/cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in /data/site/shop.voip88.com/includes/cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in /data/site/shop.voip88.com/includes/cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in /data/site/shop.voip88.com/includes/cls_template.php on line 422
asterisk-sangma相当完美的传真解决方案___VoIP网关,话机,板卡,呼叫中心相关设备中国采购首选平台-原装正品-价格合理-专业的技术服务 - Powered by ECShop
当前位置:
首页 > > > asterisk-sangma相当完美的传真解决方案

会员登录

浏览历史

/ 2010-04-26

这是目前来说相当完美的传真解决方案asterisk-sangoma-HylaFax. Iaxmodem is used to interface Asterisk with HylaFax.
看看如何实现的:
PSTN <-> Sangoma Card <-> Zaptel <-> Asterisk <-> IAXmodem  

============

IAXmodem website: http://iaxmodem.sourceforge.net/
Softwitch (Spandsp) website: http://www.soft-switch.org/
HylaFax website: http://www.hylafax.org/Please note that this is a quickstart guide, for more detailed configuration check the respective product websites and READMEs.
1. Package requirements
 

libtiff
libtiff-devel

2. Installing IAXmodem
     
Untar your IAXmodem tarball (/usr/src/)
     #> cd /usr/src/
     #> tar xvfz iaxmodem-0.1.14.tar.gz
     Install libiax2:
 

The libiax2 source is included with IAXmodem
#> cd /usr/src/iaxmodem-0.1.14/lib/libiax2
#> ./configure
#> make; make  install

    Install spandsp:
 

The spandsp source is included with IAXmodem
#> cd /usr/src/iaxmodem-0.1.14/lib/spandsp
#> ./configure
#> make; make  install

    Install IAXmodem and create a symbolic link for IAXmodem in /usr/sbin
 

#> cd /usr/src/iaxmodem-0.1.14/
#> ./build
#> ln -s /usr/sbin/iaxmodem iaxmodem

3. Running IAXmodem
 

IAXmodem can be run in daemon and non-daemon mode, it isrecommended to run IAXmodem in non-daemon mode during theinstallation/configuration for easier debugging and then run it indaemon mode once all configuration is working.

Create the /etc/iaxmodem/ directory to store your  IAXmodem configuration files:
#> mkdir /etc/iaxmodem

You will need a separate configuration file for each fax line.Configuration for each fax line are  stored in /etc/iaxmodem/<nameof fax device>.
Create a configuration file for a fax device called ttyIAX1
#> vi /etc/iaxmodem/ttyIAX1
---begin here---
device          /dev/ttyIAX1
uucp:uucp
mode            660
port            4571 ; you will need a different port for each device
refresh         60
server          127.0.0.1
peername        iaxmodem1
secret          password
cidname         John Doe
cidnumber       8005551212

codec           ulaw
---end here---

For more details about parameter options, see /usr/src/iaxmodem/README

Add an IAX account for this modem in Asterisk:
#> vi /etc/asterisk/iax.conf
---begin here---
[iaxmodem1]
type=friend
secret=password
host=dynamic
port=4671
context=outgoingfax
allow=all
---end here---

type "reload" in the Asterisk CLI to apply changes.

Start IAXmodem for ttyIAX1
#> iaxmodem ttyIAX1

Start hylafax for ttyIAX1

用户评论
暂时还没有任何用户评论
网友名称: 匿名用户
电子信箱:
评价等级: 1 2 3 4 5
评论内容: