unknown format 'h263a' in trixbox 2.8.0.3

obeliks
Posts: 878
Member Since:
2010-03-14

[2010-05-30 11:38:36] WARNING[25979] frame.c: Cannot allow unknown format 'h263a'
[2010-05-30 11:38:36] WARNING[25979] chan_sip.c: Codec configuration errors found in line 13 : allow = h263a

wtf ?



SkykingOH
Posts: 9681
Member Since:
2007-12-17
vg2*CLI> core show
xxx*CLI> core show translation
         Translation times between formats (in milliseconds) for one second of data
          Source Format (Rows) Destination Format (Columns)

          g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722
     g723    -   5    2    2        2     2    1     4    9    13   22    2    -
      gsm   11   -    2    2        2     2    1     4    9    13   22    2    -
     ulaw   11   5    -    1        2     2    1     4    9    13   22    2    -
     alaw   11   5    1    -        2     2    1     4    9    13   22    2    -
 g726aal2   11   5    2    2        -     2    1     4    9    13   22    1    -
    adpcm   11   5    2    2        2     -    1     4    9    13   22    2    -
     slin   10   4    1    1        1     1    -     3    8    12   21    1    -
    lpc10   12   6    3    3        3     3    2     -   10    14   23    3    -
     g729   11   5    2    2        2     2    1     4    -    13   22    2    -
    speex   12   6    3    3        3     3    2     5   10     -   23    3    -
     ilbc   13   7    4    4        4     4    3     6   11    15    -    4    -
     g726   11   5    2    2        1     2    1     4    9    13   22    -    -
     g722    -   -    -    -        -     -    -     -    -     -    -    -    -
xxx*CLI>

h.263a is not supported (it may be a video codec and you can enable pass through support) above is how to list what channel drivers you have loaded.

--

Scott

aka "Skyking"



obeliks
Posts: 878
Member Since:
2010-03-14
thanks, I am aware of the

thanks, I am aware of the core show translations command,

my question is why is trixbox trying to load h.263a ?



SkykingOH
Posts: 9681
Member Since:
2007-12-17
Because you have an

Because you have an allow=h.263a command in either a peer or a SIP default file that is included in sip.conf

--

Scott

aka "Skyking"



obeliks
Posts: 878
Member Since:
2010-03-14
This is from a virgin

This is from a virgin install of trixbox 2.8.0.3, adding even more entries from the log:


loader.c: Error loading module 'format_au.so': /usr/lib/asterisk/modules/format_au.so: cannot open shared object file: No such file or directory
loader.c: Module 'format_au.so' could not be loaded.
res_musiconhold.c: Cannot open dir /var/lib/asterisk/mohmp3/none/ or dir does not exist
loader.c: Module 'app_flite.so' was not compiled with the same compile-time options as this version of Asterisk.
loader.c: Module 'app_flite.so' will not be initialized as it may cause instability.
loader.c: Module 'app_flite.so' could not be loaded.
frame.c: Cannot allow unknown format 'h263a'
chan_sip.c: Codec configuration errors found in line 13 : allow = h263a
translate.c: plc_samples 160 format f
cdr_csv.c: unable to load config: cdr.conf
loader.c: Error loading module 'chan_misdn.so': libisdnnet.so.0: cannot open shared object file: No such file or directory
loader.c: Module 'chan_misdn.so' could not be loaded.
loader.c: Module 'app_cbmysql.so' was not compiled with the same compile-time options as this version of Asterisk.
loader.c: Module 'app_cbmysql.so' will not be initialized as it may cause instability.
loader.c: Module 'app_cbmysql.so' could not be loaded.

Is anybody looking at their log files ?



jas_williams
Posts: 205
Member Since:
2007-05-13
The codec looks like a

The codec looks like a trixbox bug

it seems that the codec is added by Trixbox in this file sip_general_additional.conf

ot sure what is needed to remove this codec. But that is the line causing the issue.



SkykingOH
Posts: 9681
Member Since:
2007-12-17
I don't think the video

I don't think the video CODEC is added by default.

Something else is wrong with your install. Those errors are not normal. Your Australian tone zone file is corrupt and app_filte (text to speech) is tossing out odd errors.

--

Scott

aka "Skyking"



obeliks
Posts: 878
Member Since:
2010-03-14
Did I say virgin ?

Did I say this happens on a virgin install ? Like I never even logged into the box via the web gui...

Can someone with trixbox 2.8.0.3 do "sip reload" and verify if this error shows in their /var/log/asterisk/full ?

Just do

grep h263a /var/log/asterisk/full

from shell after "sip reload" from the asterisk console.



jas_williams
Posts: 205
Member Since:
2007-05-13
I agree this is a Trixbox

I agree this is a Trixbox 2.8 issue

To remove the format_au.so error edit /etc/modules.conf and place a ; before the

load => format_au.so
line

Like this

;load => format_au.so

to fix the mIsdn error

issue the following commands

ln -s /usr/lib/libisdnnet.so /usr/lib/libisdnnet.so.0
ln -s /usr/lib/libmISDN.so /usr/lib/libmISDN.so.0
ln -s /usr/lib/libsuppserv.so /usr/lib/libsuppserv.so.0

Any more errors you manage to fix let me know

Regards

Jason

r



