sipsorcery老说俺的dialplan第10行有错,请各位大侠给指点一下,谢谢

来源: 2011-04-13 23:05:06 [旧帖] [给我悄悄话] 本文已被阅读:

sys.Log("call received uri=#{req.URI.User}")
if sys.In then
cid = req.Header.From.FromURI.User
case cid
when /^86/ then nb = "00"
when /^0086/ then nb = ""
else
nb = "0086"
end
sys.Callback("#{nb}#{cid}@VD","username@sipsorcery.com",15)
end
end