[asterisk-dev] Dynamic Payloads
James Cloos
cloos at jhcloos.com
Thu Mar 16 16:25:52 CDT 2017
>>>>> "KH" == Kevin Harwell <kharwell at digium.com> writes:
KH> There is one question that merits some discussion though with regards to
KH> the new way of handling the dynamic payloads. Even with a configuration
KH> option available what do people think about having the dynamic payload
KH> types default to the old number originally specified in Asterisk?
Given Alexander's note, clearly something along those lines must be
done.
But instead of hardcoding the current mapping in the dynamic option's c
code, I'd put it in a config file.
Ie, the config file would specify static mappings for otherwise dynamic
codecs. It should provide commented out examples which match the static
numbers used by pre-dynamic versions of asterisk to show how to set
them.
This would allow one to only force static mappings when one has a peer
which requires them.
-JimC
--
James Cloos <cloos at jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
More information about the asterisk-dev
mailing list