无法使用 asterisk 和 google voice 拨打电话

无法使用 asterisk 和 google voice 拨打电话

我无法使用星号和谷歌语音拨打或接听电话。我记得几年前就使用过这个设置,所以我希望它应该可以工作,但只需要一个如此微妙的调整。

我可以看到我已连接:

*CLI> xmpp show connections
Jabber Users and their status:
       [xx] [email protected]     - Connected
----
   Number of clients: 1

当星号处于详细模式时,这是我得到的输出:

*CLI>   == Using SIP RTP CoS mark 5
       > 0x7ff3b40073a0 -- Strict RTP learning after remote address set to: 192.168.1.15:4010
    -- Executing [18008008000@xx-google-out:1] Dial("SIP/xx-00000000", "Motif/xx/[email protected],,r") in new stack
    -- Called Motif/xx/[email protected]
    -- Motif/[email protected] is proceeding passing it to SIP/xx-00000000
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'SIP/xx-00000000' status is 'CHANUNAVAIL'
  == Using SIP RTP CoS mark 5
       > 0x7ff3b4000910 -- Strict RTP learning after remote address set to: 192.168.1.15:4012
    -- Executing [18008008000@xx-google-out:1] Dial("SIP/xx-00000001", "Motif/xx/[email protected],,r") in new stack
    -- Called Motif/xx/[email protected]
    -- Motif/[email protected] is proceeding passing it to SIP/xx-00000001
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'SIP/xx-00000001' status is 'CHANUNAVAIL'
       > Saved useragent "CSipSimple_achill-22/r2457" for peer xx

扩展.conf:

[general]
static=yes
;writeprotect=no

; added from forum ...
writeprotect=yes

priorityjumping=no
autofallthrough=yes

[global]
;DIALOUT=9
;RINGTIME=30

[default]
include => xx-google-out
include => xx-google-in

;https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google

[xx-google-out]
;exten => _1XXXXXXXXXX,1,Dial(Motif/xx/${EXTEN}@voice.google.com,,r)
;exten => _XXXXXXXXXX,1,Dial(Motif/xx/${EXTEN}@voice.google.com,,r)
;exten => _+1XXXXXXXXXX,1,Dial(Motif/xx/${EXTEN}@voice.google.com,,r)
exten => _1XXXXXXXXXX,1,Dial(Motif/xx/+${EXTEN}@voice.google.com,,r)


[xx-google-in]
exten => s,1,NoOp()
 same => n,Set(crazygooglecid=${CALLERID(name)})
 same => n,Set(stripcrazysuffix=${CUT(crazygooglecid,@,1)})
 same => n,Set(CALLERID(all)=${stripcrazysuffix})
 same => n,Dial(SIP/xx,20,D(:1))

模块配置文件

[modules]
autoload=yes

;#load => chan_motif.so
;#load => res_xmpp.so

主题.conf:

[xx]
context=xx-google-in
disallow=all
allow=ulaw,g722
connection=xx

rtp.conf:

[general]
; specify start and end port range so firewall rules are easier to write
rtpstart=10000
rtpend=20000
icesupport=yes

sip.conf:

[xx]
allow=all
allowguest=no
type=peer
secret=SECRETGOESHERE
host=dynamic
context=xx-google-out

xmpp.conf:

[general]
[xx]
type=client
serverhost=talk.google.com
[email protected]
secret=SECRETGOESHERE
priority=25
port=5222
usetls=yes
usesasl=yes
status=available
statusmessage=Asterisk Instance - Google Talk - VoIP
timeout=5

答案1

一段时间以来,星号与谷歌语音的集成在谷歌逐渐失宠。自 2014-2015 年以来,第三方 XMPP 尚未得到正式支持,其余旧实现现已停用。

Google 语音帮助论坛

有关 XMPP 互操作功能的更新

de Aaron G. - 产品支持经理 28/04

从 2018 年 6 月 18 日开始,我们将完成将 Google Voice 的最后一个 XMPP 互操作功能迁移到新的 Voice 平台。此次迁移将使我们能够创建强大的新 VoIP 功能,使语音用户受益并感到高兴。

如果您将 Google Voice 与使用 XMPP 互操作功能的受支持设备一起使用,请联系您的供应商以确定最佳迁移路径,以避免服务中断。

相关内容