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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 03, 2003 1:25 PM Subject: RE: [Asterisk-Users] Budgettone + G729
Hi,sip.conf
Unless there has been a recent change, you can't set codecs in theon a per-context basis. The way to do what you want is to have thefollowingin 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Alan Caruana Sent: 03 October 2003 11:49 To: [EMAIL PROTECTED] 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 _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
