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
sipsorcery老说俺的dialplan第10行有错,请各位大侠给指点一下,谢谢
所有跟帖:
•
username@sipsorcery.com是我在同一个SS的user account下的另一个sip account,
-犬友-
♂
(0 bytes)
()
04/13/2011 postreply
23:09:52
•
#{sys.Username}@local,最好放在前面
-fitwxc-
♂
(0 bytes)
()
04/14/2011 postreply
14:19:30
•
谢谢大虾,我照抄了你的dialplan,回拨是工作了,可是有个问题,
-犬友-
♂
(1449 bytes)
()
04/14/2011 postreply
22:30:29
•
是必须挂机。不要使劲搞这个了,国人怎么都不敢用,怕万一出岔子
-fitwxc-
♂
(266 bytes)
()
04/15/2011 postreply
00:18:55
•
说的是,看来还是自用。再请问我听到的那个语音提示是从sipgate还是sipsorcery来的?
-犬友-
♂
(0 bytes)
()
04/15/2011 postreply
13:40:19
•
sipsorcery没有任何语音。
-fitwxc-
♂
(0 bytes)
()
04/15/2011 postreply
15:50:37
•
阁下的dial plan是不是把in和out都写在一起了
-犬友-
♂
(0 bytes)
()
04/15/2011 postreply
22:47:39
•
我一般都分开。
-fitwxc-
♂
(0 bytes)
()
04/16/2011 postreply
13:09:26