Steffen Ullrich > Net-SIP-0.687 > Net::SIP::Response

Download:
Net-SIP-0.687.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
Stalled  1
View/Report Bugs
Source  

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 ^

code

Get numerical code of response.

msg

Get text for code from response.

method

Get method for orginal request by parsing the CSeq header.

syntax highlighting: