• TwitterFacebookGoogle PlusLinkedInRSS FeedEmail

Install Ilbc Codec Asterisk Supper

14.09.2019 

I have a polycom soundstation duo setup with an asterisk server (version 1.8.10.1). I can receive and make calls just fine to/from polycom devices attached to that server.

Nov 20, 2009 iLBC vs g729 — The quick guide to using compressed codecs in Elastix. You just need to copy./codecs/codec_ilbc.so to /usr/lib/asterisk. This tutorial will let you install the G729 Codec on an Asterisk. An optional package providing support for the iLBC codec is there as well.

Now, I was looking for a way to enable HD voice on the asterisk server. Polycom devices, I have, are HD voice enabled I suppose as HD voice logo in in-print on them. Configuring a SIP peer's codecs When Asterisk starts, it loads all of the codec modules that have been installed on that system. In general, this is a large number of codecs, many of which may not be supported by all devices. Asterisk assumes that a peer can support any codec that Asterisk has loaded and is aware of - you have to tell it what a peer can support and what it cannot support. You can take two routes to do this: you can either explicitly disallow codecs that the peer does not support, or you can disallow all codecs (by specifying 'disallow=all'), and subsequently allow a single codec at a time.

Because what codecs Asterisk loads at start can change (if, for example, you bought licenses for g.729), the recommended practice is to disallow all, then subsequently re-add codecs. Say, for example, we wanted SIP peer A to have codecs ulaw, g729, and g722. We want the codec preferences to be g722 first, then g729, then ulaw. In that case, our configuration would look like: A disallow=all allow=g722 allow=g729 allow=ulaw Specifying Wideband Audio Codecs When a device states that it supports HDVoice, it means that it can support some audio codec.

There are a number of these - many of which have been developed (or are still being developed) specifically for VOIP usage. With respect to physical hard phones, often, the wideband codec that is supported is g722.

Ilbc Codec License

Install Ilbc Codec Asterisk Supper

If you want wideband audio (which is typically what HDVoice refers to), then you need to do two things:. Determine what codecs the physical device can actually support, and configure it to use that codec. Configure Asterisk with the same codec list. The preferred codec should be the first codec in the allowed list, and should be the wideband audio codec (if you want Asterisk and the device to attempt to use that) Note that you'll want to include other codecs as well (such as ulaw/alaw, g729 (if you have the licenses), etc.) in case the devices your peer ends up talking to do not support wideband audio.

For example - if a Polycom dials out to the PSTN and you have not allowed ulaw, Asterisk will be forced to transcode the audio between the Polycom and the DAHDI channel, which is a more expensive operation then if the Polycom had ended up negotiating ulaw or alaw. Also, there are times when you don't want wideband audio - for example, if you have a busy network, then codecs with good compression are much more of a concern. If you know that all devices will support wideband audio and your network has plenty of bandwidth, then this is less of a concern. To answer your other questions:. Yes, g723 and g279 are different codecs. Note that the g729 codec is not open source and has to be licensed. Operations that do not require transcoding (pass through) do not require any licensing.

You can use any wideband audio codec. G729 and g723.1 are not wideband audio codecs. Asterisk supports other codecs that can be wideband as well, including speex and silk. No, as neither of these are wideband codecs. Yes, it needs to be configured to negotiate g722, or some other wideband audio codec. In the general SIP section you can set allowed and blocked codecs.

(this settings can also be specified for individual SIP peers) disallow=all allow=alaw This will force the user of alaw. If you write something like disallow=all allow=g729 allow=gsm allow=alaw the preferred codec order from the SIP client / phone will select the 1st codec that is present in the allowed list. If you know that all your SIP clients support g722 but you're not sure about the preferred codec order settings, you can disallow=all allow=g722 Of course you must make sure that your Asterisk installation supports that codec.