<div dir="ltr">2013/5/27 James Mortensen <span dir="ltr"><<a href="mailto:james.mortensen@voicecurve.com" target="_blank">james.mortensen@voicecurve.com</a>></span><br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25px">In the instructions </span><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px"><a href="https://github.com/meetecho/asterisk-opus/blob/master/README.md" target="_blank">https://github.com/meetecho/asterisk-opus/blob/master/README.md</a>, we see the following:</span></font></div>
<span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25px"><div><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25px"><br>
</span></div>"Make sure that codec_opus and format_vp8 are enabled in menuselect before going on. Besides, for better results, install the slin16 versions of the Asterisk sounds, which are not enabled by default."</span><div>
<font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px">What part of the menuselect should we expect to find codec_opus and format_vp8? I'm trying to add this patch to Asterisk 11.4.0 and don't want to play guessing games if this isn't going to work. I checked in the "Codec Translators" section and I don't see those codec's listed.</span></font></div>
<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px">Also, if it helps, I see this when configuring opus from source:</span></font></div>
<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><div>
<span style="font-size:15.454545021057129px;line-height:25px">------------------------------------------------------------------------</span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> opus 1.0.2: Automatic configuration OK.</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px"><br></span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> Compiler support:</span></div><div><span style="font-size:15.454545021057129px;line-height:25px"><br>
</span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> C99 var arrays: ................ yes</span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> C99 lrintf: .................... yes</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px"> Alloca: ........................ yes</span></div><div><span style="font-size:15.454545021057129px;line-height:25px"><br></span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> General configuration:</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px"><br></span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> Floating point support: ........ yes</span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> Fast float approximations: ..... no</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px"> Fixed point debugging: ......... no</span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> Custom modes: .................. no</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px"> Assertion checking: ............ no</span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> Fuzzing: ....................... no</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px"><br></span></div><div><span style="font-size:15.454545021057129px;line-height:25px"> API documentation: ............. no</span></div><div><span style="font-size:15.454545021057129px;line-height:25px">------------------------------------------------------------------------</span></div>
<div style="font-size:15.454545021057129px;line-height:25px"><br></div><div style="font-size:15.454545021057129px;line-height:25px">Opus compiled on Ubuntu 12.04 without any errors or warnings.</div><div style="font-size:15.454545021057129px;line-height:25px">
<br></div><div style="font-size:15.454545021057129px;line-height:25px">However, when patching Asterisk, I see the following:</div><div style="font-size:15.454545021057129px;line-height:25px"><br></div><div><div><span style="font-size:15.454545021057129px;line-height:25px">root@jamesasterisktest:/mnt/asteriskpersistent/src/asterisk-11.4.0# patch -p1 -u < asterisk_opus+vp8.diff</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px">patching file build_tools/<a href="http://menuselect-deps.in" target="_blank">menuselect-deps.in</a></span></div><div><span style="font-size:15.454545021057129px;line-height:25px">patching file channels/chan_sip.c</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px">Hunk #1 succeeded at 7757 (offset 33 lines).</span></div><div><span style="font-size:15.454545021057129px;line-height:25px">Hunk #2 succeeded at 11045 (offset 46 lines).</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px">Hunk #3 succeeded at 11084 (offset 46 lines).</span></div><div><span style="font-size:15.454545021057129px;line-height:25px">Hunk #4 succeeded at 11151 (offset 46 lines).</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px">Hunk #5 succeeded at 12756 (offset 107 lines).</span></div><div><span style="font-size:15.454545021057129px;line-height:25px">Hunk #6 succeeded at 12789 (offset 107 lines).</span></div>
<div><span style="font-size:15.454545021057129px;line-height:25px">patch: **** write error : No space left on device</span></div></div></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px"><br>
</span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px">The drive has 2.3GB of available space, and the patch isn't that big. </span></font></div>
<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px"><br></span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px">If any of this looks related to the patch issues, I'll try with 11.1.2. I just want to make sure the other pieces are in order and that I'm looking for things in menuselect in the right places.</span></font></div>
<div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px"><br></span></font></div></div></blockquote><div><br></div><div> </div><div><span style="font-family:arial,sans-serif;font-size:13px">My guess is that the error you got prevented the patch from being completely applied: most likely neither code_opus.c nor format_vp8.c were created, and so they don't appear in menuselect. About Asterisk 11.4.0 compatibility, I'm not familiar with that version so I'm not sure if and how it would work. If the menuselect syntax has not been changed in the meanwhile it should find both the files without problems.</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Lorenzo</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px">
</span></font></div><div><font color="#333333" face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:15.454545021057129px;line-height:25px">Thank you!<span class=""><font color="#888888"><br clear="all">
</font></span></span></font><span class=""><font color="#888888"><div><br></div>-- <br>
James Mortensen<br>Project Manager, VoiceCurve, Inc.<br><a href="tel:866-707-4590" value="+18667074590" target="_blank">866-707-4590</a><br><a href="mailto:james.mortensen@voicecurve.com" target="_blank">james.mortensen@voicecurve.com</a><br>
</font></span></div></div>
</blockquote></div><br></div></div>