Asterisk 1.4 - FreePBX - Polycom 330 and 501 phones. I've got G.729 loaded in the modules on the Asterisk server and on the Polycom phones I've set G.729 to be the first preference of codec, but still when I go SIP SHOW CHANNELS during active calls it still shows "(ULAW)" (G.711) as the codec in use. I'm a newbie at Asterisk, can anybody suggest what I might be overlooking? Best wishes and aloha, Ben M. Schorr Chief Executive Officer ______________________________________________ Roland Schorr & Tower 1155 Fort Street Mall Honolulu, Hawaii 96813 Mobile: 808-782-6306 Fax: 808-533-3677 www.rolandschorr.com <http://www.rolandschorr.com/> bens at rolandschorr.com <mailto:bens at rolandschorr.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091215/804e73f9/attachment.htm
On Tue, 15 Dec 2009, Ben Schorr wrote:> Asterisk 1.4 - FreePBX - Polycom 330 and 501 phones. > > > > I've got G.729 loaded in the modules on the Asterisk server and on the > Polycom phones I've set G.729 to be the first preference of codec, but > still when I go SIP SHOW CHANNELS during active calls it still shows > "(ULAW)" (G.711) as the codec in use. > > > > I'm a newbie at Asterisk, can anybody suggest what I might be > overlooking? >In the sip.conf entry for your peer you need to specify the codec negotiation order. Though you put g.729 first on the phone, asterisk probably has ulaw first, and is taking precedence. In the sip.conf entry put this: disallow=all allow=g729 j
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ben Schorr wrote:> I?ve got G.729 loaded in the modules on the Asterisk server and on the > Polycom phones I?ve set G.729 to be the first preference of codec, but > still when I go SIP SHOW CHANNELS during active calls it still shows > ?(ULAW)? (G.711) as the codec in use.How about in sip.conf? Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFLJ9csCFu3bIiwtTARAnDfAJ9QL8xqGZYgeHyFwhX7Ebz+h7UVYQCdEt5k af0y9vqC4WV8CmdAN0D0ASE=++1O -----END PGP SIGNATURE-----