<!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">
    <tt>Hi ,<br>
      <br>
      Your OpenSIPs presence server does not recognize the
      "scscf.open-ims.test:6060" advertised in the Route hdrs as
      belonging to itself .<br>
      <br>
      To fix this, add in yout cfg:<br>
      <br>
      alias = "</tt><tt>scscf.open-ims.test:6060"<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></pre>
    <br>
    On 02/08/2013 05:55 AM, garima sharma wrote:
    <blockquote
cite="mid:CAB=ecSORMo4BGg1oJKFPA-0u0SR=DWM_s1+kZFn=tAujghXOHg@mail.gmail.com"
      type="cite">Hi<br>
      <div class="gmail_quote"><br>
        501 was being sent by IMS server only. Messages were not passing
        over to opensips.<br>
        Thus, I changed the config file. Now after changing the config
        file opensips and openIMS are starting individually.<br>
        My users: <a class="moz-txt-link-abbreviated" href="mailto:alice@open-ims.test">alice@open-ims.test</a> and <a class="moz-txt-link-abbreviated" href="mailto:bob@open-ims.test">bob@open-ims.test</a> are able to
        register through xlite/linphone and myMonster, but when i try to
        change the status through myMonster '403 Preload route denied'
        comes from opensips. I am taking this trace through ngrep on
        port 5060.<br>
        <br>
        I tried adding alias=scscf.open-ims.test:6060 in the config file
        but again error 403-preload route denied error comes.<br>
        Kindly find my config file attached. <br>
        Also, find the ngrep trace below:<br>
        <br>
        <b>root@jaytirth-desktop:/etc/opensips# ngrep -W byline -d eth0
          port 5060<br>
          interface: eth0 (<a moz-do-not-send="true"
            href="http://192.168.0.0/255.255.0.0" target="_blank">192.168.0.0/255.255.0.0</a>)<br>
          filter: (ip or ip6) and ( port 5060 )<br>
          #<br>
          U <a moz-do-not-send="true" href="http://192.168.1.100:4060"
            target="_blank">192.168.1.100:4060</a> -&gt; <a
            moz-do-not-send="true" href="http://192.168.1.50:5060"
            target="_blank">192.168.1.50:5060</a><br>
          <br>
          .<br>
          #<br>
          U <a moz-do-not-send="true" href="http://192.168.1.50:5060"
            target="_blank">192.168.1.50:5060</a> -&gt; <a
            moz-do-not-send="true" href="http://192.168.1.100:4060"
            target="_blank">192.168.1.100:4060</a><br>
          PUBLISH <a class="moz-txt-link-freetext" href="sip:alice@open-ims.test">sip:alice@open-ims.test</a> SIP/2.0.<br>
          Call-ID: <a moz-do-not-send="true"
            href="mailto:d8beb11d7472fbbb35f639cd3155ac43@192.168.1.50"
            target="_blank">d8beb11d7472fbbb35f639cd3155ac43@192.168.1.50</a>.<br>
          CSeq: 1 PUBLISH.<br>
          From: <a class="moz-txt-link-rfc2396E" href="sip:alice@open-ims.test">&lt;sip:alice@open-ims.test&gt;</a>;tag=1004.<br>
          To: <a class="moz-txt-link-rfc2396E" href="sip:alice@open-ims.test">&lt;sip:alice@open-ims.test&gt;</a>.<br>
          Via: SIP/2.0/UDP
          192.168.1.50:5060;branch=z9hG4bKf87115d70bedecfaa71e064e979efcee393437.<br>
          Max-Forwards: 20.<br>
          Route: <a class="moz-txt-link-rfc2396E" href="sip:orig@scscf.open-ims.test:6060;lr">&lt;sip:orig@scscf.open-ims.test:6060;lr&gt;</a>.<br>
          Event: presence.<br>
          Accept: application/pidf+xml.<br>
          Expires: 3600.<br>
          Content-Type: application/pidf+xml.<br>
          User-Agent: monster Version: 0.9.25.<br>
          Content-Length: 607.<br>
          .<br>
          &lt;?xml version='1.0' encoding='utf-8' ?&gt;&lt;presence
          entity=<a class="moz-txt-link-rfc2396E" href="sip:alice&amp;#64;open-ims.test">"sip:alice&amp;#64;open-ims.test"</a>
          xmlns="urn:ietf:params:xml:ns:pidf"
          xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model"
          xmlns:rpidf="urn:ietf:params:xml:ns:pidf:rpid"
          xmlns:op="urn:oma:xml:prs:pidf:oma-pres"
          xmlns:opd="urn:oma:xml:pde:pidf:ext"&gt;&lt;tuple
          id="com1"&gt;&lt;status&gt;&lt;basic&gt;open&lt;/basic&gt;&lt;/status&gt;&lt;op:willingness&gt;&lt;opd:basic&gt;open&lt;/opd:basic&gt;&lt;/op:willingness&gt;&lt;/tuple&gt;&lt;dm:person
          id="per123"&gt;&lt;rpidf:activities
          id="act1"&gt;&lt;rpidf:away
