AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题 / 451411
Accepted
Walter
Walter
Asked: 2018-06-23 18:02:38 +0800 CST2018-06-23 18:02:38 +0800 CST 2018-06-23 18:02:38 +0800 CST

无法使用星号和谷歌语音拨打电话

  • 772

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

我可以看到我已连接:

*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

extensions.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))

模块.conf

[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
asterisk google
  • 1 1 个回答
  • 550 Views

1 个回答

  • Voted
  1. Best Answer
    Rui F Ribeiro
    2018-06-23T18:20:37+08:002018-06-23T18:20:37+08:00

    asterik 与 Google Voice 的集成已经在 Google 中逐渐失宠了一段时间。第三方 XMPP 自 2014-2015 年以来一直没有得到官方支持,剩下的旧实现现在已经停用。

    来自Google 语音帮助论坛

    关于 XMPP 互操作功能的更新

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

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

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

    • 2

相关问题

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    ssh 无法协商:“找不到匹配的密码”,正在拒绝 cbc

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    如何卸载内核模块“nvidia-drm”?

    • 13 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Wong Jia Hau ssh-add 返回:“连接代理时出错:没有这样的文件或目录” 2018-08-24 23:28:13 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST
  • Martin Hope
    Bagas Sanjaya 为什么 Linux 使用 LF 作为换行符? 2017-12-20 05:48:21 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve