[Asterisk-Users] G.729 <-> ZAP ?

Walter Klomp walter at aglow.com.sg
Fri Jul 30 23:56:26 MST 2004


Hi,

I am trying to replace my Cisco 5300 gateway with my new Zap TE405P card. 
Incoming calls and outgoing calls between my cisco and my SIP phone works 
fine on G.729. Recording messages in the asterisk voice-mailbox also works 
fine from both my SIP phone as well as PSTN -> Cisco -> Asterisk. I have 
licensed the digium G.729A codec.

When I connect my ISDN PRI to my Zap card and I call in, Asterisk does not 
like the G.729 anymore and will not send the call to my phone, claiming the 
phone does not support the codec asterisk wants, as I forced it to G.729. 
For some reason incoming and outgoing calls will ALWAYS use G.711a.

Is there anywhere else I need to look to tell ZAP to use G.729 preferrably ?

The translator is loaded...

 [codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator)
  == Registered translator 'gsmtolin' from format GSM to SLINR, cost 1
  == Registered translator 'lintogsm' from format SLINR to GSM, cost 4
 [codec_g729a.so] => (Annex A/B (floating point) G.729/PCM16 Codec
Translator)
  == G.729 Host-ID:
1b:a1:18:82:47:6f:a8:f7:33:de:7d:77:e8:1d:60:15:53:ec:49:aa
  == Found license 'G729-700241AB' providing 5 channels
  == Found total of 5 G.729 licenses
  == Registered translator 'g729tolin' from format G729A to SLINR, cost 3
  == Registered translator 'lintog729' from format SLINR to G729A, cost 14
 [codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
  == Registered translator 'lpc10tolin' from format LPC10 to SLINR, cost 3
  == Registered translator 'lintolpc10' from format SLINR to LPC10, cost 9
 [codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder)
  == Registered translator 'adpcmtolin' from format ADPCM to SLINR, cost 1
  == Registered translator 'lintoadpcm' from format SLINR to ADPCM, cost 1
 [codec_ulaw.so] => (Mu-law Coder/Decoder)
  == Registered translator 'ulawtolin' from format ULAW to SLINR, cost 1
  == Registered translator 'lintoulaw' from format SLINR to ULAW, cost 1
 [codec_alaw.so] => (A-law Coder/Decoder)
  == Registered translator 'alawtolin' from format ALAW to SLINR, cost 1
  == Registered translator 'lintoalaw' from format SLINR to ALAW, cost 1
 [codec_a_mu.so] => (A-law and Mulaw direct Coder/Decoder)
  == Registered translator 'alawtoulaw' from format ALAW to ULAW, cost 1
  == Registered translator 'ulawtoalaw' from format ULAW to ALAW, cost 1
 [format_g723.so] => (G.723.1 Simple Timestamp File Format)
  == Registered file format g723sf, extension(s) g723
 [format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
  == Registered file format wav, extension(s) wav

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

         G723   GSM  ULAW  ALAW  G726 ADPCM SLINR LPC10 G729A SPEEX  ILBC
   G723     -     -     -     -     -     -     -     -     -     -     -
    GSM     -     -     2     2     4     2     1    10    15     -    23
   ULAW     -     5     -     1     4     2     1    10    15     -    23
   ALAW     -     5     1     -     4     2     1    10    15     -    23
   G726     -     7     4     4     -     4     3    12    17     -    25
  ADPCM     -     5     2     2     4     -     1    10    15     -    23
  SLINR     -     4     1     1     3     1     -     9    14     -    22
  LPC10     -     7     4     4     6     4     3     -    17     -    25
  G729A     -     7     4     4     6     4     3    12     -     -    25
  SPEEX     -     -     -     -     -     -     -     -     -     -     -
   ILBC     -     8     5     5     7     5     4    13    18     -     -

!!! Help Anybody??? Digium ??? I need this G.729 to work as G.711 is too 
much a bandwidth hog and my Cisco 5300 is dying...

Walter Klomp




More information about the asterisk-users mailing list