debian man page for net::sip::blocker

Query: net::sip::blocker

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
Net::SIP::Blocker - blocks SIP requests based on method name
SYNOPSIS
my $block = Net::SIP::Blocker->new( block => { 'SUBSCRIBE' => 405, '...' => ... }, dispatcher => $disp, ); my $chain = Net::SIP::ReceiveChain->new( [ $block, ... ] );
DESCRIPTION
Blocks incoming requests by method name and sends back custom error message.
CONSTRUCTOR
new ( BLOCK,DISPATCHER ) Returns a new blocking object to be used in the chain. BLOCK is a hash reference where the keys are the methods to be blocked and their values are the reason why the method was blocked. The reason is the three digit code, optionally followed by a text. DISPATCHER is a Net::SIP::Dispatcher object.
METHODS
receive ( PACKET,LEG,FROM ) PACKET is the incoming packet, LEG is the Net::SIP::Leg where the packet arrived and FROM is the "ip:port" of the sender. perl v5.14.2 2010-07-26 Net::SIP::Blocker(3pm)
Related Man Pages
net::sip::dispatcher(3pm) - debian
net::sip::dropper(3pm) - debian
net::sip::receivechain(3pm) - debian
net::sip::registrar(3pm) - debian
net::sip::request(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
How can I do this in VI editor?
Find columns in a file based on header and print to new file
Weird 'find' results