[Asterisk-bsd] FreeBSD G729 (register ok)

Paulo Fragoso paulo at nlink.com.br
Fri Apr 6 03:31:03 MST 2007


Jeremy Bogan wrote, On 05/04/2007 18:40:
> We're using the G729a codec on FreeBSD 6.2 with no problems.

We have tried codec for FreeBSD 5.2.1 with no erros, but it doesn't work:

# cd /usr/local/lib/asterisk/modules/
# fetch 
http://ftp.digium.com/pub/asterisk/g729/unsupported/codec/asterisk-1.2/freebsd-5.2.1/pentium4/codec_g729a.so
# chmod 755 codec_g729a.so
# asterisk -r

asterisk*CLI> restart now

(no errors)

# asterisk -r

asterisk*CLI> show translation recalc 60
         Recalculating Codec Translation (number of sample seconds: 60)

         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     2     1     7     -    40    14
   ulaw     -     3     -     1     2     2     1     7     -    40    14
   alaw     -     3     1     -     2     2     1     7     -    40    14
   g726     -     3     2     2     -     2     1     7     -    40    14
  adpcm     -     3     2     2     2     -     1     7     -    40    14
   slin     -     2     1     1     1     1     -     6     -    39    13
  lpc10     -     3     2     2     2     2     1     -     -    40    14
   g729     -     -     -     -     -     -     -     -     -     -     -
  speex     -     8     7     7     7     7     6    12     -     -    19
   ilbc     -     7     6     6     6     6     5    11     -    44     -
asterisk*CLI>

> Out of of curiosity, why did you use the linux registration utility 
> and not the BSD one?

We have tried register for FreeBSD 
(http://ftp.digium.com/pub/asterisk/g729/unsupported/register_utility/freebsd-5.2.1/register) 
but it can't connect to 216.207.245.3:

Digium Product Registration
Copyright (C) 2004, Digium, Inc.

Please enter Key-ID: G729- XXXXXXXX
Analyzing key 'G729-XXXXXXXX'

Connecting to Digium License Server (216.207.245.3:5646)...FAILED(2)!

There isn't any service listen this port (I hope):

# telnet 216.207.245.3 5646
Trying 216.207.245.3...
telnet: connect to address 216.207.245.3: Connection refused
telnet: Unable to connect to remote host

Linux register access same server but it uses HTTPS port to connect and 
it works.

>
> On 06/04/2007, at 5:39 AM, Paulo Fragoso wrote:
>
>> Hi,
>>
>> We are running asterisk-1.2.13 on Pentium 4 - 3.0 GHz, running 
>> FreeBSD 6.2 RELEASE (i386). We have already  completed g729 
>> registration process using linux rigister:
>>
>> http://ftp.digium.com/pub/asterisk/g729/register_utility/32-bit/register
>>
>> it's works using linux_base-gentoo-stage3 (linux emulation), after 
>> correct brandelf:
>>
>> brandelf -t Linux register
>>
>> Using linux_base-fc4 register can't correct resolve names, this can 
>> verified using ktrace.
>>
>> Our problem happen with codec g729:
>>
>> ftp://ftp.digium.com/pub/asterisk/g729/unsupported/codec/asterisk-1.2/freebsd-5.2.1/pentium4/codec_g729a.so 
>>
>>
>> Is there any possible to someone compile codec_g729a.so on FreeBSD 6.x?
>>
>> Many Thanks,
>> Paulo Fragoso.
>>
>>
>>
>> _______________________________________________
>> Asterisk-BSD mailing list
>> Asterisk-BSD at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> -- 
> Jeremy Bogan
> VoiceBox Communications
> [ jeremy at voicebox.net.au ]
>
>
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd


More information about the Asterisk-BSD mailing list