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::encodeAnswer (ANM)N2::ISUP::AddressCompleteMessage::encodeAddress Complete Message (ACM)N2::ISUP::CallProgress::encodewill encode Call Progress (CPG)N2::ISUP::Connect::encodewill encode Connect (CON)N2::ISUP::InitialAddressMessage::encodeInitial Address Message (IAM)N2::ISUP::Release::encodeRelease (REL)N2::ISUP::ReleaseComplete::encodeRelease Complete (RLC)
All methods will return undef on success, and a non-empty error description string on failure.