<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Problem I have is this. outside firewall
(extension 2003) can call me inside firewall (extension 2000) and all is
fine. If I call from inside firewall (extension 2000) to outside firewall
(extension 2003) I hear no ringing and person at other end can pick up and I
hear for maybe a half second then I go to voicemail. If I add another
extension on the outside then communication between outside and outside through
* is not possible at all. I know I can not be the only one who has tried
to do this. Please any help would be greatly appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My configuration.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Asterisk Server</FONT></DIV>
<DIV><FONT face=Arial size=2>----------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Linux RedHat 9.0</FONT></DIV>
<DIV><FONT face=Arial size=2>Asterisk CVS Update - 11/02/03 around 10:00AM
PT</FONT></DIV>
<DIV><FONT face=Arial size=2>Zaptel CVS Update - 11/02/03 around 10:00AM
PT</FONT></DIV>
<DIV><FONT face=Arial size=2>LinkSys Router with Asterisk server set as DMZ
host.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Desktop Computer #1</FONT></DIV>
<DIV><FONT face=Arial size=2>-------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Windows XP</FONT></DIV>
<DIV><FONT face=Arial size=2>Xten X-Pro build 1082</FONT></DIV>
<DIV><FONT face=Arial size=2>Behind same LinkSys router.</FONT></DIV>
<DIV><FONT face=Arial size=2>extension 2000 in asterisk</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Desktop Computer #2</FONT></DIV>
<DIV><FONT face=Arial size=2>-------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Windows XP</FONT></DIV>
<DIV><FONT face=Arial size=2>Xten X-Pro build 1082</FONT></DIV>
<DIV><FONT face=Arial size=2>Not behind any firewall.</FONT></DIV>
<DIV><FONT face=Arial size=2>extension 2003 in asterisk</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>sip.conf </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>; General definitions for the sip.conf
file.<BR>[general]<BR>port = 5060<BR>bindaddr = 0.0.0.0<BR>allow =
gsm<BR>context = bogon-calls ; Default any unknown
calls<BR>;<BR>[2000]<BR>type=friend<BR>username=2000<BR>secret=grinch<BR>host=dynamic<BR>defaultip=192.168.1.210<BR>context=trusted<BR>nat=yes<BR>qualify=1000<BR>mailbox=2000</FONT></DIV>
<DIV><FONT face=Arial size=2>;</FONT></DIV>
<DIV><FONT face=Arial
size=2>[2003]<BR>type=friend<BR>username=2003<BR>secret=grinch<BR>host=dynamic<BR>context=normal<BR>nat=yes<BR>canreinvite=no<BR>mailbox=2003</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>extensions.conf</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>[globals]
<BR>; Variables to VoIP extensions by
name<BR>ROBERT=SIP/2000
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>[general]<BR>static=yes ; These two
lines prevent the command-line interface<BR>writeprotect=yes ; from overwriting
the config file. Leave them here.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[bogon-calls]<BR>; Bogus calls if they find there
way in to the system without authorization some how.<BR>exten =>
_.,1,Congestion ; if someone accidentally finds there way here give them a fast
busy.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[stations]<BR>exten => 2000,1,Dial(SIP/2000,20)
<BR>exten => 2000,2,Voicemail(u2000)</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => 2000,102,Voicemail(b2000)<BR>exten
=>
2000,103,Hangup </FONT></DIV>
<DIV><FONT face=Arial size=2>;<BR>exten => 2003,1,Dial(SIP/2003,20) <BR>exten
=> 2003,2,Voicemail(u2003) <BR>exten => 2003,102,Voicemail(b2003)<BR>exten
=>
2003,103,Hangup
<BR>;<BR>exten => 2997,1,VoicemailMain(2997) <BR>exten =>
2998,1,VoicemailMain(2998) <BR>exten => 2999,1,VoicemailMain(${CALLERIDNUM})
<BR>;<BR>; Direct Dial. For those trusted to use the phone
properly.<BR>[directdial]<BR>exten => 9,1,Dial(Zap/g1/${EXTEN:1})<BR>exten
=> 9,2,Congestion<BR>include => international<BR>;<BR>; International
calling code and prefix used for users trusted to make international
calls.<BR>[international]<BR>exten =>
_9011.,1,Dial(Zap/g1/${EXTEN:1})<BR>exten => _9011.,2,Congestion<BR>include
=> longdistance<BR>;<BR>; Long distance calling code and prefix used for
users trusted to make long distance calls.<BR>[longdistance]<BR>exten =>
_91NXXNXXXXXX,1,Dial(Zap/g1/${EXTEN:1})<BR>exten =>
_91NXXNXXXXXX,2,Congestion<BR>include => local<BR>;<BR>; Local calling code
and prefix used for users trusted to make local calls.<BR>[local]<BR>exten =>
_9NXXXXXX,1,Dial(Zap/g1/${EXTEN:1})<BR>exten =>
_9NXXXXXX,2,Congestion<BR>;<BR>; Trusted users from sip.conf who are able to
fully use the phone.<BR>[trusted]<BR>include => stations<BR>include =>
directdial<BR>;<BR>; Normal users from sip.conf who are able to make local calls
only.<BR>[normal]<BR>include => stations<BR>include => local<BR>;<BR>;
Public area for people who are only allowed to make calls to other
extensions<BR>[public]<BR>include => stations<BR>;<BR>; When someone calls
the work line of XXX-XXX-XXXX they are directed through
this.<BR>[inbound-work]<BR>exten =>
s,1,Zapateller(answer|nocallerid)<BR>exten => s,2,Dial(${ROBERT},20)<BR>exten
=> s,3,Voicemail(u2997)<BR>exten => s,4,Hangup<BR>exten =>
s,103,Voicemail(b2997)<BR>exten => s,104,Hangup<BR>;<BR>; When someone calls
the home line of XXX-XXX-XXXX they are directed through
this.<BR>[inbound-home]
<BR>exten =>
s,1,Dial(${ROBERT},20)
<BR>exten => s,2,Voicemail(u2998)<BR>exten => s,3,Hangup<BR>exten =>
s,102,Voicemail(b2998)<BR>exten => s,103,Hangup</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Robert</FONT></DIV></BODY></HTML>