obeliks
Posts: 878
Member Since:
2010-03-14
Posted a comment on the blog for 2.8.0.4 BETA2

http://trixbox.org/devblog/trixbox-2804-beta-2#comment-174197

2.8.0.4 BETA2 has the same problem



obeliks
Posts: 878
Member Since:
2010-03-14
Just installed 2.6.2.3

Just for the heck of it installed 2.6.2.3. Getting fewer errors, but format_au and h263a errors are there:

res_musiconhold.c: Cannot open dir /var/lib/asterisk/mohmp3/none/ or dir does not exist
loader.c: Error loading module 'format_au.so': /usr/lib/asterisk/modules/format_au.so: cannot open shared object file: No such file or directory
loader.c: Module 'format_au.so' could not be loaded.
cdr_csv.c: unable to load config: cdr.conf
frame.c: Cannot allow unknown format 'h263a'

Looks like we are dealing with some legacy ****, it might be hard to find someone who knows what is going on ;-(



SkykingOH
Posts: 9681
Member Since:
2007-12-17
cdr.conf is only relevant

cdr.conf is only relevant for CSV CDR's. This error means nothing.

[t asterisk]# grep cdr *
full:[Jun  1 09:08:07] NOTICE[10269] cdr.c: CDR simple logging enabled.
full.11:[May 21 11:27:28] NOTICE[784] cdr.c: CDR simple logging enabled.
full.11:[May 21 11:27:31] WARNING[784] cdr_addon_mysql.c: MySQL database sock fi                                                      le not specified.  Using default
full.11:[May 21 11:27:31] NOTICE[784] cdr_addon_mysql.c: MySQL database table no                                                      t specified.  Assuming "cdr"
full.11:[May 21 11:27:32] WARNING[784] cdr_custom.c: Failed to load configuratio                                                      n file. Module not activated.
full.11:[May 21 11:27:36] WARNING[784] cdr_csv.c: unable to load config: cdr.con                                                      f

format_au is a converter for some Sun format, it doesn't matter either. If the error keeps you up at night put a ; in front of the module in /etc/asterisk/modules.conf.

Grep for h.263 in /etc/asterisk and see what you find.

--

Scott

aka "Skyking"



cougarmast
Posts: 201
Member Since:
2007-02-05
Using 2.8.0.4 Beta2

I do not have those errors. I am running it in XEN 3.3.2 with a x100p for testing. The only problem I have is the x100p needs to be restarted after a few calls but does not hang the server. It is stable now for over 2 weeks and have extension to extension calling with no problems yet. There are about 8 phones talking at the moment mostly from external to internal. Later will add a 4 port card to try.

p.s.
My bad yes there is the error. But putting a ; in the config file be overwritten since it is auto generated?



andrew
Posts: 1472
Member Since:
2006-05-30
The format_au.so problem is

The format_au.so problem is fixed in the latest 2.8.0.4 beta. I'm not sure about h263a errors. I don't have this in any of the config files on my test machines. Did you load a special module into PBXconfig?



obeliks
Posts: 878
Member Since:
2010-03-14
The format_au.so problem is

The format_au.so problem is fixed in the latest 2.8.0.4 beta.

If you are referring to BETA2 as the latest, then the problem is not solved. I posted a comment about it on the dev blog.

I'm not sure about h263a errors. I don't have this in any of the config files on my test machines. Did you load a special module into PBXconfig?

No, I did not do anything except installing from the CD. I did not even use the web GUI or CLI.



obeliks
Posts: 878
Member Since:
2010-03-14
The problem is in line 698

The problem is in line 698 of functions.inc.php in admin/modules/core:

$core_conf->addSipGeneral('allow','h263a'); //add video support for trixbox

This file is installed from tbm-pbxconfig-5.5.1-4.i386.rpm during trixbox install.

This also means that there is no way to edit sip_general_additional.config via web gui.
Its content is always overridden with values hardcoded in functions.inc.php

If *_addtional.conf files can not be edited, they should not be offered for editing via the gui web editor.



andrew
Posts: 1472
Member Since:
2006-05-30
Thanks obeliks, I'll get

Thanks obeliks,

I'll get that h263a bug fixed in the release of 2.8.0.4 Next time you have exact information on how to fix a bug like this please post it in the bug tracker. It's a lot easier for us to track it that way.



obeliks
Posts: 878
Member Since:
2010-03-14
This was actually a typo.

This was actually a typo. The intention here was probably to add h263p codec, but someone fat fingered it into h263a.



leakhena.kien
Posts: 7
Member Since:
2011-11-29
in /var/log/asterisk/full during asterisk down

[Jan 19 11:33:41] WARNING[7653] frame.c: Cannot allow unknown format 'h263a'
[Jan 19 11:33:41] WARNING[7653] chan_sip.c: Codec configuration errors found in line 13 : allow = h263a
[Jan 19 14:30:13] WARNING[3539] frame.c: Cannot allow unknown format 'h263a'
[Jan 19 14:30:13] WARNING[3539] chan_sip.c: Codec configuration errors found in line 13 : allow = h263a
[Jan 19 23:24:45] WARNING[29131] frame.c: Cannot allow unknown format 'h263a'
[Jan 19 23:24:45] WARNING[29131] chan_sip.c: Codec configuration errors found in line 13 : allow = h263a

how can i fix it because it is always restart asterisk.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.