<div class="gmail_quote">On Thu, Oct 20, 2011 at 5:53 AM, Bart Coninckx <span dir="ltr">&lt;<a href="mailto:bart.coninckx@telenet.be">bart.coninckx@telenet.be</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
After having done some successful tests with 3G in combination with the G729a codec, I plan to use this as a failover path for when the main internet connection goes down.<br>
<br>
However, on this usual connection, G711a is used. I could have the script that monitors the main line also sed the sip.conf for changing to another codec when a failover to 3G is done (and have it do a asterisk -rx &#39;reload&#39;), but I&#39;m wondering if there&#39;s a more elegant way to change the codec sort of &quot;on the fly&quot;.<br>

<br>
Thank you!<br>
<br>
<br clear="all"></blockquote></div><br>Have you tried setting the SIP peer for the 3G connection to only allow g729?<br><br>-- <br>Thanks,<br>--Warren Selby, dCAP<br><a href="http://www.selbytech.com" target="_blank">http://www.SelbyTech.com</a><br>
<br>