# Asterisk start call and send BYE if no codec translation path

**URL:** <https://community.asterisk.org/t/asterisk-start-call-and-send-bye-if-no-codec-translation-path/105660>\
**Category:** Asterisk Support\
**Created:** [November 29, 2024, 12:55pm UTC](https://community.asterisk.org/t/asterisk-start-call-and-send-bye-if-no-codec-translation-path/105660 "2024-11-29T12:55:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SerialCoder](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@SerialCoder](https://community.asterisk.org/u/SerialCoder)\
**Post date:** [November 29, 2024, 12:55pm UTC](https://community.asterisk.org/t/asterisk-start-call-and-send-bye-if-no-codec-translation-path/105660/1 "2024-11-29T12:55:54Z")

</div>

Hello,

I have Asterisk 16.30.0 with Speex codec enabled but without Speex codec installed. Also I have two clients. On client A only speex is enabled and on client B only OPUS is enabled.

When I call from client A then server send INVITE with list of codecs to client B with included OPUS codec in list.  
Then client B accept a call with only OPUS codec in list.

After that server send ACK to client B then send BYE to client B, a Decline to client A. And print next in logs:

```auto
[2024-11-28 08:58:58] WARNING[22961]: channel.c:5777 set_format: Unable to find a codec translation path: (opus) -> (speex32)
[2024-11-28 08:58:58] WARNING[22961]: channel.c:5777 set_format: Unable to find a codec translation path: (speex32) -> (opus)

```

Is this behavior ok? Why asterisk doesn’t answer with some error to client B? Are there some way to not start a call on client B in case if there are not codec translation path and if call start on client B is a bit expensive?

---

<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:** [December 29, 2024, 12:56pm UTC](https://community.asterisk.org/t/asterisk-start-call-and-send-bye-if-no-codec-translation-path/105660/2 "2024-12-29T12:56:54Z")

</div>

Closed on December 29, 2024, 12:56pm UTC

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