Added internal functions to count and list global variables.
Reorganized and cleaned up the code a bit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5745 acf43c95-373e-0410-b603-e72c3f656dc1
Improved some debug messages.
Check String pointers before using them while encoding a BCD number or Bearer Capability.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5737 acf43c95-373e-0410-b603-e72c3f656dc1
Use those functions for decoding and encoding integer and enumerated types.
Added encoder and decoder for types that represent a list of flags.
Added type definitions for Stream Identifier, Additional Update Parameters and Device Properties.
Added definition for octet string type and use it for types that are decoded into an octet string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5735 acf43c95-373e-0410-b603-e72c3f656dc1
Fixed encoding of TV types on 1 byte.
When decoding V types to an XML element, only pass the payload for that type towards the decoder, not the whole input buffer.
Modified some type definitions to use enumerated type decoder and encoder.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5733 acf43c95-373e-0410-b603-e72c3f656dc1
Fixed decoded of maximum speech bearers from Call Control Capabilities.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5731 acf43c95-373e-0410-b603-e72c3f656dc1
Added type definition for Network CC Capabilities, Signal, Cause of no CLI, Allert Pattern.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5725 acf43c95-373e-0410-b603-e72c3f656dc1
Added coders and decoders for IE types Facility, RepeatIndicator, SSVersion.
Added message definition for CC Facility message.
Added Suplementary Services protocol message table and message definitions for SS Facility, SS Register and SS Release Complete.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5724 acf43c95-373e-0410-b603-e72c3f656dc1
Assume default values for coding and location if not provided when encoding Cause si ProgressIndicator.
Improved encoding debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5722 acf43c95-373e-0410-b603-e72c3f656dc1
Added encoder and decoder for IA5 characters.
Replaced code to dump non-decoded data with function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5719 acf43c95-373e-0410-b603-e72c3f656dc1
If message type is unknown, dump integer value of the message type along with its data.
Added several message type values to the Call Control message table.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5718 acf43c95-373e-0410-b603-e72c3f656dc1
Fixed solving of message definition table depending upon message direction.
Added generic function for building a bit string from a list of flags.
Added decoder and encoder for Call Control Capabilities type.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5717 acf43c95-373e-0410-b603-e72c3f656dc1
Added message definitions for CC MS to Network Alerting, Connect, Connect Ack, Disconnect, Release, Release Complete, Status and Status Enquiry.
While encoding do not add the type and/or length for an optional IE when it's missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5707 acf43c95-373e-0410-b603-e72c3f656dc1
Changed the way BCD number and ProgressIndicator are decoded.
Changed MCC_MNC tag to PLMNidentity.
Do not return error if input buffer is empty and IE is optional.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5706 acf43c95-373e-0410-b603-e72c3f656dc1
Fixed encoding for message octet.
Added decoder for CC transaction identifier, BCD numbers, progress indicator.
Handle messages that have different defintions depending upon message direction.
Added message definitions and started adding coders for CC MO Setup, Call Proceeding and Alerting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5705 acf43c95-373e-0410-b603-e72c3f656dc1