方式一:功能型
[ext-local-custom] exten => s,1,Set(GROUP=${DB(spygrp/${CALLERID(number)})) exten => s,n,GotoIf($[${ISNULL(${GROUP})}]?:continue) exten => s,n,NoOp(SPYGROUP is <${GROUP}> for ext.${CALLERID}) exten => s,n,Set(SPYGROUP=${GROUP}) exten => s,n(continue),NoOP(Ignore SPYGROUP...)
[app-chanspy-set-on] exten => 7791,1,Answer exten => 7791,n,Wait(1) exten => 7791,n,Macro(user-callerid,) exten => 7791,n,Set(DB(spygrp/${AMPUSER})=spyon) exten => 7791,n,Playback(activated) exten => 7791,n,Hangup
[app-chanspy-set-off] exten => 7792,1,Answer exten => 7792,n,Wait(1) exten => 7792,n,Macro(user-callerid,) exten => 7792,n,dbDel(spygrp/${AMPUSER}) exten => 7792,n,Playback(de-activated) exten => 7792,n,Hangup
[app-chanspy-group]
方法二:簡易型
使用 override 方式修改 [macro-dial] 在 extensions.conf
exten => s,n,GotoIf($["${CALLERID(number)}" : "_1[1-6]0"]?spy) exten => s,n(spy),Set(SPYGROUP=spygrp)
Google)
server#1 :8.8.8.8
server#2 :8.8.4.4
OpenDNS)
server#1 :208.67.222.222
server#2 :208.67.220.220
Speak your IP with extension
function SIPCHANINFO -> get current channel
function SIPPEER -> get ip address
http://www.the-asterisk-book.com/uns...n-sippeer.html
N-Way Call on Asterisk
http://www.voip-info.org/wiki/view/A...way+call+HOWTO
http://www.voip-info.org/wiki/view/A...isk+cmd+MeetMe
http://blog.sina.com.cn/s/blog_4b8c4a6001000bef.html
n2n VPN
http://www.ntop.org/n2n/
http://board.planetpeer.de/index.php?topic=5714.0
http://www.vpnhosting.cz/index.php/N...osting.cz.html
Getting Start
#>yum installsubversion #>cd /usr/src #>svn co https://svn.ntop.org/svn/ntop/trunk/n2n
- Fingerprint: 24:bf:8f:03:c1:f0:fe:72:3f:d2:d0:dd:9a:c9:d0:1b:7b:ab:56:34
(R)eject, accept (t)emporarily or accept (p)ermanently? p <--
#>cd n2n #>make #>make PREFIX=/opt/n2n install #>/opt/n2n/sbin/edge -d n2n0 -a 10.9.9.1 -c mypbxnet -k mypass -l 88.86.108.50:82 & #>ifconfig n2n0
n2n0 Link encap:Ethernet HWaddr 6E:45:BE:68:F3:AA
inet addr:10.9.9.1 Bcast:10.9.9.255 Mask:255.255.255.0
inet6 addr: fe80::6c45:beff:fe68:f3aa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1400 Metric:1
RX packets:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:8676 (8.4 KiB) TX bytes:9994 (9.7 KiB)
Above integrate with Asterisk as Call notifier
http://www.uk-experience.com/2008/06...-call-monitor/
Upgrading MindTouch Deki 8.08 (Kilen Woods) to MindTouch 2009 (non-VM)
http://www.mindtouch.com/Official_Mi..._2009_(non-VM)
Lyons (9.02) Release Notes
http://developer.mindtouch.com/Deki/Release/Lyons