[Asterisk-Users] Budgettone + G729
John Todd
jtodd at loligo.com
Fri Oct 3 13:19:56 MST 2003
>many thanks!
>it's all pretty much a hit & miss process
>becaues of Asterisk's notorious lack of documentation..
>
>I will try this out at my client tomorrow,
>fingers crossed.
>
>cheers
>Dave
>
>----- Original Message -----
>From: "T Aksoy" <tan at yointernet.com>
>To: <asterisk-users at lists.digium.com>
>Sent: Friday, October 03, 2003 1:25 PM
>Subject: RE: [Asterisk-Users] Budgettone + G729
>
>
>> Hi,
>>
>> Unless there has been a recent change, you can't set codecs in the
>sip.conf
>> on a per-context basis. The way to do what you want is to have the
>following
>> in the [general] area:
>>
>> disallow=all
>> allow=ulaw
>> allow=alaw
>> allow=g729
>>
>> Then, set all the codec preferences on the g729 phone to g729. That phone
>> should then only be able to negotiate g729. If this doesn't work then I
>> suspect some sort of g729 codec installation error?
>>
>> Tan
>>
>>
>> -----Original Message-----
>> From: asterisk-users-admin at lists.digium.com
>> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Dave Alan
>> Caruana
>> Sent: 03 October 2003 11:49
>> To: asterisk-users at lists.digium.com
>> Subject: [Asterisk-Users] Budgettone + G729
>>
>>
>> hi there ..
>> I asked sometime ago regarding getting a Budgettone
>> working with Asterisk over G729.
>>
>> My system is quite simple, Asterisk server with 1 G 729 license
>> installed, and 10 Grandstream phones. Only one of them needs
>> G729, because it's on a remote link via an ADSL bridge. The
>> rest run happily on G711 on a local network.
>>
>> I added the lines
>>
>> disallow=all
>> allow=g729
>>
>> to the sip.conf entry for that particular phone,
>> but it doesn't seem to have made any difference.
>> If I remove the "allow = g729" line, which supposedly
>> should leave no codecs at all, the phone still works,
>> on G711. With the allow=g729 line in place, and switching
>> off all codec options except g729 from the phone, when
>> I try to for example dial extension 1000, which should
>> give me Asterisk's welcome message, I get a message
>> about "no matching codecs" on the asterisk console,
>> so obviously the g729 codec isn't working.
>>
>> Can somebody help?
>>
>> cheers
> > Dave
> >
Another point to reference is that there is a feature request in the
system to allow/disallow codecs on a per-peer basis:
http://bugs.digium.com/bug_view_page.php?bug_id=0000198
JT
More information about the asterisk-users
mailing list