<div>That works too as asterisk looks for the transcoding first but falls-back to looking for the file.g729 in that $lang folder. </div><div> </div><div>Could look a little something like this, using 1.6+ and having at least one valid g729 license on the box:</div>
<div><br>for a in *.alaw; do rasterisk -x "file convert /var/lib/asterisk/sounds/en/$a /var/lib/asterisk/sounds/en/`echo $a|sed "s/.alaw/.g729/"`"; done;</div><div> </div><div>replace g729 with ulaw, gsm etc. to have all codecs covered by proper files. <br>
</div><div>S.<br></div><div class="gmail_quote">On Wed, Feb 20, 2013 at 2:08 PM, Jon Bonilla <span dir="ltr"><<a href="mailto:jbonilla@sipwise.com" target="_blank">jbonilla@sipwise.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
El Wed, 20 Feb 2013 14:03:56 -0800<br>
Skyler <<a href="mailto:skchopperguy@gmail.com">skchopperguy@gmail.com</a>> escribió:<br>
<div class="im"><br>
> Right, I should have added that disclaimer. Thank you Andrew.<br>
><br>
><br>
<br>
</div>In this case if you really do want to use g729 you should add the g729 codec<br>
prompts to the /var/lib/asterisk/sounds/$lang folder instead of trying to do<br>
codec translations.<br>
<br>
Patent and licenses are only aplied to trancoding from/to g729. If you don't<br>
need transcoding you're fine.<br>
<br>
<br>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br>