<!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">
    &nbsp;&nbsp;&nbsp; Disabling iptables didn't change anything, but thanks to STUN
    it's working well now.<br>
    <br>
    -- <br>
    Michal<br>
    <br>
    On 01/28/2011 02:38 AM, Michael Collins wrote:
    <blockquote
      cite="mid:AANLkTi=d+7Yxd6CKD-NyuW6ionAAxbgmBy2StMJO=1K7@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      For a test, stop iptables and make a call. If audio still isn't
      flowing then you know something other than iptables is
      interfering. I would get a capture of the SIP traffic and see what
      it looks like. Make sure that there aren't any SIP ALGs in the
      path that might be re-writing port numbers.&nbsp;
      <div>
        <br>
      </div>
      <div>-MC<br>
        <br>
        <div class="gmail_quote">On Thu, Jan 27, 2011 at 6:25 AM, Michal
          Kopacki <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:mkopacki@gmail.com">mkopacki@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div bgcolor="#ffffff" text="#000000"> &nbsp;&nbsp;&nbsp; Everything is set
              as you wrote and I'm able to login (using domain name).
              Now I'm facing a media problem during outside call. I'm
              logged to FS from ip phone (outside lan) and trying to
              dial 5000 (default ivr). Call is connected but i'm not
              able to hear anything.<br>
              <br>
              &nbsp;&nbsp; There is iptable based firewall with opened udp ports
              16384:32768, but it seems nothing even hit those ports:<br>
              <br>
              Chain INPUT (policy DROP 0 packets, 0 bytes)<br>
              &nbsp;pkts bytes target&nbsp;&nbsp;&nbsp;&nbsp; prot opt in&nbsp;&nbsp;&nbsp;&nbsp; out&nbsp;&nbsp;&nbsp;&nbsp;
              source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; destination<br>
              &nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0 ACCEPT&nbsp;&nbsp;&nbsp;&nbsp; udp&nbsp; --&nbsp; eth0&nbsp;&nbsp; any&nbsp;&nbsp;&nbsp;&nbsp;
              anywhere&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; anywhere&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; udp
              dpts:connected:filenet-tms state NEW<br>
              <br>
              &nbsp; Any thoughts ?<br>
              -- <br>
              Best regards,<br>
              <font color="#888888"> Michal</font>
              <div>
                <div class="h5"><br>
                  <br>
                  On 01/27/2011 01:39 AM, Michael Collins wrote:
                  <blockquote type="cite"> yes, you should be able to
                    handle this scenario. You probably just need to set
                    your external profile to use port 5060 instead of
                    5080. Most people only have a single NIC so their
                    sofia profiles need to be on different ports. (A
                    sofia profile is a SIP user agent (UA) that can
                    listen/respond to SIP messages on an IP address and
                    port.)
                    <div> <br>
                    </div>
                    <div>Look in external.xml for these lines:</div>
                    <div>
                      <div>&nbsp;&nbsp; &nbsp;&lt;param name="rtp-ip"
                        value="$${local_ip_v4}"/&gt;</div>
                      <div>&nbsp;&nbsp; &nbsp;&lt;param name="sip-ip"
                        value="$${local_ip_v4}"/&gt;</div>
                      <div><br>
                      </div>
                      <div>If you have a static IP address (which it
                        appears you do) then put that ip addr in there
                        in place of the variable. Then look at the end
                        of vars.xml and you'll see where the external
                        profile's port is set to 5080/5081. Change it to
                        5060/5061 and then restart FS.</div>
                      <div><br>
                      </div>
                      <div>Let us know how it goes.</div>
                      <div><br>
                      </div>
                      <div>-MC</div>
                      <br>
                      <div class="gmail_quote">On Tue, Jan 25, 2011 at
                        11:56 PM, Michal Kopacki <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:mkopacki@gmail.com"
                            target="_blank">mkopacki@gmail.com</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:
                          0pt 0pt 0pt 0.8ex; border-left: 1px solid
                          rgb(204, 204, 204); padding-left: 1ex;"> &nbsp; &nbsp; &nbsp;
                          Hello,<br>
                          <br>
                          &nbsp; This is my first post to this list, so hello
                          everyone.<br>
                          <br>
                          &nbsp; I'm at the very beginning of freeswitch
                          journey and i have a problem<br>
                          with fit FS to my network scenario.<br>
                          <br>
                          OS: fedora 13 (x86_64)<br>
                          FS: 1.0.7 (compiled from sources), default
                          config<br>
                          <br>
                          Desired scenario:<br>
                          <br>
                          softphone -&gt; <a moz-do-not-send="true"
                            href="http://mydomain.com" target="_blank">mydomain.com</a>
                          (with ip 193.59.72.xx) -&gt; my isp network
                          -&gt;<br>
                          10.25.48.xx on eth1 -&gt; FS -&gt; 192.168.0.1
                          on eth0 -&gt; softphone<br>
                          <br>
                          And now, I'm able to connect to FS from my
                          local network, but I'm not<br>
                          able to connect from outside (neither domain
                          nor ip). In internal.xml I<br>
                          set internal ip of server and i wanted to set
                          external ip in<br>
                          external.xml, but there is a question: which
                          one ? &nbsp;In case of<br>
                          193.59.72.xx external profile didnt' start and
                          with 10.25.48.xx outside<br>
                          softphone didn't register. &nbsp;I checked with
                          netstat and realized that<br>
                          port 5060 is bind to internal nic only and
                          5080 to external nic<br>
                          (10.25.48.xx) and I have no idea what next.<br>
                          <br>
                          Is it even possible to work with such network
                          scenario ? I would be<br>
                          grateful for pointing me to right direction or
                          maybe propose different<br>
                          approach.<br>
                          <br>
                          --<br>
                          Best regards,<br>
                          Michal<br>
                          <br>
                          <br>
_______________________________________________<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>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <pre><fieldset></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<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>
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>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <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="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>