The following functions should be exported from a
Encode a megaco message.
Decode a megaco message.
Note that if the Version argument is
If on the other hand the Version argument is an integer,
it means that this is the expected version of the message and
the decoder for that version should be used.
Perform a minimal decode of a megaco message.
The purpose of this function is to do a minimal decode of
Megaco message. A successfull result is a
Note again that a successfull decode only returns a partially initiated message.
Encode a megaco transaction. If this, for whatever reason,
is not supported, the function should return the error reason
This functionality is used both when the transaction sender is used and for segmentation. So, for either of those to work, this function must be fully supported!
Encode megaco action requests. This function is called when
the user calls the function
Encode a megaco action reply. If this, for whatever reason,
is not supported, the function should return the error reason
This function is used when segmentation has been configured. So, for this to work, this function must be fully supported!