<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE>@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT face=Arial size=2>It very well could be email <A
href="mailto:support@digium.com">support@digium.com</A> and see if maybe they
are aware of this issue.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>bkw</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=chris@datachaos.com.au
href="mailto:chris@datachaos.com.au">Christopher Lee</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 21, 2004 8:29 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Asterisk-Users] G.729a beta
codec on old Pentiums</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I’ve been trying to get the G.729a
beta codec running with my remote Asterisk box that talks IAX2 to my local
Asterisk box.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Digium fixed the problem I was
having in registering the beta codec, so that now works fine. I’ve removed the
old codec_g729b.so from /usr/lib/asterisk/modules and put in place the
codec_g729a.so beta from digium FTP. My CVS build of Asterisk is about a day
old now.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Everytime I try to execute
/usr/sbin/safe_astersik with codec_g729a.so in place, it crashes and core
dumps, not giving much indication of what’s
happening.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I tried executing Asterisk
directly with /usr/sbin/asterisk –cvvvvvvg to get as much verboseness as
possible, and have cut the last few lines (host ID and license intentionally
blanked out):-<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[format_g729.so] => (Raw G729
data)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> == Registered file format
g729, extension(s) g729<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[codec_g729a.so] => (Annex A/B
(floating point) G.729/PCM16 Codec Translator)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> == G.729 Host-ID:
**masked**<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> == Found license
'**masked**' providing 2 channels<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> == Found total of 2 G.729
licenses<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Illegal instruction (core
dumped)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The machine this is running on is
rather old – it’s a Pentium MMX (166Mhz according to Linux, I thought it was a
200Mhz but I’m remote to the machine at the moment so I can’t watch the BIOS
boot to see).<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This is probably just a shot in
the dark, but could this be related to the F00F bug in the older Pentiums? Has
anyone else got the beta g729a codec running successfully on an older Pentium
machine?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Linux /proc/cpuinfo reports the
following:-<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">:~$ cat
/proc/cpuinfo<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">processor
: 0<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">vendor_id
: GenuineIntel<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">cpu
family : 5<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">model
: 4<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">model
name : Pentium MMX<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">stepping
: 3<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">cpu
MHz :
167.049<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">fdiv_bug
: no<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">hlt_bug
: no<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">f00f_bug
: yes<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">coma_bug
: no<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">fpu
: yes<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">fpu_exception :
yes<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">cpuid
level : 1<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">wp
: yes<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">flags
: fpu vme de pse tsc msr mce cx8 mmx<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">bogomips
: 333.41<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Chris
Lee<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-AU
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>