[Asterisk-Users] G.729 between Zap and SIP

Walter Klomp walter at aglow.com.sg
Thu Jul 29 23:13:05 MST 2004


Hi,

I have licensed the digium G.729A codec. But for some reason incoming and
outgoing calls will ALWAYS use G.711a. When I force my phone to only accept
G.729 then an incoming call from ZAP goes straight to my voicemailbox as the
phone doesn't accept the codec Asterisk wants, even if I force it in
sip.conf.

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     -     -

Warmest Regards,

Walter Klomp




More information about the asterisk-users mailing list