Hi,
    Does anyone know a what to use a different codec for calls which are
handset to handset (eg, G711) then when we have calls to the out side
world (via an asterisk server) to use a different codec(eg, G729)?
    The idea is to reduce the bandwidth to the server for the majority of
calls, but get good quality on internal calls.
    With thanks,
       Tim
On 2006-10-24 06:44:01 -0700, "Wildheart" <asterisk-users@php-systems.com> said:> Hi, > > Does anyone know a what to use a different codec for calls which are > handset to handset (eg, G711) then when we have calls to the out side > world (via an asterisk server) to use a different codec(eg, G729)? > > The idea is to reduce the bandwidth to the server for the majority of > calls, but get good quality on internal calls. > > With thanks,yes, this is simple, just make it so the extensions allow both g729 and ulaw, and set your "outside world" is g729. Marty
Hi Marty,
   By the outside world, I mean the PSTN connection. I am still interested
in how you would set this up. Can you paste in a sample config?
   With thanks,
    Tim
> On 2006-10-24 06:44:01 -0700, "Wildheart"
> <asterisk-users@php-systems.com> said:
>
>> Hi,
>>
>>     Does anyone know a what to use a different codec for calls which
are
>> handset to handset (eg, G711) then when we have calls to the out side
>> world (via an asterisk server) to use a different codec(eg, G729)?
>>
>>     The idea is to reduce the bandwidth to the server for the majority
>> of
>> calls, but get good quality on internal calls.
>>
>>     With thanks,
>
> yes, this is simple,  just make it so the extensions allow both g729
> and ulaw, and set your "outside world" is g729.
>
> Marty
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
In your configuration files, for the providers, put: disallow=all allow=g729 For the phones leave them as it is, they might use G711 between the phones and the server, but if its a local lan it really wont matter unless its not well designed and managed. On 10/24/06, Wildheart <asterisk-users@php-systems.com> wrote:> > Hi, > > Does anyone know a what to use a different codec for calls which are > handset to handset (eg, G711) then when we have calls to the out side > world (via an asterisk server) to use a different codec(eg, G729)? > > The idea is to reduce the bandwidth to the server for the majority of > calls, but get good quality on internal calls. > > With thanks, > > Tim > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061025/67eb8555/attachment.htm