把G5 SIP forward到xxx@sipsorcery.com。G5目前注冊有問題。

來源: 2009-08-22 21:21:52 [舊帖] [給我悄悄話] 本文已被閱讀:

也就是SipSorcery不要登記到G5。在G5的Website裏forward all calls,選SIP forward,地址是你的SS帳號@sipsorcery.com。然後你的SS dialplan要像這樣:

if sys.In then
# Do your INCOMING call processing customisations here.
if sys.IsAvailable() then
sys.Dial("#{sys.Username}@local",30)
else
sys.Respond(480, "#{sys.Username} Not available")
end

else
# Do your OUTGOING call processing customisations here.
case req.URI.User
when /^1/ then sys.Dial("Gizmo")
else sys.Dial("VD")
end
end

該死的G5目前問題重重,隻有forward工作。