1.)SS
SIP Accounts
id: xxxxxxxxx
Username: xxxxxxxxx
Password: xxxxxxxxx
Domain: sipsorcery.com
Out Dial Plan Out
In Dial Plan In
Check Alives Unchecked
Network id blank
IP Address ACL blank
选standard
SIP Providers
id: xxxxxxxxx
Provider Name: sipgate
User Name: SIP-ID (sipgate credentials)
Password: SIP-password (sipgate credentials)
Server: sip:sipgate.com
Register checked
Register Contact sip:xxxxxxxxx@sipsorcery.com
Dial Plans
In (参照fitwxc大师的贴子)
sys.Dial("#{sys.Username}@local",30)
Out (参照漏斗大师的贴子)
case req.URI.User
when /^1/ then sys.GoogleVoiceCall("XXX@gmail.com","GM PW","415XXXXX","#{req.URI.User}","GV NO")
else
sys.Dial("VD")
end
2.)ATA (SPA1001)
Line2
Proxy and Registration
Proxy: sipsorcery.com
Subscriber Information
Display Name: xxxxxxxxx
User ID: my sipsorcery login name
Password: my sipsorcery login password
Use Auth ID: yes
Auth ID: my sipsorcery login name
谢谢!