<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Its the firewall... some fw's will give you port 5060 if there's
nothing else in the network using 5060, but others will randomize it
always.<br>
<br>
-Ray<br>
<br>
Jonas Gauffin wrote:
<blockquote
 cite="mid:d021d3be0902040720i173b0466q24326b1a17e74d16@mail.gmail.com"
 type="cite">I'm behind NAT.&nbsp;
  <div>Is it FS that picks the random port, or the FW?<br>
  <br>
  </div>
  <div>I've mapped port 5060 to the freeswitch ip in my FW.</div>
  <div><br>
  <div class="gmail_quote">On Wed, Feb 4, 2009 at 3:14 PM, Anthony
Minessale <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">if
you are not behind any nat then as long as you run your profile on
5060, the source port on every packet will be 5060.<br>
If you *are* behind nat the nat mapping will pick a random port unless
you have a firewall that allows you to set specific mappings.<br>
    <br>
    <br>
    <div class="gmail_quote">
    <div>
    <div class="Wj3C7c">On Wed, Feb 4, 2009 at 6:26 AM, Jonas Gauffin <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:jonas.gauffin@gmail.com" target="_blank">jonas.gauffin@gmail.com</a>&gt;</span>
wrote:<br>
    </div>
    </div>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div>
      <div class="Wj3C7c">Hello
      <div><br>
      </div>
      <div>I'm trying to make outbound calls through my gateway
provider.</div>
      <div>My calls got rejected and I asked them why.</div>
      <div><br>
      </div>
      <div>Apparently I need to use 5060 as source port, since they
validate both my IP and the port that the messages come from.&nbsp;</div>
      <div>Is this possible with freeswitch? If so, what config
settings should I set?</div>
      <div><br>
      </div>
      <div>Regards,</div>
      <div>&nbsp;&nbsp;Jonas</div>
      <br>
      </div>
      </div>
_______________________________________________<br>
Freeswitch-users mailing list<br>
      <a moz-do-not-send="true"
 href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
      <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
      <a moz-do-not-send="true" href="http://www.freeswitch.org"
 target="_blank">http://www.freeswitch.org</a><br>
      <br>
    </blockquote>
    </div>
    <br>
    <br clear="all">
    <br>
-- <br>
Anthony Minessale II<br>
    <br>
FreeSWITCH <a moz-do-not-send="true" href="http://www.freeswitch.org/"
 target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a moz-do-not-send="true" href="http://www.cluecon.com/"
 target="_blank">http://www.cluecon.com/</a><br>
    <br>
AIM: anthm<br>
    <a moz-do-not-send="true"
 href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a moz-do-not-send="true"
 href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a moz-do-not-send="true" href="http://irc.freenode.net"
 target="_blank">irc.freenode.net</a> #freeswitch<br>
    <br>
FreeSWITCH Developer Conference<br>
    <a moz-do-not-send="true"
 href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
    <a moz-do-not-send="true"
 href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
    <a moz-do-not-send="true"
 href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org"
 target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>
    <br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
    <a moz-do-not-send="true" href="http://www.freeswitch.org"
 target="_blank">http://www.freeswitch.org</a><br>
    <br>
  </blockquote>
  </div>
  <br>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
</body>
</html>