有图有真相:Sipsorcery里加voipdiscount的方法
mc3361
2011-08-17 16:17:59
( reads)
对应的 dial plan
num = req.URI.User.to_s
num = num.gsub(/\\A011/,'+')
if /\\A[2-9]\\d{6}\\Z/
num = "+1212" + num
end
if /\\A\\+[^1]/
sys.Dial(num + "@voipdiscount")
else
sys.GoogleVoiceCall("me@gmail.com","password","2535551212", num, ".*",3)
end
fitwxc
2011-08-17 17:12:53Betamax的注册有一个特殊之处,就是关于CID