<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Aqs,<br>
      <br>
      You can have such combination, but in that case you need to be
      sure that the port (which is different) is part of the domain
      aliasing in OpenSIPS. For example if opensips is listening on
      ip:5060 and media server on ip:5070, when defining an domain alias
      do "ip:5060", not only "ip".<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
    <div class="moz-cite-prefix">On 09/25/2018 12:06 PM, Aqs Younas
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGVOjVXsbtc3574G0gqqu8uMUyFmo3Y4X+zoSUXxvU6S=w9QBw@mail.gmail.com">
      <div>
        <div>
          <div dir="auto">So, does that mean you cannot have media
            server on different port on the same server?</div>
        </div>
      </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">If opensips and media server(freeswitch) are
        sharing same ip but different ports? </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">This should work might be i am doing something
        fishy in my complex script. </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Br, Aqs</div>
      <div>
        <div><br>
          <div class="gmail_quote">
            <div dir="ltr">On Tue, 25 Sep 2018 at 1:08 AM, Bogdan-Andrei
              Iancu <<a href="mailto:bogdan@opensips.org"
                target="_blank" moz-do-not-send="true">bogdan@opensips.org</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Aqs,<br>
                  <br>
                  the 'loose_routing' mechanism was not changed it terms
                  of behavior - if a local IP/domain is found in RURI,
                  it considers that the previous hop was a strict
                  router. So, either 45.77.69.46 it should not be listed
                  as local IP, either the routing is broken making
                  45.77.69.46 IP to get into RURI.<br>
                  <br>
                  Regards,<br>
                </tt>
                <pre class="m_-5610263187423137815m_-8256644162784888998moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
  <a class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/" target="_blank" moz-do-not-send="true">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
              </div>
              <div bgcolor="#FFFFFF" text="#000000">
                <div
                  class="m_-5610263187423137815m_-8256644162784888998moz-cite-prefix">On
                  09/23/2018 07:25 PM, Aqs Younas wrote:<br>
                </div>
              </div>
              <div bgcolor="#FFFFFF" text="#000000">
                <blockquote type="cite">
                  <div dir="ltr">ok, digging more i see this used to
                    happen when RURI contains the address added into
                    opensips as domain. I remember this used to work
                    fine before.
                    <div>As i am routing dispatching request to multiple
                      media servers based upon domain. </div>
                    <div><br>
                    </div>
                    <div>Any pointer on this?</div>
                    <div><br>
                    </div>
                    <div>Br, Aqs. </div>
                  </div>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr">On Sun, 23 Sep 2018 at 00:08, Aqs
                      Younas <<a href="mailto:aqsyounas@gmail.com"
                        target="_blank" moz-do-not-send="true">aqsyounas@gmail.com</a>>
                      wrote:<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">
                        <div dir="ltr">Greetings list, 
                          <div><br>
                          </div>
                          <div>I am using opensips to bridge between two
                            different networks. But I see my in-dialog
                            requests being messed up inside the
                            opensips. Looks like opensips is performing
                            strict routing at loose_route() function
                            resulting in-dialog requests to never reach
                            destination.</div>
                          <div><br>
                          </div>
                          <div>Bye Coming to opensips. </div>
                          <div><br>
                          </div>
                          <div>
                            <div>2018/09/22 18:34:48.230224 <a
                                href="http://39.38.137.105:5060"
                                target="_blank" moz-do-not-send="true">39.38.137.105:5060</a>
                              -> <a href="http://167.99.37.41:5080"
                                target="_blank" moz-do-not-send="true">167.99.37.41:5080</a></div>
                            <div>BYE <a
class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-freetext"
                                moz-do-not-send="true">sip:1005@45.77.69.46:5060;transport=udp</a>
                              SIP/2.0</div>
                            <div>CSeq: 3 BYE</div>
                            <div>From: "1010" <<a
                                href="mailto:sip%3A1010@45.77.69.46"
                                target="_blank" moz-do-not-send="true">sip:1010@45.77.69.46</a>>;tag=54afd375</div>
                            <div>To: <<a
                                href="mailto:sip%3A1005@45.77.69.46"
                                target="_blank" moz-do-not-send="true">sip:1005@45.77.69.46</a>>;tag=B6DU3jrK9mjBc</div>
                            <div>Call-ID:
                              0c42f165809a65019216a92969e38cb6@0:0:0:0:0:0:0:0</div>
                            <div>Max-Forwards: 70</div>
                            <div>Route:
                              <a
