ABNF Parser Generator
Media Gateway Controllers control one or more Media Gateways, making them an important link in the chain of Internet communication applications. Parsing the protocol messages is, of course, one of the first, low-level tasks that any Media Gateway Controller must perform. This protocol, called MEGAGO by the IETF and H.248 by the ITU, is given in ABNF form in RFC 3525. Before using this grammar, you should read the notes in Appendix B.2 of RFC 3525. In addition to RFC 3535 you should also be familiar with RFC 5125 and ITU H.248.1 (09/2005).
This is example message 22 from RFC 3525, Appendix I.