/&gt;&lt;/rpidf:activities&gt;&lt;op:overriding-willingness&gt;&lt;opd:basic&gt;open&lt;/opd:basic&gt;&lt;/op:overriding-willingness&gt;&lt;/dm:person&gt;&lt;/presence&gt;<br>
          #<br>
          U <a moz-do-not-send="true" href="http://192.168.1.100:4060"
            target="_blank">192.168.1.100:4060</a> -&gt; <a
            moz-do-not-send="true" href="http://192.168.1.50:5060"
            target="_blank">192.168.1.50:5060</a><br>
          SIP/2.0 403 Preload Route denied.<br>
          Call-ID: <a moz-do-not-send="true"
            href="mailto:d8beb11d7472fbbb35f639cd3155ac43@192.168.1.50"
            target="_blank">d8beb11d7472fbbb35f639cd3155ac43@192.168.1.50</a>.<br>
          CSeq: 1 PUBLISH.<br>
          From: <a class="moz-txt-link-rfc2396E" href="sip:alice@open-ims.test">&lt;sip:alice@open-ims.test&gt;</a>;tag=1004.<br>
          To:
<a class="moz-txt-link-rfc2396E" href="sip:alice@open-ims.test">&lt;sip:alice@open-ims.test&gt;</a>;tag=88edf4f3f0a2949424b8dd565628593e.ba90.<br>
          Via: SIP/2.0/UDP
192.168.1.50:5060;rport=5060;branch=z9hG4bKf87115d70bedecfaa71e064e979efcee393437.<br>
          Server: OpenSIPS (1.7.0-beta-notls (i386/linux)).<br>
          Content-Length: 0.<br>
          .<br>
          <br>
          #<br>
          U <a moz-do-not-send="true" href="http://192.168.1.100:4060"
            target="_blank">192.168.1.100:4060</a> -&gt; <a
            moz-do-not-send="true" href="http://192.168.1.50:5060"
            target="_blank">192.168.1.50:5060</a></b><br>
        <br>
        <br>
        Kindly help and show the way forward.
        <div class="HOEnZb">
          <div class="h5"><br>
            <br>
            <div class="gmail_quote">On Wed, Feb 6, 2013 at 11:35 PM,
              Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                  moz-do-not-send="true"
                  href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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"> <tt>Do you see
                    any traffic reaching OpenSIPS presence ? it is
                    opensips sending the 501 ?<br>
                    <br>
                    Regards,<br>
                  </tt>
                  <div>
                    <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                    <br>
                  </div>
                  <div>
                    <div> On 02/06/2013 07:38 PM, garima sharma wrote:
                      <blockquote type="cite">
                        <div>Hi</div>
                        <div>&nbsp;</div>
                        <div>I was trying to run opensips presence
                          modile in standalone mode over port 5065.</div>
                        <div>I want to make it act as an application
                          server running with open IMS core.</div>
                        <div>I tried the same by using the config file
                          given in test directory.</div>
                        <div>Now my opensips is starting without error.
                          Similary, openIMS starts without error, but
                          presence is not working.It gives 501 error in
                          SIP trace at wireshark.</div>
                        <div>&nbsp;</div>
                        <div>I thought i might be missing out some step.
                          Thus, I wanted to know what is the correct
                          procedure such that opensips presence modules
                          workes as presence server with openIMS core.</div>
                        <div>&nbsp;</div>
                        <div>Regards</div>
                        <div>Garima<br>
                          <br>
                        </div>
                        <div class="gmail_quote">On Wed, Feb 6, 2013 at
                          9:48 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                              moz-do-not-send="true"
                              href="mailto:bogdan@opensips.org"
                              target="_blank">bogdan@opensips.org</a>&gt;</span>
                          wrote:<br>
                          <blockquote style="margin: 0px 0px 0px 0.8ex;
                            padding-left: 1ex; border-left: 1px solid
                            rgb(204, 204, 204);" class="gmail_quote">
                            <div text="#000000" bgcolor="#ffffff"> <tt>Hi
                                Garima,<br>
                                <br>
                                What do you mean by "integrate opensips
                                presence module with openIMS" ??<br>
                                <br>
                                Regards,</tt><br>
                              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                              <div>
                                <div> <br>
                                  On 02/06/2013 07:00 AM, garima sharma
                                  wrote: </div>
                              </div>
                              <blockquote type="cite">
                                <div>
                                  <div><br>
                                    <div class="gmail_quote">Hello<br>
                                      <br>
                                      I am able to run openIMS server
                                      and opensips as presence server
                                      individually.<br>
                                      Now as next step, I want to
                                      integrate opensips presence module
                                      with openIMS.<br>
                                      I tried changing opensips.cfg file
                                      as per the link given below:
                                      <p><span><a moz-do-not-send="true"
href="http://uctimsclient.berlios.de/presence_server_howto.html"
                                            target="_blank">http://uctimsclient.berlios.de/presence_server_howto.html</a></span></p>
                                      But was unsuccessful. I have read
                                      many articles regarding the same
                                      and now I am confused <br
                                        clear="all">
                                      how to start as some articles say
                                      we should configure presence
                                      server in standalone mode without
                                      register module. <br>
                                      Others use register module. I have
                                      tried both the configuration files
                                      but i am unsuccessful.<br>
                                      <br>
                                      Kindly help me in integration by
                                      telling me how to start. My
                                      opensips version is 1.7.0-1.<span></span><br
                                        clear="all">
                                    </div>
                                    <br>
                                    -- <br>
                                    Thanks and Regards<br>
                                    Garima Sharma </div>
                                </div>
                                <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                              </blockquote>
                            </div>
                          </blockquote>
                        </div>
                        <br>
                        <br clear="all">
                        <br>
                        -- <br>
                        Thanks and Regards<br>
                        Garima Sharma </blockquote>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
            <br clear="all">
            <br>
            -- <br>
            Thanks and Regards<br>
            Garima Sharma
          </div>
        </div>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Thanks and Regards<br>
      Garima Sharma
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>