class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-rfc2396E"
                                moz-do-not-send="true"><sip:167.99.37.41:5080;r2=on;lr;ftag=54afd375;nat=yes></a>,<a
class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-rfc2396E"
                                moz-do-not-send="true"><sip:167.99.37.41:6060;r2=on;lr;ftag=54afd375;nat=yes></a></div>
                            <div>Via: SIP/2.0/UDP
                              192.168.10.3:5060;branch=z9hG4bK-323230-ef1af21aa6eeac828830f4063d89d607</div>
                            <div>Contact: "1010"
                              <a
class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-rfc2396E"
                                moz-do-not-send="true"><sip:1010@192.168.10.3:5060;transport=udp;registering_acc=45_77_69_46></a></div>
                            <div>Proxy-Authorization: Digest
username="1010",realm="45.77.69.46",nonce="2874ff58-bf0e-4ede-aecf-74ddd539ac62",uri="<a
                                href="mailto:sip%3A1005@45.77.69.46"
                                target="_blank" moz-do-not-send="true">sip:1005@45.77.69.46</a>",response="a931d609c29b569494ffa7e11c7c6c9b",algorithm</div>
                            <div>D5,qop=auth,cnonce="xyz",nc=00000001</div>
                            <div>User-Agent: Jitsi2.10.5550Windows 10</div>
                            <div>Content-Length: 0</div>
                            <div><br>
                            </div>
                            <div>Bye leaving opensips. </div>
                            <div><br>
                            </div>
                            <div>2018/09/22 18:34:48.234429 <a
                                href="http://167.99.37.41:5080"
                                target="_blank" moz-do-not-send="true">167.99.37.41:5080</a>
                              -> <a href="http://167.99.37.41:6060"
                                target="_blank" moz-do-not-send="true">167.99.37.41:6060</a></div>
                            <div><b>BYE <a
class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-freetext"
                                  moz-do-not-send="true">sip:167.99.37.41:6060;r2=on;lr;ftag=54afd375;nat=yes</a>
                                SIP/2.0</b></div>
                            <div>CSeq: 3 BYE</div>
                            <div>From: "1010" <<a
                                href="mailto:sip%3A1010@45.77.69.46"
                                target="_blank" moz-do-not-send="true">sip:1010@45.77.69.46</a>>;tag=54afd375</div>
                            <div>To: <<a
                                href="mailto:sip%3A1005@45.77.69.46"
                                target="_blank" moz-do-not-send="true">sip:1005@45.77.69.46</a>>;tag=B6DU3jrK9mjBc</div>
                            <div>Call-ID:
                              0c42f165809a65019216a92969e38cb6@0:0:0:0:0:0:0:0</div>
                            <div>Max-Forwards: 69</div>
                            <div>Via: SIP/2.0/UDP
                              167.99.37.41:5080;branch=z9hG4bK0993.18510595.0</div>
                            <div>Via: SIP/2.0/UDP
192.168.10.3:5060;rport=5060;received=39.38.137.105;branch=z9hG4bK-323230-ef1af21aa6eeac828830f4063d89d607</div>
                            <div>Contact: "1010"
                              <a
class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-rfc2396E"
                                moz-do-not-send="true"><sip:1010@192.168.10.3:5060;transport=udp;registering_acc=45_77_69_46></a></div>
                            <div>Proxy-Authorization: Digest
username="1010",realm="45.77.69.46",nonce="2874ff58-bf0e-4ede-aecf-74ddd539ac62",uri="<a
                                href="mailto:sip%3A1005@45.77.69.46"
                                target="_blank" moz-do-not-send="true">sip:1005@45.77.69.46</a>",response="a931d609c29b569494ffa7e11c7c6c9b",algorithm</div>
                            <div>D5,qop=auth,cnonce="xyz",nc=00000001</div>
                            <div>User-Agent: Jitsi2.10.5550Windows 10</div>
                            <div>Content-Length: 0</div>
                          </div>
                          <div><br>
                          </div>
                          <div>Could someone give me some pointers on
                            this?</div>
                          <div><br>
                          </div>
                          <div>Any help is much appreciated. </div>
                          <div><br>
                          </div>
                          <div>Br, Aqs.</div>
                          <div><br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                  <fieldset
                    class="m_-5610263187423137815m_-8256644162784888998mimeAttachmentHeader"></fieldset>
                  <br>
                </blockquote>
              </div>
              <div bgcolor="#FFFFFF" text="#000000">
                <blockquote type="cite">
                  <pre>_______________________________________________
Users mailing list
<a class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="m_-5610263187423137815m_-8256644162784888998moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>