<!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">
    Hello,<br>
    <br>
    On 9/30/10 2:54 PM, X- x -X wrote:
    <blockquote
      cite="mid:AANLkTinG8q-O8aqecwkyQ_vgurit33Dm1L3pwX=KEzZ9@mail.gmail.com"
      type="cite">
      <div>Hi Daniel.</div>
      <div><br>
      </div>
      Thanks. It works like a charm. Very expressive tutorial.
      <div><br>
      </div>
      <div><br>
      </div>
      <div>but just looking at the logs I see stuff like this &nbsp;which is
        erroring. doesnt crash the server or stuff just some error&nbsp;</div>
      <div><br>
      </div>
      <div>Tested with
        "sip-communicator-1.0-alpha6-nightly.build.2976-linux.bin"</div>
      <div>And the specs/conf on that tutorial website copies around
        11:00 GMT (in case u have any change after that).</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div><br>
        </div>
        <div>
          <div>debbox:/usr/local/etc/kamailio# tailf /var/log/syslog&nbsp;</div>
          <div>Sep 30 18:24:38 debbox kamailio[2744]: ERROR:
            &lt;script&gt;: ===== xhttp: xcap-caps : &lt;null&gt;</div>
          <div>Sep 30 18:24:38 debbox kamailio[2746]: ERROR:
            &lt;script&gt;: ===== xhttp: resource-lists : <a
              moz-do-not-send="true"
              href="mailto:sip%3Abob@192.168.90.40">sip:bob@192.168.90.40</a></div>
          <div>Sep 30 18:24:38 debbox kamailio[2746]: ERROR:
            &lt;script&gt;: ===== xhttp: get <a moz-do-not-send="true"
              href="mailto:sip%3Abob@192.168.90.40">sip:bob@192.168.90.40</a>
            =&gt; /xcap-root/resource-lists/users/<a
              moz-do-not-send="true"
              href="http://sip:bob@192.168.90.40/index">sip:bob@192.168.90.40/index</a></div>
          <div>Sep 30 18:24:38 debbox kamailio[2748]: ERROR:
            &lt;script&gt;: ===== xhttp: pres-rules : <a
              moz-do-not-send="true"
              href="mailto:sip%3Abob@192.168.90.40">sip:bob@192.168.90.40</a></div>
          <div>Sep 30 18:24:38 debbox kamailio[2748]: ERROR:
            &lt;script&gt;: ===== xhttp: get <a moz-do-not-send="true"
              href="mailto:sip%3Abob@192.168.90.40">sip:bob@192.168.90.40</a>
            =&gt; /xcap-root/pres-rules/users/<a moz-do-not-send="true"
              href="http://sip:bob@192.168.90.40/presrules">sip:bob@192.168.90.40/presrules</a></div>
          <div>Sep 30 18:24:38 debbox kamailio[2750]: ERROR:
            &lt;script&gt;: ===== xhttp: pres-rules : <a
              moz-do-not-send="true"
              href="mailto:sip%3Abob@192.168.90.40">sip:bob@192.168.90.40</a></div>
          <div>Sep 30 18:24:38 debbox kamailio[2750]: ERROR:
            &lt;script&gt;: ===== xhttp put: refreshing watchers for <a
              moz-do-not-send="true"
              href="mailto:sip%3Abob@192.168.90.40">sip:bob@192.168.90.40</a></div>
        </div>
      </div>
    </blockquote>
    all these are from configuration file. You can simple comment or
    remove them. I added them there for debugging purposes. Look into
    event_route[xhttp:request] and remove xlog() calls. ERROR prefix is
    automatically added because the message is sent to L_ERR log level.<br>
    <br>
    <blockquote
      cite="mid:AANLkTinG8q-O8aqecwkyQ_vgurit33Dm1L3pwX=KEzZ9@mail.gmail.com"
      type="cite">
      <div>
        <div>
        </div>
        <div><br>
        </div>
        <div>Note: It does have issues. when a user deletes a buddy. The
          buddy is still seen at the other end with the
          status(online/away/offline).</div>
      </div>
    </blockquote>
    <br>
    Inaki spotted and the config was updated meanwhile, check again the
    tutorial.<br>
    <br>
    <blockquote
      cite="mid:AANLkTinG8q-O8aqecwkyQ_vgurit33Dm1L3pwX=KEzZ9@mail.gmail.com"
      type="cite">
      <div>
        <div>And when ever "He" sends in a text msg. "He" gets
          automatically added in the buddy list without prompt or
          anything in the user (who deleted him in the first place). Im
          guessing this has something to do with the ALPHA versions
          client as well. But thats just a guess.</div>
      </div>
    </blockquote>
    <br>
    SC and xcap support is in an early stage as well, I mentioned in the
    tutorials some things, like auto-adding accept rule for an watcher
    when you subscribe to it (you become watcher for your watcher). I am
    waiting for a bug to be fixed in bria 3.1 for more tests --
    unfortunately there are no many good and trustable sip clients with
    simple&amp;xcap support out there that can be used for testing.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote
      cite="mid:AANLkTinG8q-O8aqecwkyQ_vgurit33Dm1L3pwX=KEzZ9@mail.gmail.com"
      type="cite">
      <div>
        <div><br>
          <div class="gmail_quote">On Wed, Sep 29, 2010 at 10:46 AM,
            Daniel-Constantin Mierla <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@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"> Hello,<br>
                <br>
                I was writing and just published a complete tutorial
                about this topic (sent an email few minutes ago), see
                the docs at:<br>
                <a moz-do-not-send="true" href="http://bit.ly/btrJij"
                  target="_blank">http://bit.ly/btrJij</a><br>
                <br>
                Let me know if works for you. Whenever you have a
                problem, try to be very descriptive with what does not
                work. Also, gather message logs and SIP traces.<br>
                <br>
                Cheers,<br>
                Daniel
                <div>
                  <div class="h5"><br>
                    <br>
                    On 9/29/10 3:55 PM, X- x -X wrote: </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div class="h5">Hi Daniel,
                      <div><br>
                      </div>
                      <div>Im a kamailio 3.1 (testing noobie)</div>
                      <div><br>
                      </div>
                      <div>Im trying to setup a simple buddy list
                        supporting presence server. &nbsp;(I gather xcap is
                        the way to go)</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>The simple presence thingy works nicely &amp;
                        instantly (thanks to those #!defines )</div>
                      <div><br>
                      </div>
                      <div>But I haven't been able to get this
                        configuration going</div>
                      <div><br>
                      </div>
                      <div> <a moz-do-not-send="true"
href="http://sip-router.org/docbook/sip-router/branch/master/modules_k/xcap_server/xcap_server.html#id2525604"
                          target="_blank">http://sip-router.org/docbook/sip-router/branch/master/modules_k/xcap_server/xcap_server.html#id2525604</a></div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>I mean loading the modules &nbsp;&amp; setting the
                        modparams is a snap but this routing logic
                        always gets to me. (i.e. those filing off
                        .......... lines in the the routing logic
                        section. Did I mention I was a noobie especially
                        of routing logic section ?)</div>
                      <div><br>
                      </div>
                      <div>Anyway you have also added this declarative&nbsp;<span
                          style="font-family: monospace; font-size:
                          medium; white-space: pre-wrap;">#!ifdef
                          WITH_XHTTPAUTH</span></div>
                      <div> with in that section, where as its missing
                        in the top section of the kamailio.cfg file.</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>Pasting just about anywhere (or in the end
                        before the } &nbsp;doesn't work for me. Could u be
                        kind enough to elaborate a little more on that
                        or come up with a fuller kamailo.cfg sample
                        file.</div>
                      <div><br>
                      </div>
                      <div>Thanx &amp; Regards</div>
                      <div>--</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                    </div>
                  </div>
                  <pre><fieldset></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                </blockquote>
                <br>
                <pre cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>