要撥7位號碼還要加幾句

回答: very neat!fitwxc2011-08-17 09:40:59

num = req.URI.User.to_s
num = num.gsub(/^011/,'+')

if /^[2-9]d{6}$/
    num = "+1212" + num
end

if /^\+[^1]/
   sys.Dial(num + "@voipdiscount")
else
   sys.GoogleVoiceCall("me@gmail.com","password","2535551212", num, ".*",3)
end

所有跟帖: 

請您先登陸,再發跟帖!