You can use SIP_CODEC variable. Read README.variables file.<br><br><div><span class="gmail_quote">On 11/18/06, <b class="gmail_sendername">Mark Price</b> <<a href="mailto:markprice@gmail.com">markprice@gmail.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>My pstn provider is currently set up so that when asterisk sends an outbound SIP call to them,
<br>if sip.conf says:<br>[general]<br>allow=g729,ulaw<br><br>then it always picks ulaw, even though g729 is listed first.
<br><br>However, if sip.conf says:<br>[general]<br>allow=g729<br><br>then g729 is chosen.<br><br>Dial(<a href="mailto:9768675309@sipprovider.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">9768675309@sipprovider.net
</a><br><br>How can I force calls to this sip domain to use g729?
<br><span class="sg"><br>Mark<br><br>
</span><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --
<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>