[asterisk-dev] [Code Review] Audit and reformat IAX2 definitions to match the IANA-registered values.

Kevin Fleming kpfleming at digium.com
Fri May 21 09:04:28 CDT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/672/
-----------------------------------------------------------

(Updated 2010-05-21 09:04:28.216430)


Review request for Asterisk Developers.


Changes
-------

More reformatting to match IANA registry format, and removal of META_VIDEO, which isn't a valid value at all.


Summary
-------

While preparing to document some new possible IAX2 support, I cross-checked the IAX2 control subclass and information element definitions in iax2.h against the registered values in the IANA registries. This comparison was harder than it needed to be because the values in iax2.h were in decimal and not hexadecimal, so the attached patch changes that.

However, while doing this comparison, I found a mismatch that we'll need to discuss how to address. We are using 0x34 as IAX_IE_VARIABLE but in the IANA registry this value is for IAX_IE_OSPTOKEN (which we have 0x35 for). Changing this will break backwards compatibility, but as it stands, we are not compatible with the IANA-registered definitions, so something has to change or implementations written to the specifications won't interoperate with Asterisk properly.


Diffs (updated)
-----

  /trunk/channels/iax2.h 264951 

Diff: https://reviewboard.asterisk.org/r/672/diff


Testing
-------

Compile testing; there are no functional changes here yet.


Thanks,

Kevin




More information about the asterisk-dev mailing list