Asterisk 11 Google Voice dialing and receiving successfully.
本帖最後由 bubblestar 於 2012-10-30 17:17 編輯
From Asterisk 11, Google Voice no longer uses jabber and gtalk to initiate and receive calls. They change to use motif and xmpp to accomplish the same goal. The setting is very easy and almost same as that in Asterisk 1.8 as below.- motif.conf
- [google]
- context=incoming-motif
- disallow=all
- allow=ulaw
- connection=google
- xmpp.conf
- [general]
- [google]
- type=client
- serverhost=talk.google.com
- username=your_username@gmail.com
- secret=your_secret
- priority=1
- port=5222
- usetls=yes
- usesasl=yes
- status=available
- statusmessage="I am available"
- timeout=5
- extensions.conf
- [viaMotif] ; 打出
- exten => _747XXXXXXXXXX,1,Dial(Motif/google/+1${EXTEN:3}@voice.google.com,,r)
- [incoming-motif] ; 接入
- exten => s,1,NoOp()
- same => n,Wait(1)
- same => n,Answer()
- same => n,SendDTMF(1)
- same => n,Dial(SIP/6002,20)
複製代碼 |