asterisk

There are 2 entries for the tag asterisk

Configure Asterisk Server for MTA

LC 2015-10-15 Networking

配置Asterisk Server 1. 添加MTA 2. 设置拨号规则 3. 进入astersk的cli 4. 重启Server [root@sipserver ~]# vim /etc/asterisk/mgcp.conf (添加MTA)     ; ; MGCP Configuration for Asterisk ; [general] ;port = 2727 ;bindaddr = 10.12.7.92 ;bindaddr = 10.15.7.15 bindaddr = 0.0.0.0 disallow = all allow = alaw allow = ulaw ;tos=lowdelay ;typical NCS cable modem definition ;[x1-6-00-50-bf-b8-18-67.mtt.com] ;[x1-6-00-22-2d-62-cd-97.mtt.com] ;host=10.15.51.36 ;dtmfmode= inband;rfc2833 ;context = default ; ;ncs=1 ;;nat=no ;wcardep= aaln/* ;callerid ="David_1" <85592926> ;;"Anonymous" <Anonymous>;"Private" <Private>;"David_1" <85592926> ;line => aaln/1 ;callwaiting=yes ;cancallforward=yes ;canreinvite=no ;transfer=yes ;;callerid ="David_23" <85592272> ;line => aaln/2 [DUT1-112233.sh.useasp.net]     -------------[HostName+DomainName] host=dynamic dtmfmode= inband;rfc2833 context = default ncs=1 ;nat=no wcardep= aaln/* callerid ="dut1-112233" line => aaln/1 callwaiting=yes cancallforward=yes canreinvite=no transfer=yes line => aaln/2 ;;;;;;;;;;;;;;;;;;;;;; ; Custom patch for "template" cable modem. ; Any undefined NCS gateway can register with * ; It will get this template definition after first RSIP (or any other message) ; warning - this setup has no security ACLs ! ; 'mgcp reload' deletes all 'template cloned' entries that are...

Asterisk安装配置(转)

LC 2015-10-14 Networking

Asterisk安装 (红色字体部分为需要键入或修改的部分) 下载准备 系统环境:     Linux CentOS 5.0,安装开发工具以及开发库。     Asterisk 源代码包 asterisk-1.6.1.20.tar.gz,版本:1.6.1.20。     SIP 软电话使用 eyebeam 版本:1.5.8。 1. 切换用户(需要输入管理员密码),执行 su root 2. 进入源码包存放文件夹 [root@asterisk-test1 ~]#cd /usr/local/src 3. 下载 [root@asterisk-test1 ~]#wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.1.20.tar.gz 编译安装Asterisk 1.解压源代码包 [root@asterisk-test1 ~]# tar -zxvf asterisk-1.6.1.20.tar.gz 2.进入包目录 [root@asterisk-test1 ~]# cd asterisk-1.6.1.20 3.环境检测和预配置 [root@asterisk-test1 asterisk-1.4.5]# ./configure (其实这样直接进行configure并非十分规范。应当先使用“./configure –help”命令来查看一些可用的选项和参数,然后根据实际情况才进行定制操作。)当环境预检测和预配置工作做完时,最后会显示以上反馈信息。并且建立好Makefile。 注意:系统如果缺少安装必须的包,此步骤可能会出现configure: error错误,解决方案见后文可能遇到的问题 --------------------------------------------------------------- configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts config.status: creating channels/h323/Makefile config.status: creating include/asterisk/autoconfig.h .$$$$$$$$$$$$$$$=.. .$7$7.. .7$$7:. .$$:. ,$7.7 .$7. 7$$$$ .$$77 ..$$. $$$$$ .$$$7 ..7$ .?. $$$$$ .?. 7$$$. $.$. .$$$7. $$$$7 .7$$$. .$$$. .777. .$$$$$$77$$$77$$$$$7. $$$, $$$~ .7$$$$$$$$$$$$$7. .$$$. .$$7 .7$$$$$$$7: ?$$$. $$$ ?7$$$$$$$$$$I .$$$7 $$$ .7$$$$$$$$$$$$$$$$ $$$. $$$ $$$$$$7$$$$$$$$$$$$ .$$$. $$$ $$$ 7$$$7 .$$$ .$$$. $$$$ $$$$7 .$$$. 7$$$7 7$$$$ 7$$$ $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : i686 --------------------------------------------------------------- 4.清除陈旧的已编译文件 [root@asterisk-test1 asterisk-1.4.5]# make clean 5.重新编译Asterisk 程序 [root@asterisk-test1 asterisk-1.4.5]# make 编译完成后会显示以下反馈提示信息,提示用户进行下一步可选的操作。 --------------------------------------------------------------- +--------- Asterisk Build Complete ---------+ +...