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

标签: blackberrycentoswindows
2919人阅读 评论(0) 收藏 举报
分类:

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
======================================================
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:2579654次
    • 积分:32864
    • 等级:
    • 排名:第149名
    • 原创:741篇
    • 转载:197篇
    • 译文:18篇
    • 评论:287条
    最新评论