provisioner / Provisioner

The is the central location for the Provisioner Module for VoIP/PBX Servers. Most of the new work is happening inside the v5-dev branch
Other
120 stars 156 forks source link

Codec/Audio Selection = Controlled by FreePBX #148

Open beltechs opened 11 years ago

beltechs commented 11 years ago

I'm using a Yealink T26, when I go to edit Specific. There are 3 codec selection boxes and a Controlled by FreePBX check box. My question is, are the codec preferences being pulled from Asterisk SIP Settings? I tried rearranging the code pref in SIP Settings but it did not change on the config files. When I deselected Controlled by FreePBX, I selected the 3 different codec preferences, click submit, rebuilt the config files. No change on the codec preference after rebuild and reboot. I seem to control the codec settings.

lorn10 commented 9 years ago

That's really a somewhat strange behavior. So far I can say, the decisive value is the codec order in the Asterisk SIP Settings of FreePBX. Well, I don't believe that these codec preferences are pulled to the phones.

We have several Yealink T32G & T38G phones. When I select in the Asterisk SIP Settings the HD voice codec g722 at first place, all (internal) phones will operate with HD quality. Also some external connections will work in HD g722. (All non HD compliant connections will fall back to g711)

When I set in the Asterisk SIP Settings g711 (a or u law) as first, and g722 as second, NO connection will be in HD quality, neither internal nor external. It doesn't matter what I have defined in the custom phone template or in the phones itself. (Also when I define there g722 manually, - the connection will be still g711.)

Finally, you only have to change the codec order in the Asterisk SIP Settings. The codec order / settings in the phones are second-tier. In conjunction with a PBX system, they don't have any impact. Only when you setup the phones as standalone devices with direct SIP provider connection, these phone internal codec settings may be important.