Net::SIP::NATHelper::Local(3pm)

Net::SIP::NATHelper::Local3pm

Handle nat/rtp forwarding in local event loop.

Overview

This module is a wrapper around Net::SIP::NATHelper::Base which will handle the RTP forwarding within the local event loop the rest of Net::SIP uses.

Constructor

new ( LOOP )

Will create the object and tell it to use LOOP as the event loop. Will create a Net::SIP::NATHelper::Base object which gets used internally.

Methods

allocate_sockets ( ... )

Calls allocate_sockets of the local Net::SIP::NATHelper::Base object. Takes and returns the same arguments.

activate_session ( ... )

Calls activate_session of the local Net::SIP::NATHelper::Base object. Takes the same arguments and returns 1 if the session was newly activated, -1 if it was activated before and false if activation failed. Updates callbacks into the event loop.

close_session ( ... )

Calls activate_session of the local Net::SIP::NATHelper::Base object. Takes the same arguments and returns the number of closed sessions. Updates callbacks into the event loop.

expire ( ... )

Calls expire of the local Net::SIP::NATHelper::Base object. Takes the same arguments and returns the number of expired sessions. Updates callbacks into the event loop if necessary.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13

From libnet-sip-perl 0.838-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.