asterisk konference 视频会议,录音、监听,强插等的extensions.conf的命令
转自:http://www.asteriskcn.com/index.php?q=content/asterisk-konference-%E8%A7%86%E9%A2%91%E4%BC%9A%E8%AE%AE%EF%BC%8C%E5%BD%95%E9%9F%B3%E3%80%81%E7%9B%91%E5%90%AC%EF%BC%8C%E5%BC%BA%E6%8F%92%E7%AD%89%E7%9A%84extensionsconf%E7%9A%84%E9%85%8D%E7%BD%AE
[default]
exten => _xxxxxxxx,1,Monitor(wav,,mb)
exten => _xxxxxxxx,2,Dial(SIP/${EXTEN})
exten => _xxxx,1,Konference(${EXTEN},XNt)
exten => _xxxxxxxxxxxxxxxxx,1,Konference(${EXTEN},XNt)
exten => 88888,1,ChanSpy(SIP,B)
exten => _88888xxxxxxxx,1,ExtenSpy(${EXTEN:5}@default,q)
exten => _888888xxxxxxxx,1,ExtenSpy(${EXTEN:6}@default,Bq)
Asterisk 几个重要配置文件说明
转自:http://www.asteriskcn.com/index.php?q=content/asterisk-%E5%87%A0%E4%B8%AA%E9%87%8D%E8%A6%81%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%AF%B4%E6%98%8E
分机资源与相关的配置文件
SIP分机=>sip.conf|sip_additional.conf
[1000]
type=friend
secret=1234
qualify=yes
port=5060
pickupgroup=
nat=yes
mailbox=1000@
host=dynamic
dtmfmode=rfc2833
dial=SIP/1000
context=from-internal
canreinvite=no
callgroup=
callerid=device <1000>
accountcode=
call-limit=50
IAX分机=>iax.conf|iax_additional.conf
[116]
type=friend
setvar=REALCALLERIDNUM=116
secret=1234
qualify=yes
port=4569
transfer=no
mailbox=116@device
host=dynamic
dial=IAX2/116
context=from-internal
callerid=device <116>
accountcode=
ZAP分机=>dahdi-channels.conf||chan_dahdi_additional.conf
;;;;;;[113]
signalling=fxo_ks
pickupgroup=
mailbox=113@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <113>
busydetect=no
busycount=7
accountcode=
channel=>5
中继配置与对应配置文件
SIP中继->sip.conf|sip_additional.conf
[siptrunk]
host=192.168.50.20
username=1001
secret=1234
type=peer
IAX中继->iax.conf|iax_additional.conf
[112]
host=102.168.50.20
username=113
secret=1234
type=peer
ZAP/DADHI中继->dahdi-channels.conf||chan_dahdi_additional.conf
; Span 1: OPVXA1200/0 "OpenVox A1200P/A800P Board 1" (MASTER)
;;; line="1 OPVXA1200/0/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn //定义拨号规则的context ,必需要 // 与/etc/asterisk/extensions.conf的context相对应
channel => 1 //通道一 context=default
;;; line="2 OPVXA1200/0/1"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn //定义拨号规则的context ,必需要 // 与/etc/asterisk/extensions.conf的context相对应
channel => 2 //通道二
context=default