請問關於"不需要電腦的GV 撥號" -- fitwcx

來源: ieeee 2009-08-12 22:16:35 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (2256 bytes)
我按照你link 看了一些, 然後依照如下步驟設置了. 可以接電話,
但是我diao out的時候, 總是說 " this number is not available for call return". 請問為什麽?

--------------------------------------

From fixup77:

1) In your Google Voice, let it forward to Gizmo5 (1747xxxxxxx).

2) Register to SipSorcery.com

Create a new SIP account. Add your Gizmo5 to SIP Provider (in this example, the name is "Gizmo5"), make sure you see it is registered.

3) Register your PAP2 to sipsorcery.com

In sipsorcery website, make sure you see your ATA is registered. Its dialplan must allow 1xxx-xxx-xxxx dials. You must use stun (such as stun.xten.com), NAT Mapping and NAT keep alive.

4) Add a dialplan.

This is the key part. Copy and paste this code to the default dialplan in sipsorcery. If you use a different name than Gizmo5, changed it all. Of course you need to put in your GV account, password and gizmo5 #. That's it, nothing else to change at least for now.

Make a call to your GV # from a cellphone and talk for a minute to make sure this setup works for incoming calls.

Now dial 19093900003 (echo service) from your phone (ATA), you should be connected beautifully.

Code:

#Ruby
# Dial Plan Generated by Rubyzard v0.1
# If you need help, please post in our forum
# http://www.mysipswitch.com

# SIP tracing : true or false
sys.Trace = false

sys.Log("call from #{req.Header.From.FromURI.ToString()} to #{req.URI.User}.")

if sys.In then
# Do your INCOMING call processing customisations here.
if sys.IsAvailable() then
sys.Dial("#{sys.Username}@local",30)
sys.Dial("Enter Number@Gizmo5",30)
sys.Respond(480, "#{sys.Username} Not available")
else
sys.Dial("Enter Number@Gizmo5",30)
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("Gizmo5")
when /^1/ then sys.GoogleVoiceCall("you@gmail.com","password","1747XXXXXXX","#{req.URI.User}")
else sys.Dial("Gizmo5")
end

end

所有跟帖: 

回複:請問關於"不需要電腦的GV 撥號" -- fitwcx -fitwxc- 給 fitwxc 發送悄悄話 (388 bytes) () 08/12/2009 postreply 22:59:55

Working now. fitwxc高人呀, 服了.. 還有小問題/ -ieeee- 給 ieeee 發送悄悄話 ieeee 的博客首頁 (191 bytes) () 08/13/2009 postreply 20:11:40

在你的ATA裏加上"<:1>“, 詳見我前麵關於dial plan的帖子 -fitwxc- 給 fitwxc 發送悄悄話 (0 bytes) () 08/13/2009 postreply 21:36:06

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”