<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" 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.6000.16608" 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
}
OL {
        MARGIN-BOTTOM: 0cm
}
UL {
        MARGIN-BOTTOM: 0cm
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have not used IAX, but do you have any reason to
believe that this extra data is meaningful? It looks rather like a bug (or
configuration problem), where the frame size is set as if it were a G.711 frame,
while the Speex data takes only the first 20 bytes (Mode 3, as you said).
You could try ignoring it, but 140 trash bytes is a lot of wasted
bandwidth.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This looks like an application problem, so this
list is probably not the best place to find an answer.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>- Jim</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
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=hvanrensburg@fnb.co.za href="mailto:hvanrensburg@fnb.co.za">Van
Rensburg, Hendrik</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=speex-dev@xiph.org
href="mailto:speex-dev@xiph.org">speex-dev@xiph.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, April 08, 2008 4:08
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Speex-dev] IAX2 speex payload
using ZoIPer</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Using Wireshark I can see that
ZoIPer always send a 160 byte payload. First few payloads contain 20
bytes of data (what I believe to be a mode 3 frame, ie first byte in 0x18 –
0x1F range), followed by 0x7B (21<SUP>st</SUP> byte), ie. 5 bit 0x0F
terminator padded with 011. … and then zeroes all the way up to 160
bytes.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">… but then after a few payloads
there are more following these 21 bytes … typically looking like
this:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0000 00 0c 29 02 83 c6 00
1c 25 10 d0 48 08 00 45 00 ..).....
%..H..E.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0010 00 c0 4c 58 00 00 80
11 53 38 0a cb 42 82 0a cb ..LX....
S8..B...<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0020 42 85 11 d9 11 d9 00
ac 6d d2 00 04 0c 80 >> Payload starts here >> 1d
be B....... m.......<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0030 24 9c 1c 59 38 59 74
90 48 be 91 e6 8b c9 ef 99 $..Y8Yt.
H.......<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0040 68 ee >>
Terminatar as 21<SUP>st</SUP> byte >> 7b >> and then … >> 1a
24 03 50 00 00 00 1c 1a 24 03 03 00 h.{.$.P.
....$...<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0050 00 00 0f df 80 41 4e
8b 17 c0 10 3f 45 c1 78 55 .....AN.
...?E.xU<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0060 a7 c0 9f 89 94 c0 5c
06 b4 c0 12 ac c8 c0 88 23 ......\.
.......#<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0070 21 41 50 69 2e c1 0c
8a 13 c1 ba 24 7b c0 c3 55 !APi....
...${..U<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0080 a3 c0 c6 51 d6 c0 94
94 49 c0 af 0e 77 41 dd aa ...Q....
I...wA..<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">0090 fe c0 40 e4 2e c1 00
00 00 00 60 d4 23 03 40 1c ..@.....
..`.#.@.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">00a0 59 3e e8 d7 23 03 fc
ef a6 03 00 00 00 00 a0 00 Y>..#...
........<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">00b0 00 00 00 00 80 3f 34
a2 f4 bf 21 3c 6a 3f 00 00 .....?4.
..!<j?..<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">00c0 80 3f 5e a2 f6 bf 03
43 6e 3f 00 00 80 3f
.?^....C n?...? <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Questions:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<OL style="MARGIN-TOP: 0cm" type=1>
<LI class=MsoNormal style="mso-list: l0 level1 lfo1"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">What is the rest
and how do I decode it with my own VoIP client?<o:p></o:p></SPAN></FONT>
<LI class=MsoNormal style="mso-list: l0 level1 lfo1"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">How do I encode my
outgoing audio so that it looks something like the
above?<o:p></o:p></SPAN></FONT> </LI></OL>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P></DIV><FONT
face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt" align=left><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">To read
FirstRand Bank's Disclaimer for this email click on the following address or
copy into your Internet browser: <BR><A
href="https://www.fnb.co.za/disclaimer.html">https://www.fnb.co.za/disclaimer.html</A>
<BR style="mso-special-character: line-break"><BR
style="mso-special-character: line-break"></P><O:P></O:P></SPAN></FONT><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">If you are unable to
access the Disclaimer, send a blank e-mail to </SPAN></FONT><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A
href="mailto:firstrandbankdisclaimer@fnb.co.za">firstrandbankdisclaimer@fnb.co.za</A>
and we will send you a copy of the Disclaimer.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"
align=left></SPAN></FONT></SPAN></FONT></P><BR><BR>__________ Information from
ESET NOD32 Antivirus, version of virus signature database 3010 (20080408)
__________<BR><BR>The message was checked by ESET NOD32 Antivirus.<BR><BR><A
href="http://www.eset.com">http://www.eset.com</A><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Speex-dev mailing
list<BR>Speex-dev@xiph.org<BR>http://lists.xiph.org/mailman/listinfo/speex-dev<BR><BR><BR><BR>__________
Information from ESET NOD32 Antivirus, version of virus signature database
3010 (20080408) __________<BR><BR>The message was checked by ESET NOD32
Antivirus.<BR><BR>http://www.eset.com<BR></BLOCKQUOTE></BODY></HTML>