当前位置:网站首页>asterisk:No compatible codecs, not accepting this offer!
asterisk:No compatible codecs, not accepting this offer!
2022-07-17 18:40:00 【行者有疆哉】
执行asterisk -r 打开asterisk控制台
当客户端软电话注册分机时显示如下错误
chan_sip.c:8876 process_sdp: No compatible codecs, not accepting this offer!
可能就是asterisk配置的编码不支持
在电话配置中,配置允许所有编码
如我的电话配置在sip.conf中,
[general]
context = default
bindport = 5065
bindaddr = 0.0.0.0
tcpbindaddr = 0.0.0.0
tcpenable = yes
[1001]
type = friend
callerid = User One
username = 1001
secret = 1001
host = dynamic
canreinvite = no
context = from-ipphone
dtmfmode = rfc2833
mailbox = 1001
allow=all
;disallow = all
;allow = ulaw
;transport = udp
[1002]
type = friend
callerid = User Two
username = 1002
secret = 1002
host = dynamic
canreinvite = no
dtmfmode = rfc2833
mailbox = 1002
context = from-ipphone
allow=all
;disallow = all
;allow = ulaw
;transport = udp
添加一行allow = all , 改为:
[general]
context = default
bindport = 5065
bindaddr = 0.0.0.0
tcpbindaddr = 0.0.0.0
tcpenable = yes
[1001]
type = friend
callerid = User One
username = 1001
secret = 1001
host = dynamic
canreinvite = no
context = from-ipphone
dtmfmode = rfc2833
mailbox = 1001
;disallow = all
allow = ulaw
;transport = udp
[1002]
type = friend
callerid = User Two
username = 1002
secret = 1002
host = dynamic
canreinvite = no
dtmfmode = rfc2833
mailbox = 1002
context = from-ipphone
;disallow = all
allow = ulaw
;transport = udp
边栏推荐
- [Yugong series] July 2022 go teaching course 012 forced type conversion
- 云审计服务CTS是一项付费服务,付费项目包括开通追踪器、事件跟踪以及7天内事件的存储和检索等相关费用
- Codeforces Round #808 (Div. 2)ABCD
- [postgraduate entrance examination vocabulary training camp] day 5 - alarm, cooperate, point, benefit, industrial, revolution, mechanism
- Onvif protocol related: 2.1.3 get the stream address in none mode
- 忘掉Postman,Apifox更好用
- [postgraduate entrance examination vocabulary training camp] day 7 - second, attract, current, collect, simple, communicate, vocation
- onvif协议相关:2.1.3 none方式获取流地址
- Google Earth Engine——1992—至今混合坐标海洋模型、水温和盐度(全球海洋数据集HYCOM)
- Onvif protocol related: 4.1.1 WS username token method to obtain wsusernametokenbean
猜你喜欢

Array simulation queue
![[postgraduate entrance examination vocabulary training camp] day 7 - second, attract, current, collect, simple, communicate, vocation](/img/4e/79da9868930994fe6389b717efc4e9.png)
[postgraduate entrance examination vocabulary training camp] day 7 - second, attract, current, collect, simple, communicate, vocation

QT use qlisview to realize QQ login history list

onvif协议相关:3.1.3 Digest方式获取截图url

【考研词汇训练营】Day 7 —— second,attract,current,collect,simple,communicate,vocation

「津津樂道播客」#392 原湯話原食:仲夏夜,馬砂、肉串兒、趿拉板兒

How to upgrade Flink job gracefully?

onvif协议相关:4.1.3 WS-Username token方式获取截图url
![[JS reverse crawler] - Youdao translation JS reverse practice](/img/cd/a44445422e2911b005519b5ec30ec0.jpg)
[JS reverse crawler] - Youdao translation JS reverse practice

Module 7 (Architecture Design of King glory mall)
随机推荐
[micro Service ~ advanced] configuration center practice
【考研词汇训练营】Day 6 —— eventually,state,create,productivity,stimulate
STL string查找子串
Running node for getting started with eth
Flutter uses animatedswitcher to switch scenes
[code hoof set novice village 600 questions] the implementation of scientific counting method, output index form
torch.utils.data.DataLoader说明
"Technology podcast month" day 10: meta podcast: talk about Podcasting
codeforce:A. Doremy‘s IQ【反向贪心】
Acwing game 60
【码蹄集新手村 600 题】float 与 double 的格式说明符
onvif协议相关:4.1.2 WS-Username token方式获取token
【7.15】代码源 -【整齐的数组2】【三进制循环】【树上逆序对】【蜗蜗的数列】
【7.13】代码源 -【饿饿 饭饭】【路径计数2】【函数求和】
ArrayList underlying analysis
【7.8】Educational Codeforces Round 131 (Rated for Div. 2)
深度学习从入门到放弃100天挑战
忘掉Postman,Apifox更好用
统计直播间的榜一信息,从这里起步
[code hoof set novice village question 600] formatted input and output, using 0 to replace the completed space