[asterisk-users] elegant way to change codec whn failing over to another line

Warren Selby wcselby at selbytech.com
Thu Oct 20 13:48:02 CDT 2011


On Thu, Oct 20, 2011 at 5:53 AM, Bart Coninckx <bart.coninckx at telenet.be>wrote:

> Hi all,
>
> 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.
>
> 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
> 'reload'), but I'm wondering if there's a more elegant way to change the
> codec sort of "on the fly".
>
> Thank you!
>
>
>
Have you tried setting the SIP peer for the 3G connection to only allow
g729?

-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com <http://www.selbytech.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111020/aff0a67c/attachment.htm>


More information about the asterisk-users mailing list