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

你可能感兴趣的:(windows,centos,BlackBerry)