Asterks(软交换)里配置两部简单的SIP软电话
2014-04-02 09:55
295 查看
转载自http://cissco.iteye.com/blog/410781
用两个sip电话通过asterisk服务互通打电话,需要配置sip.conf,extension.conf:
sip.conf
[general]
context=default;默认进入的拨号方案
allowoverlap=no
bindport=5060;监听端口
bindaddr=0.0.0.0;监听所有过来的电话
srvlookup=yes
[101]
type=friend;用户类型
secret=101;密码
host=dynamic;动态IP
context=internal;extension拨号方案
username=101;用户名
callgroup=1;呼叫组
pickupgroup=1;可以抢接与callgroup号相同的电话
[102]
type=friend;用户类型
secret=102;密码
host=dynamic;动态IP
context=internal;extension拨号方案
username=102;用户名
callgroup=1;呼叫组
pickupgroup=1;可以抢接与callgroup号相同的电话
extension.conf
[default]
[internal]
exten=>101,1,Dial(SIP/101,20);20是超时秒数
exten=>102,1,Dial(SIP/102,20)
若要配置会议电话
在meetme.conf中写入
[general]
[rooms]
Conf=>1001;conf=>1001,1,2;1是用户密码,2是管理员密码
在extension.conf中加入
exten=>1234,1,MeetMe(1001||);不需要加密码
若要使用呼叫驻留,在extension.conf中加入
include=>parkedcalls
exten=>101,Dial(SIP/102,,t)
exten=>102,Dial(SIP/102,,t)
若要使用免打扰,在extension.conf中加入
exten=>104,1,Zapateller(nocallerid)
用两个sip电话通过asterisk服务互通打电话,需要配置sip.conf,extension.conf:
sip.conf
[general]
context=default;默认进入的拨号方案
allowoverlap=no
bindport=5060;监听端口
bindaddr=0.0.0.0;监听所有过来的电话
srvlookup=yes
[101]
type=friend;用户类型
secret=101;密码
host=dynamic;动态IP
context=internal;extension拨号方案
username=101;用户名
callgroup=1;呼叫组
pickupgroup=1;可以抢接与callgroup号相同的电话
[102]
type=friend;用户类型
secret=102;密码
host=dynamic;动态IP
context=internal;extension拨号方案
username=102;用户名
callgroup=1;呼叫组
pickupgroup=1;可以抢接与callgroup号相同的电话
extension.conf
[default]
[internal]
exten=>101,1,Dial(SIP/101,20);20是超时秒数
exten=>102,1,Dial(SIP/102,20)
若要配置会议电话
在meetme.conf中写入
[general]
[rooms]
Conf=>1001;conf=>1001,1,2;1是用户密码,2是管理员密码
在extension.conf中加入
exten=>1234,1,MeetMe(1001||);不需要加密码
若要使用呼叫驻留,在extension.conf中加入
include=>parkedcalls
exten=>101,Dial(SIP/102,,t)
exten=>102,Dial(SIP/102,,t)
若要使用免打扰,在extension.conf中加入
exten=>104,1,Zapateller(nocallerid)
相关文章推荐
- Asterisk 通道变量
- Asterisk卡常见问题汇总
- MGCP以及SIP协议原理
- 更改LYNC SIP地址
- 基于JAVA的SIP代理PEERS的自动放音实现
- asterisk dial 命令参数解析
- asterisk 三方通话方案
- asterisk dial 命令参数解析
- asterisk 集群配置方法
- asterisk 集群配置的完全解决方案
- Asterisk PHP AGI 学习笔记(转)
- asterisk AMI
- OpenVox推出国内首款模块化热插拔GSM语音网关
- OpenVox助力企业打造最佳性价比的VOIP应用方案
- 如何将语音文件转换为Asterisk可以播放的音频格式文件(.wav)
- Asterisk管理界面FreePBX关于中继出局主叫CID的设置分析
- Asterisk拨号计划之匹配规则和优先级详解
- Asterisk 1.8.0版本发布beta3测试
- Aheeva采用Asterisk提高在呼叫中心外包中的竞争力
- voip安全工具