[asterisk-dev] Issue 14511

Paul Belanger pabelanger at gmail.com
Thu Mar 12 17:14:40 CDT 2009


http://bugs.digium.com/view.php?id=14511

I was going to post a reply to the thread, but can't seem to figure
out how to re-open it once it has been closed.

Either way, I think there maybe a problem related to the codecs issue
that was reported in the issue.

If I see the following:

sip.conf
---
[general]
disallow=all

[authentication]

[hound]
host=hound
type=peer
transport=tcp,udp
promiscredir=yes
qualify=yes
allow=ulaw
---

We get the follow errors "sip_call: No audio format found to offer"

However if we modify sip.conf to the following:
[general]
disallow=all
allow=ulaw

[authentication]

[hound]
host=hound
type=peer
transport=tcp,udp
promiscredir=yes
qualify=yes
---

The error goes away.

The one thing I did notice when we seen the error was the following in the logs.

---
[Mar 12 12:26:51] DEBUG[19467] chan_sip.c: *** Our native formats are 0x4 (ulaw)
[Mar 12 12:26:51] DEBUG[19467] chan_sip.c: *** Joint capabilities are 0x4 (ulaw)
[Mar 12 12:26:51] DEBUG[19467] chan_sip.c: *** Our capabilities are
0x0 (nothing)
[Mar 12 12:26:51] DEBUG[19467] frame.c: Could not find preferred codec
- Going for the best codec
[Mar 12 12:26:51] DEBUG[19467] chan_sip.c: *** AST_CODEC_CHOOSE
formats are 0x4 (ulaw)
[Mar 12 12:26:51] DEBUG[19467] chan_sip.c: *** Our preferred formats
from the incoming channel are 0x4 (ulaw)
[Mar 12 12:26:51] DEBUG[19467] chan_sip.c: This channel will not be
able to handle video.
---

Here is the working version

---
[Mar 12 12:30:05] DEBUG[6314] chan_sip.c: *** Our native formats are 0x4 (ulaw)
[Mar 12 12:30:05] DEBUG[6314] chan_sip.c: *** Joint capabilities are 0x4 (ulaw)
[Mar 12 12:30:05] DEBUG[6314] chan_sip.c: *** Our capabilities are 0x4 (ulaw)
[Mar 12 12:30:05] DEBUG[6314] chan_sip.c: *** AST_CODEC_CHOOSE formats
are 0x4 (ulaw)
---



More information about the asterisk-dev mailing list