Net::SIP::Response - handling of SIP response packets
my $resp = Net::SIP::Response->new( '401','Authorization required',... );
Subclass of Net::SIP::Packet for handling response packets.
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.
Get numerical code of response.
Get text for code from response.
Get method for original request by parsing the CSeq header.
To install Net::SIP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SIP
CPAN shell
perl -MCPAN -e shell install Net::SIP
For more information on module installation, please visit the detailed CPAN module installation guide.