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@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Dave Alan
Caruana
Sent: 03 October 2003 11:49
To: asterisk-users@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
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users