杨江的IT分享专栏

独立SAP顾问,前SAP/IBM/BlackBerry工程师,专注于SAP前端、HANA、移动相关(sapui5、Fiori、HANA、MII、SMP)的培训和实施。邮件1088133@qq.com...

Linphone on BlackBerry呼叫xlite报错问题的解决

Linphone on BlackBerry拨打xlite客户端 on Windows,报错如下:

Linphone客户端:Linphone Call failure[Unavailable]

Asterisk CLI:   [Mar 28 14:52:26] NOTICE[3116]: chan_sip.c:8895 process_sdp: No compatible codecs, not accepting this offer!


环境:

Asterisk 1.8.6 on CentOS 5.8, compiled with amr codec

Linphone on BlackBerry 9900, WiFi, 3G


解决办法:

vi sip_general_additional.conf

修改

disallow=all
allow=ulaw
 allow=alaw

allow=all

重新启动Asterisk

======================================================

======================================================
以下为收集的日志:
asterisk -rvvvvvvvvvv


  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
[Mar 28 14:52:26] NOTICE[3116]: chan_sip.c:8895 process_sdp: No compatible codecs, not accepting this offer!


======================================================


tcpdump -nqt -s 0 -A -i eth0 port 5060 |grep AMR


call from linphone
a=rtpmap:114 AMR/8000/1


======================================================
tcpdump -nqt -s 0 -A -i eth0 port 5060 |grep AMR


call from xlite
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:107 BV32/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:97 SPEEX/8000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:102 L16/16000
a=rtpmap:101 telephone-event/8000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:107 BV32/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:97 SPEEX/8000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:102 L16/16000
a=rtpmap:101 telephone-event/8000


======================================================
tcpdump -nqt -s 0 -A -i eth0 port 5060 |grep AMR


call from xlite, bluetooth phone pickuped
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
======================================================
阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/berryreload/article/details/7403267
个人分类: Asterisk
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

Linphone on BlackBerry呼叫xlite报错问题的解决

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