[asterisk-users] transcoding with TC400P

Vinícius Fontes vinicius at canall.com.br
Fri Feb 19 10:21:55 CST 2010


----- "Katerina Borin" <katerin.borin at gmail.com> escreveu:

> Hello,
> I have transcoding card TC400P installed in server running Debian with
> Asterisk 1.4.23. Everything seams to be fine and after I boot up
> server I see in dmesg:
> 
> 7.590966] Zapata Telephony Interface Registered on major 196
> [    7.590966] Zaptel Version: 1.4.12.1
> [    7.590966] Zaptel Echo Canceller: MG2
> [    7.610963] zttranscode: Loaded.
> [    7.618969] wctc4xxp: tc400b0: Attached to device at 0000:02:07.0.
> [    7.618969] firmware: requesting zaptel-fw-tc400m.bin
> [    8.111186] ACPI: PCI Interrupt 0000:02:07.0[A] -> GSI 19 (level,
> low) -> IRQ 19
> [   11.400359] wctc4xxp: tc400b0: (G.729a / G.723.1) Transcoder
> support LOADED (firm ver = 6.12)
> [   11.400359] wctc4xxp: tc400b0: Installed a Wildcard TC: Wildcard
> TC400P+TC400M
> [   11.400359] zttranscode: Registered codec translator 'DTE Encoder'
> with 92 transcoders (srcs=0000000c, dsts=00000101)
> [   11.400359] zttranscode: Registered codec translator 'DTE Decoder'
> with 92 transcoders (srcs=00000101, dsts=0000000c)
> [   11.572355] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level,
> low) -> IRQ 17
> 
> in asterisk cli:
> Connected to Asterisk 1.4.23.1 currently running on katerin (pid =
> 3168)
> Verbosity was 3 and is now 5
> katerin*CLI> transcoder show
> 0/0 encoders/decoders of 92 channels are in use.
> 
> I am trying to do 2 experiments:
> 1) asterisk1 --->g729--> asterisk2 (with transcoding card) Playfile in
> ulaw format
> 2) asterisk2 --->ulaw--> asterisk2 (with transcoding card) Playfile in
> g729 format
> 
> In the first case I get all calls proceeding and in asteris2 cli
> 
> Connected to Asterisk 1.4.23.1 currently running on katerin (pid =
> 3168)
> Verbosity was 3 and is now 5
> katerin*CLI> transcoder show
> 90/0 encoders/decoders of 92 channels are in use.
> 
> But it all does not work for the second case, in asterisk2 cli I get
> messages like
> 
> [Feb 19 15:18:32] ERROR[3121]: codec_dahdi.c:244 zap_translate: Unable
> to attach to transcoder: Input/output error
> 
> [Feb 19 15:18:32] WARNING[3121]: translate.c:294
> ast_translator_build_path: Failed to build translator step from 8 to 2
> 
> [Feb 19 15:18:32] WARNING[3121]: chan_sip.c:3751 sip_write: Asked to
> transmit frame type 256, while native formats is 0x4 (ulaw)(4)
> read/write = 0x4 (ulaw)(4)/0x100 (g729)(256)
> 
> Btw call does go through but transcoding is done by processor not by
> TC400P. Did anyone encounter such problem?


I never used a TC400 card so I don't have much knowledge on that, but you really shouldn't be using Zaptel anymore. Upgrade to DAHDI, that might solve your problem.

Atenciosamente,

Vinícius Fontes
Gerente de Segurança da Informação
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brasil
+55 54 2104-7000

Information Security Manager
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brazil
+55 54 2104-7000



More information about the asterisk-users mailing list