[Asterisk-doc] docs common-issues.xml,1.1,1.2
blitzrage
asterisk-doc@lists.digium.com
Fri, 7 May 2004 19:56:53 +0000
Comments:
Update of /cvsroot/asterisk/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18312/docs
Modified Files:
common-issues.xml
Log Message:
blitzrage
- update documentation because Asterisk DOES support SIP behind NAT
Index: common-issues.xml
===================================================================
RCS file: /cvsroot/asterisk/docs/common-issues.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** common-issues.xml 11 Jan 2004 08:04:36 -0000 1.1
--- common-issues.xml 7 May 2004 19:56:46 -0000 1.2
***************
*** 169,179 ****
<title>SIP and NAT</title>
<para>
- At this time, Asterisk will NOT work "out of the box" behind NAT.
- However you can patch chan_sip which will allow SIP to work behind
- NAT much like Cisco does. For the full history of the patch, you
- can view it at
- <ulink url="http://bugs.digium.com/bug_view_page.php?bug_id=0000104">http://bugs.digium.com/bug_view_page.php?bug_id=0000104</ulink>
- </para>
- <para>
On your router/firewall, you will need to open port 5060 and forward
it to your Asterisk box to allow SIP messages through. You will then
--- 169,172 ----
***************
*** 192,237 ****
</programlisting>
</para>
- <para>
- Now that we have our ports forwarded and our sip.conf file configured, we need to patch
- Asterisk so that this will all work. First thing is to download the patch from
- <ulink url="http://bugs.digium.com/file_download.php?file_id=448&type=bug">http://bugs.digium.com/file_download.php?file_id=448\&type=bug</ulink> .
- Either update your Asterisk from CVS or verify that you have at least version 1.249 of
- chan_sip.c:
- </para>
- <para>
- <literallayout>
- <command>cd /usr/src/asterisk/channels/</command>
- <command>cvs status chan_sip.c</command>
- </literallayout>
- </para>
- <para>
- <programlisting>
- ===================================================================
- File: chan_sip.c Status: Locally Modified
-
- Working revision: 1.258
- Repository revision: 1.258
- /usr/cvsroot/asterisk/channels/chan_sip.c,v
- </programlisting>
- </para>
- <para>
- <literallayout>
- While in the present working directory /usr/src/asterisk/channels/
- <command>patch -p0 < /path/to/patch/chan_sip.c.1.259.diff</command>
- </literallayout>
- </para>
- <para>
- Nothing should fail.
- </para>
- <para>
- <literallayout>
- <command>cd /usr/src/asterisk/</command>
- <command>make</command>
- <command>cp /usr/src/asterisk/channels/chan_sip.so /usr/lib/asterisk/modules/</command>
- </literallayout>
- </para>
- <para>
- Restart your Asterisk and try it.
- </para>
</sect1>
<sect1>
--- 185,188 ----