it may be something like this

來源: 沙漠荒野 2010-07-12 19:20:11 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (994 bytes)
回答: See inside沙漠荒野2010-07-12 14:30:27
1. You are better off to create a new dial plan and preserve the working one, in case things don't work out.
2. The new 'Out Dial Plan' works the same as your default plan. It'd be just for dialing out, specified on your user id. nonoh is a provider I use for China call (nonoh.net). It can be any provider of your choice. You define this on the sip provider tab.

For international call (to China), it would be something like this (not tested, but just a general idea):

Reuse most of your existing plan to figure out the real number to dial, just change to:

instead of dailing gv all the time:

sys.Log "Calling #{num} via Google Voice"
sys.GoogleVoiceCall GV_USER, GV_PASS, CB_NUMBER, num, '.*', CB_NUMBER =~ /^1747/ ? 7 : 1, 30

it'd probably be:
if num =~ /^01186(d{9,})/ # call to China
sys.Dial('nonoh'); #or whatever provider you use for China
else
sys.GoogleVoiceCall(....); # use GV
end

HTH,

所有跟帖: 

Thank you so much, I will try.. 回複:it may be something like thi -Rosefit- 給 Rosefit 發送悄悄話 (265 bytes) () 07/13/2010 postreply 09:05:38

請您先登陸,再發跟帖!

發現Adblock插件

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

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

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

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