TC400B Transcode Card :: Unregistering itself on 'reload'

Hi,

Recently I bought a TC400B transcode card from digium and trying to install it . if I ‘reload’ from CLI then transcode card unregistering itself.

  1. CentOs-4.4
  2. kernel-2.6.9-42.ELsmp
  3. Asterisk 1.2.16
  4. Zaptel 1.2.15

#lspci
04:02.0 Ethernet controller: Digium, Inc.: Unknown device 3400 (rev 11)

dmesg

zaptel: No versions for exported symbols. Tainting kernel.
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.15
Zaptel Echo Canceller: KB1
zttranscode: No versions for exported symbols. Tainting kernel.
Zaptel Transcoder support loaded
ACPI: PCI interrupt 0000:04:02.0[A] -> GSI 18 (level, low) -> IRQ 193
Registered codec translator ‘DTE Encoder’ with 92 transcoders (srcs=0000000c, dsts=00000101)
Registered codec translator ‘DTE Decoder’ with 92 transcoders (srcs=00000101, dsts=0000000c)
Zaptel DTE (g.729a / g.723.1 5.3kbps) Transcoder support LOADED (firm ver = 56)
Found and successfully installed a Wildcard TC: Wildcard TC400P+TC400M

*CLI> show translation
Translation times between formats (in milliseconds)
Source Format (Rows) Destination Format(Columns)

     g723   gsm  ulaw  alaw  g726 adpcm  slin lpc10  g729 speex  ilbc

g723 - 3 1 1 - 3 2 - 2 - -
gsm 3 - 2 2 - 2 1 - 3 - -
ulaw 1 2 - 1 - 2 1 - 1 - -
alaw 1 2 1 - - 2 1 - 1 - -
g726 - - - - - - - - - - -
adpcm 3 2 2 2 - - 1 - 3 - -
slin 2 1 1 1 - 1 - - 2 - -
lpc10 - - - - - - - - - - -
g729 2 3 1 1 - 3 2 - - - -
speex - - - - - - - - - - -
ilbc - - - - - - - - - - -

*CLI> reload <=== Unregistering


– Reloading module ‘codec_zap.so’ (Generic Zaptel Transcoder Codec Translator)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– codec_zap: using generic PLC
== Found transcoder ‘DTE Decoder’.
== Found transcoder ‘DTE Encoder’.
== Unregistered translator ‘zapulawtog723’ from format ulaw to g723
== Unregistered translator ‘zapalawtog723’ from format alaw to g723
== Unregistered translator ‘zapg723toulaw’ from format g723 to ulaw
== Unregistered translator ‘zapg729toulaw’ from format g729 to ulaw
== Unregistered translator ‘zapg723toalaw’ from format g723 to alaw
== Unregistered translator ‘zapg729toalaw’ from format g729 to alaw
== Unregistered translator ‘zapulawtog729’ from format ulaw to g729
== Unregistered translator ‘zapalawtog729’ from format alaw to g729

*CLI> show translation
Translation times between formats (in milliseconds)
Source Format (Rows) Destination Format(Columns)

     g723   gsm  ulaw  alaw  g726 adpcm  slin lpc10  g729 speex  ilbc

g723 - - - - - - - - - - -
gsm - - 2 2 - 2 1 - - - -
ulaw - 2 - 1 - 2 1 - - - -
alaw - 2 1 - - 2 1 - - - -
g726 - - - - - - - - - - -
adpcm - 2 2 2 - - 1 - - - -
slin - 1 1 1 - 1 - - - - -
lpc10 - - - - - - - - - - -
g729 - - - - - - - - - - -
speex - - - - - - - - - - -
ilbc - - - - - - - - - - -

*CLI> reload <=== Registering again


– Reloading module ‘codec_zap.so’ (Generic Zaptel Transcoder Codec Translator)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– codec_zap: using generic PLC
== Found transcoder ‘DTE Decoder’.
== Registered translator ‘zapg723toulaw’ from format g723 to ulaw, cost 1
== Registered translator ‘zapg723toalaw’ from format g723 to alaw, cost 1
== Registered translator ‘zapg729toulaw’ from format g729 to ulaw, cost 1
== Registered translator ‘zapg729toalaw’ from format g729 to alaw, cost 1
== Found transcoder ‘DTE Encoder’.
== Registered translator ‘zapulawtog723’ from format ulaw to g723, cost 1
== Registered translator ‘zapulawtog729’ from format ulaw to g729, cost 1
== Registered translator ‘zapalawtog723’ from format alaw to g723, cost 1
== Registered translator ‘zapalawtog729’ from format alaw to g729, cost 1

*CLI> show translation
Translation times between formats (in milliseconds)
Source Format (Rows) Destination Format(Columns)

     g723   gsm  ulaw  alaw  g726 adpcm  slin lpc10  g729 speex  ilbc

g723 - 3 1 1 - 3 2 - 2 - -
gsm 3 - 2 2 - 2 1 - 3 - -
ulaw 1 2 - 1 - 2 1 - 1 - -
alaw 1 2 1 - - 2 1 - 1 - -
g726 - - - - - - - - - - -
adpcm 3 2 2 2 - - 1 - 3 - -
slin 2 1 1 1 - 1 - - 2 - -
lpc10 - - - - - - - - - - -
g729 2 3 1 1 - 3 2 - - - -
speex - - - - - - - - - - -
ilbc - - - - - - - - - - -

Am I missing something ? Pls light on this issue .

Best Regards,

…Tusar…

This appears to be a bug in Asterisk and has been filed as a bug.

bugs.digium.com/view.php?id=9293

Hi Tusar
I can see from the output that the translation table shows a time for the convertion from g.723 to g.729 and vice-versa. Did you have the chance to actually try that type of call?
I’m curious because the product description don’t explicitly talk about that convertion, only g729 <–> ulaw/alaw and g723 <–> ulaw/alaw.

Hi,

No , I did not try conversion, g723 <–> g729. As it stated only g729 <–> ulaw/alaw and g723 <–> ulaw/alaw and I tried only this g729 <–> ulaw/alaw .

Regards,

…Tusar…

Fixed in 1.2 as of revision 60398, 1.4 as of revision 60399, and trunk as
of revision 60400