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,
it may be something like this
所有跟帖:
• Thank you so much, I will try.. 回複:it may be something like thi -Rosefit- ♀ (265 bytes) () 07/13/2010 postreply 09:05:38