N2::ISUP::Codec
Introduction
The following ISUP codec methods are available from the N2::ISUP
module.
The method N2::ISUP::Codec::decode
will automatically detect the message type, and will return one
of the following structures, and including the message_type
attribute in order to indicate the
decoded message type.
- Answer (ANM)
- Address Complete Message (ACM)
- Call Progress (CPG)
- Connect (CON)
- Initial Address Message (IAM)
- Release (REL)
- Release Complete (RLC)
The following message encode methods are available.
N2::ISUP::Answer::encode
Answer (ANM)N2::ISUP::AddressCompleteMessage::encode
Address Complete Message (ACM)N2::ISUP::CallProgress::encode
will encode Call Progress (CPG)N2::ISUP::Connect::encode
will encode Connect (CON)N2::ISUP::InitialAddressMessage::encode
Initial Address Message (IAM)N2::ISUP::Release::encode
Release (REL)N2::ISUP::ReleaseComplete::encode
Release Complete (RLC)
All methods will return undef
on success, and a non-empty error description string on failure.