IAX2 and ILBC issues
Hello,
I have three Trixbox systems that I have inter-connected.
Two of them are running Trixbox CE 2.6.2.1 and one is running 2.2.1.
I have no issues connecting the two systems running 2.6.2.1 using IAX2 and ILBC, but when I try to connect them to the one running 2.2.1 I get the 'all circuits are busy' message.
Here is the log section for one of the 2.6.2.1 systems when trying to establish the call:
[Feb 4 16:55:29] VERBOSE[2396] logger.c: -- Called VANIAX2/218
[Feb 4 16:55:29] WARNING[2225] chan_iax2.c: Call rejected by 154.5.255.4: Unable to negotiate codec
[Feb 4 16:55:29] VERBOSE[2396] logger.c: -- Hungup 'IAX2/VANIAX2-11901'
And here is the log section for the 2.2.1 system that was trying to receive the call:
Feb 4 15:55:29 WARNING[4298] channel.c: Don't know any of 0xe000 formats
Feb 4 15:55:29 ERROR[4298] chan_iax2.c: No best format in 0xe000???
Feb 4 15:55:29 NOTICE[4298] chan_iax2.c: Rejected connect attempt from 205.250.175.250, requested/capability 0x400/0xe400 incompatible with our capability 0xf90c.
It work if I use ulaw or alaw, but I'm trying to use the ilbc codec.
Calls from the 2.2.1 system to the two 2.6.2.1 systems have to problems.
Any help/thoughts would be greatly appreciated.
Thanks!
On the system that you are having trouble with, open up an asterisk console by typing the following command:
asterisk -r
Find out if the iLBC protocol is installed by using the following command in the asterisk console:
show translation
If you see the iLBC protocol in the list, then it is installed, otherwise you will need to download and install it. I believe Digium started leaving this protocol out of recent releases of Asterisk possibly because of its potential for impacting their sales of g729 licenses.
If you have it installed then open /etc/asterisk/iax_general_custom.conf for editing and add the following entries:
disallow=all
allow=ilbc
Get Asterisk to reread the configuration from Trixbox's "Config Edit" page, or restart Asterisk to see if this helps.
Hi Joe,
Thanks for the response.
iLBC is listed in the protocol list (and as I mentioned I can make calls out from the one system but the other two sites can not connect to it using the protocol).
Because we are using an older version on the system in question, there is no iax_general_custom.conf, I have iax.conf and iax_additional.conf.
This is what I have in the iax.conf file:
[general]
bindport = 4569 ; Port to bind to (IAX is 4569)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=ilbc
mailboxdetail=yes
#include iax_registrations_custom.conf
#include iax_registrations.conf
#include iax_custom.conf
#include iax_additional.conf
Looking at the log when connecting, it seems like the system in question is logging the following when I try to make a call into it from one of the other systems:
> requested format = ulaw,
> requested prefs = (ulaw|ilbc|alaw),
> actual format = ulaw,
> host prefs = (g729|ulaw|alaw),
> priority = mine
Would you happen to know where it is getting the host prefs values from? As I mentioned in my iax.conf there is no mention of g729.
Thanks again!

Member Since:
2007-01-16