hmmm... so there's no way i can prioritize g.729 before ulaw and alaw?
i just want to do is use all g.729 first if all g.729 already used now
thats the time ulaw will be used.<br><br><div><span class="gmail_quote">On 11/16/05, <b class="gmail_sendername">trixter aka Bret McDanel</b> &lt;<a href="mailto:trixter@0xdecafbad.com">trixter@0xdecafbad.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, 2005-11-16 at 01:20 +0800, Mark Quitoriano wrote:<br>&gt; how can i force asterisk to use 
g.729 codec first. i try to call<br>&gt; outside sometimes the g.729 is being used sometimes not.<br><br>Asterisk will negotitate based on your list of available codecs for a<br>channel and the remote end points available codecs.&nbsp;&nbsp;If you set it to
<br>only g.729 and the other end doesnt support g.729 the call will fail.<br><br>Keep in mind that g.729 takes more cpu than some other codecs.&nbsp;&nbsp;Take<br>ulaw, while it uses quantinization it doesnt really compress (its<br>
arguable that quantinization is compression but that is a symantic<br>argument more than anything).&nbsp;&nbsp;So its a trade off between cpu and<br>network resources.<br><br>If you truely want to force all calls to use g.729 or nothing only allow
<br>g.729 and disallow everything else.&nbsp;&nbsp;I do not think you will be happy<br>unless you use only providers that support g.729 and have enough<br>licenses available for every call that you make.&nbsp;&nbsp;If you directly<br>connect to other servers that you dont know whether or not they do 
g.729<br>or if your provider doesnt have enough g.729 licenses you may see both<br>inbound and outbound calls fail from time to time.<br><br><br>--<br>Trixter <a href="http://www.0xdecafbad.com">http://www.0xdecafbad.com</a>
&nbsp;&nbsp;&nbsp;&nbsp; Bret McDanel<br>UK +44 870 340 4605&nbsp;&nbsp; Germany +49 801 777 555 3402<br>US +1 360 207 0479 or +1 516 687 5200<br>FreeWorldDialup: 635378<br><a href="http://www.sacaug.org/">http://www.sacaug.org/</a> Sacramento Asterisk Users Group
<br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.1 (GNU/Linux)<br><br>iD8DBQBDeh2V+1olxlzQw5cRAtF3AKCykanu2BnxlIvD9YD6Se4s6yztfgCfQL7l<br>vKqil6wmZbgG2d6v8bFZKrc=<br>=jqaB<br>-----END PGP SIGNATURE-----<br>
<br><br>_______________________________________________<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br><a href="mailto:Asterisk-Users@lists.digium.com">
Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Mark Quitoriano, CCNA<br><a href="http://www.atamanetworks.com">http://www.atamanetworks.com
</a><br><br>Fan the flame...<br><a href="http://www.spreadfirefox.com/?q=user/register&amp;r=19441">http://www.spreadfirefox.com/?q=user/register&amp;r=19441</a>