google voice-sipgate-sipsorcery-spa1001 的問題 – 可以打進,不可以打出

google voice-sipgate-sipsorcery-spa1001 的問題 – 可以打進,不可以打出
全程跟隨fixwxc 的建議, the link is below.
http://web.wenxuecity.com/BBSView.php?SubID=computer&MsgID=168808
試著打電話. 可以打進,不可以打出。打出的時候,聽到一聲正常的長音,就沒有聲音了。
試過兩個SIP Sorcery outbound dial plans below. 結果沒有不同。 SPA1001 dialplan remains same as default.
請高手指點。謝謝.
1. sys.GoogleVoiceCall("username@gmail.com","password","SipGate#","#{req.URI.User}","GV number")
2. #==================== BEGIN CODE ======================#

# Settings
AREA_CODE = '717' # my area code
GV_USER = 'username@gmail.com' # my GV e-mail address (user@gmail.com)
GV_PASS = 'GV password' # my GV password
SG_NUMBER = '415xxxyyyy' # my 10-digit Sipgate number (not always 415)
G5_NUMBER = '747xxxyyyy' # my 10-digit Gizmo5 number (always 747)

SPEED_DIAL = { # my speed dial numbers
'1' => '19879879876', # Mom
'123' => '12345678901', # Work
'45' => '417479876543', # Gizmo BFF
'411' => '8004664411', # Google 411
'266' => '4153767253@podlinez.net', # CNN Headlines
}

# Logic
number = req.URI.User.to_s
SPEED_DIAL[number] && number = SPEED_DIAL[number]
case number
when /^4(1?747\d{7})$/ then sys.Dial("#{$1}@Gizmo5")
when /@/ then sys.Dial(number)
when /^1?([2-9]\d{2})?([2-9]\d{6})/
number = '1' + ( $1 || AREA_CODE ) + $2
vsp = SG_NUMBER =~ /^\d+$/ ? [SG_NUMBER,1] : [G5_NUMBER,7]
sys.GoogleVoiceCall(GV_USER,
GV_PASS,vsp[0],number,'.*',vsp[1],30)
end

#===================== END CODE =======================#

所有跟帖: 

GV-SG-SS-spa1001 的問題 – 可以打進,不可以打出 -neb- 給 neb 發送悄悄話 (125 bytes) () 12/26/2009 postreply 17:32:53

要在SIP Provider中添加你的sipgate的帳號 -whiteHead- 給 whiteHead 發送悄悄話 (48 bytes) () 12/27/2009 postreply 09:37:38

回複:要在SIP Provider中添加你的sipgate的帳號 -neb- 給 neb 發送悄悄話 (151 bytes) () 12/27/2009 postreply 11:48:30

重啟一下你的ATA試試 -whiteHead- 給 whiteHead 發送悄悄話 (0 bytes) () 12/27/2009 postreply 15:38:46

已試過,還是一樣。也試過 delete/add back the SS account -neb- 給 neb 發送悄悄話 (108 bytes) () 12/27/2009 postreply 23:35:40

回複:已試過,還是一樣。也試過 delete/add back the SS account -whiteHead- 給 whiteHead 發送悄悄話 (204 bytes) () 12/28/2009 postreply 15:00:08

請您先登陸,再發跟帖!