Net::SIP::Redirect(3pm) | User Contributed Perl Documentation | Net::SIP::Redirect(3pm) |
Net::SIP::Redirect - Send redirect to Requests based on lookup at a registrar
my $reg = Net::SIP::Registrar->new(...); my $redir = Net::SIP::Redirect( dispatcher => $dispatcher, registrar => $reg, );
This package implements a simple redirection of Requests using the information provided by a registrar.
Called from the managing Net::SIP::Dispatcher object if a new packet arrives. Will return "()" and ignore the packet if it's an REGISTER request.
For Requests it will query the registrar and return either "302 Moved Temporarily" with the list of contacts or "404 Not Found" if the address is not registered.
2023-02-04 | perl v5.36.0 |