An alternative is mod_sangoma_codec, which supports AMR.<div><br></div><div>This is the module to interface with a transcoding hardware card made by Sangoma, which implements several codecs including licensed ones such as AMR, G729 etc. The license cost is included in the cost of the hardware itself. The transcoding is done on the card itself, offloading that processing from the CPU.</div>
<div><br></div><div>Since mod_amr licenses don't exist yet, that's probably your only legal option for AMR transcoding in FreeSWITCH right now.</div><div><br></div><div>With a bit of research you can (quite easily) find the AMR library mod_amr is designed for from the headers Mike mentioned, but you won't get any help from the community finding, implementing or debugging it due to the legal issues surrounding doing so.</div>
<div><br></div><div>As for testing with mod_amr... testing one codec implementation tells you exactly nothing about a different implementation. If you plan to test transcoding AMR you *need* to test with the implementation you will use in production to get any meaningful results. Which won't be mod_amr.</div>
<div><br></div><div>Suffice to say transcoding in FreeSWITCH works very well, providing the in/out codecs are supported.</div><div><br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote">On 14 January 2013 16:45, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Licensing for that pool last we looked was a bit of a mess IIRC. We will need a lot of interest to consider pursuing this. That all being said, the module in tree is complete module code, just requires the library.<div>
<br></div><div>Makefile:</div><div><div>AMR_DIR=$(switch_srcdir)/libs/amr</div><div>AMR_BUILDDIR=$(switch_builddir)/libs/amr</div><div>AMR_A=$(AMR_BUILDDIR)/libamr.a</div><div><br></div><div>LOCAL_INSERT_CFLAGS=if test -d $(AMR_DIR); then echo "-I$(AMR_DIR)" ; else echo "-DAMR_PASSTHROUGH" ; fi ;</div>
<div>LOCAL_INSERT_LDFLAGS=test ! -d $(AMR_DIR) || echo "$(AMR_A)";</div><div><br></div><div><br></div><div>if you put the correct lib in libs/amr and build it then build the module, it should work.</div><div><br>
</div><div>your looking for a lib with these header files:</div><div><br></div><div><div>#include "interf_enc.h" </div>
<div>#include "interf_dec.h" </div></div><div><br></div><div>we do not distribute or provide any licensing for this library, so you will need to arrange that on your own.</div>
<div><br></div><div>Mike</div><div><div><br><div><br><div><div>On Jan 14, 2013, at 10:14 AM, Steven Ayre <<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>> wrote:</div><br><blockquote type="cite">
What exactly would you be 'testing' though? There's no licensed version of the module available yet.<div><br></div><div>From the Wiki:</div><div>Licensing is being worked on and FreeSWITCH™ may be able to offer licensing terms in the future for this module.</div>
<div><br></div><div>If you're interested in a transcoding version of the AMR codec for production use I'd suggest you contact the core developers to either put your name down for how many licenses you'd be interested in, or raise a bounty (like happened with G729).</div>
<div><div><br></div><div>-Steve</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On 14 January 2013 13:04, Luis Azedo <span dir="ltr"><<a href="mailto:luis.azedo@factorlusitano.com" target="_blank">luis.azedo@factorlusitano.com</a>></span> wrote:<br>
<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">Hi,<br>
is there any way to enable mod_amr with transcoding for testing purposes ?<br>
maybe with opencore-amr ?<br>
thanks<br><br></blockquote></div></div></div></blockquote></div><br></div></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>