it may be something like this

回答: 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

請您先登陸,再發跟帖!