当前位置:网站首页>asterisk:No compatible codecs, not accepting this offer!
asterisk:No compatible codecs, not accepting this offer!
2022-07-19 13:47:00 【There is a frontier for walkers】
perform asterisk -r open asterisk Console
When the client soft phone registers the extension, the following error is displayed
chan_sip.c:8876 process_sdp: No compatible codecs, not accepting this offer!
It could be asterisk The configured encoding does not support
In phone configuration , Configuration allows all encodings
For example, my phone is configured in sip.conf in ,
[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
Add a row allow = all , Change it to :
[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
边栏推荐
- Some common operation commands of the command line and solutions to common errors
- Computer dial-up Internet access
- 【码蹄集新手村 600 题】计算一个整数有多少位数
- AcWing第 60 场周赛
- Android开发大厂面试,做好这3个准备,规划好自己
- Onvif protocol related: 4.1.3 WS username token method to obtain screenshot URL
- onvif协议相关:3.1.4 Digest方式获取流地址
- OpenSSL operation
- 【南瓜书ML】(task2)线性模型的数学推导(最小二乘估计、广义瑞利商、极大似然估计等)
- asterisk: rejected because extension not found in context ‘from-ipphone‘
猜你喜欢

【码蹄集新手村 600 题】计算一个整数有多少位数

Onvif protocol related: 3.1.2 get the token list in digest mode

NO.6浮点数的表示与运算

codeforce:G. Good Key, Bad Key【贪心】

Onvif protocol related: 4.1.1 WS username token method to obtain wsusernametokenbean
![[postgraduate entrance examination vocabulary training camp] day 6 - eventually, state, create, productivity, stimulate](/img/61/a8a366ae3d058be01f9408f9f26cac.png)
[postgraduate entrance examination vocabulary training camp] day 6 - eventually, state, create, productivity, stimulate

健康防猝指南3:健康保健

统计直播间的榜一信息,从这里起步

【码蹄集新手村 600 题】运算符 / 在不同的运算顺序中的类型转换

onvif协议相关:3.1.1 Digest方式获取Authorization
随机推荐
这些年我开源的几个小项目
[7.14] code source - [open box] [XOR inverse] [continuous subsequence] [trigonometric fruit count]
Programming examples of stm32f1 and stm32subeide -mpu-6050 six axis (gyroscope + accelerometer) drive
SSH keyless login
【码蹄集新手村 600 题】计算一个整数有多少位数
Onvif protocol related: 2.1.3 get the stream address in none mode
ArrayList underlying analysis
No.4 bits, bytes, information storage
云审计服务CTS是一项付费服务,付费项目包括开通追踪器、事件跟踪以及7天内事件的存储和检索等相关费用
AcWing 134. Double ended queue
「津津樂道播客」#392 原湯話原食:仲夏夜,馬砂、肉串兒、趿拉板兒
【考研词汇训练营】Day 7 —— second,attract,current,collect,simple,communicate,vocation
S32K148_CAN驱动(裸机开发)
ONVIF Protocol Related: 4.1.3 WS - username token Method get capture d'écran URL
国内外十大erp软件系统排名!
asterisk:No compatible codecs, not accepting this offer!
Onvif protocol related: 4.1.3 WS username token method to obtain screenshot URL
Flutter 使用 AnimatedSwitcher 做场景切换
AcWing 136. Adjacent value lookup
[code hoof set novice village question 600] align left and right when outputting