# Few incoming calls rejected no compatible codecs, not accepting this offer

**URL:** <https://community.asterisk.org/t/few-incoming-calls-rejected-no-compatible-codecs-not-accepting-this-offer/87140>\
**Category:** Asterisk SIP\
**Created:** [January 14, 2021, 4:29pm UTC](https://community.asterisk.org/t/few-incoming-calls-rejected-no-compatible-codecs-not-accepting-this-offer/87140 "2021-01-14T16:29:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AR3S69](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ar3s69/32/4881_2.png) [@AR3S69](https://community.asterisk.org/u/AR3S69)\
**Post date:** [January 14, 2021, 4:29pm UTC](https://community.asterisk.org/t/few-incoming-calls-rejected-no-compatible-codecs-not-accepting-this-offer/87140/1 "2021-01-14T16:29:24Z")

</div>

Hi all,  
I’ve got few incoming calls which are rejected with “no compatible codecs, not accepting this offer”. Everything gone well until december 2020 with only allowed ulaw and alaw.  
To debug, i’ve tried to install g729 codec and allow g722, gsm, g726, g729 under already allowed ulaw and alaw. It changes nothing.  
You can see a SIP trace and an incoming rejected call tested in it at 4:25pm.  
If anybody could help please.  
SIP trace :  
[[https://filebin.net/bttqq5d1q6skcmou](https://filebin.net/bttqq5d1q6skcmou)]

---

<div class="post-metadata">

**Author:** ![ambiorixg12](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ambiorixg12/32/1887_2.png) [@ambiorixg12](https://community.asterisk.org/u/ambiorixg12)\
**Post date:** [January 14, 2021, 6:44pm UTC](https://community.asterisk.org/t/few-incoming-calls-rejected-no-compatible-codecs-not-accepting-this-offer/87140/2 "2021-01-14T18:44:48Z")

</div>

G729 on the SDP

```auto
�a=rtpmap:8 PCMA/8000/1
�a=rtpmap:18 G729/8000/1

```

�Server: Asterisk PBX 11.7.0~dfsg-1ubuntu1 replying with a 488 error ,looks you dont have G729 license

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [January 14, 2021, 11:27pm UTC](https://community.asterisk.org/t/few-incoming-calls-rejected-no-compatible-codecs-not-accepting-this-offer/87140/3 "2021-01-14T23:27:45Z")

</div>

You don’t need a licence to offer G.729; you can still use it in passthrough mode.

You only need one codec to be acceptable, for an offer to be valid.

---

<div class="post-metadata">

**Author:** ![AR3S69](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ar3s69/32/4881_2.png) [@AR3S69](https://community.asterisk.org/u/AR3S69)\
**Post date:** [January 15, 2021, 12:57am UTC](https://community.asterisk.org/t/few-incoming-calls-rejected-no-compatible-codecs-not-accepting-this-offer/87140/4 "2021-01-15T00:57:56Z")

</div>

I’ve purchase a licence of 729 on digium. Installed it, licence shown ok, codec shown g729 (G.729A), i’ve restarted asterisk, made a test and nothing change… again no compatible codec, not accepting this offer.  
Any idea ? SIP conf  
disallow:all  
allow:ulaw  
allow:alaw  
allow:g722  
allow:gsm  
allow:g726  
allow:g729

---

<div class="post-metadata">

**Author:** ![AR3S69](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ar3s69/32/4881_2.png) [@AR3S69](https://community.asterisk.org/u/AR3S69)\
**Post date:** [January 15, 2021, 1:23am UTC](https://community.asterisk.org/t/few-incoming-calls-rejected-no-compatible-codecs-not-accepting-this-offer/87140/5 "2021-01-15T01:23:06Z")

</div>

F\*\*k me I’m too stupid ! The general sip conf allow g729 but not the specified user down in the same conf. So stupid I am. Thanks to all it works fine now.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [February 14, 2021, 1:23am UTC](https://community.asterisk.org/t/few-incoming-calls-rejected-no-compatible-codecs-not-accepting-this-offer/87140/6 "2021-02-14T01:23:15Z")

</div>

Closed on February 14, 2021, 1:23am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
