<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Try setting in sip.conf:<br>
<br>
nat=route<br>
<br>
This tells asterisk to send all responses back to where the inquiry
came from rather then from the info contained in the sip packet. <br>
<br>
Good luck,<br>
Mark Coccimiglio<br>
IS Director<br>
Payroll Services Hawaii, Inc.<br>
<a class="moz-txt-link-freetext" href="http://www.psh-inc.com">http://www.psh-inc.com</a><br>
<br>
Elpidio Ramos wrote:
<blockquote
cite="mid20060904164917.65235.qmail@web612.biz.mail.mud.yahoo.com"
type="cite">
<div>This seems to be an easy-to-solve problem but it may be again my
lask of knowledge in linux:</div>
<div> </div>
<div>My linux fedora core 3 asterisk box has a public IP and a
private IP (two NIC)</div>
<div> </div>
<div>I got the ports open in fedora core 3 (5060 and 10000 thru
30000) for both interfaces.</div>
<div> </div>
<div>I was able con connect my sip soft phone from a NAT connection
inside my network pointing to the public IP. </div>
<div> </div>
<div>When attempting to do the same from outside my network (from my
dsl connection from home), I get to hear the asterisk auto attendant
but not able to send any sound from my laptop.</div>
<div> </div>
<div>This is my sip.conf file:</div>
<div> </div>
<div>[general]<br>
context=ramosoft </div>
<div>allowguest=no</div>
<div>realm=ramosoft.com </div>
<div>bindaddr=0.0.0.0 <br>
bindport=5060 <br>
srvlookup=yes <br>
pedantic=yes <br>
tos=184 <br>
tos=lowdelay <br>
maxexpirey=3600 <br>
defaultexpirey=120 <br>
disallow=all <br>
allow=ulaw <br>
allow=ilbc <br>
allow=gsm <br>
musicclass=default <br>
language=es <br>
relaxdtmf=yes <br>
rtptimeout=60 <br>
rtpholdtimeout=300 <br>
useragent=RamoSoftPBX <br>
regcontext=ramosoft<br>
localnet=10.10.10.0/255.255.255.0 <br>
rtcachefriends=yes </div>
<div> </div>
<div>[authentication]</div>
<div> </div>
<div>[311]<br>
type=friend<br>
regexten=311<br>
username=311<br>
secret=311<br>
callerid="Elpidio Ramos" <311><br>
host=dynamic<br>
nat=yes<br>
canreinvite=no<br>
</div>
<div>Is there anything I am missing here to get two way voice?</div>
<div> </div>
<div>Thank you in advance all</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
</body>
</html>