[asterisk-dev] [Code Review] Lightweight NAT Support

Joshua Colp reviewboard at asterisk.org
Tue Feb 21 07:26:53 CST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1756/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

This patch implements extremely lightweight NAT support, specifically sending a CRLF at a defined interval to keep the NAT mapping open. It does not use this mechanism to determine if the remote server is available or not, that is the trade off.


Diffs
-----

  /trunk/channels/chan_sip.c 355996 
  /trunk/channels/sip/include/sip.h 355996 
  /trunk/configs/sip.conf.sample 355996 

Diff: https://reviewboard.asterisk.org/r/1756/diff


Testing
-------

Confirmed packet is sent at default interval as well as configured interval. Also wrote testsuite test which will be in another review.


Thanks,

Joshua

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120221/63e85837/attachment.htm>


More information about the asterisk-dev mailing list