Scroll to navigation

Net::SIP::Response(3pm) User Contributed Perl Documentation Net::SIP::Response(3pm)

NAME

Net::SIP::Response - handling of SIP response packets

SYNOPSIS

  my $resp = Net::SIP::Response->new( '401','Authorization required',... );

DESCRIPTION

Subclass of Net::SIP::Packet for handling response packets.

CONSTRUCTOR

Inherited from Net::SIP::Packet. See there.

Seldom used directly, usually responses get not generated from scratch, but based on a request with the create_response method from Net::SIP::Request.

METHODS

Get numerical code of response.
Get text for code from response.
Get method for original request by parsing the CSeq header.
2023-09-29 perl v5.36.0