Hello,
On 9/30/10 2:54 PM, X- x -X wrote:
Hi Daniel.
Thanks. It works like a charm. Very expressive tutorial.
but just looking at the logs I see stuff like this which is erroring.
doesnt crash the server or stuff just some error
Tested with "sip-communicator-1.0-alpha6-nightly.build.2976-linux.bin"
And the specs/conf on that tutorial website copies around 11:00 GMT
(in case u have any change after that).
debbox:/usr/local/etc/kamailio# tailf /var/log/syslog
Sep 30 18:24:38 debbox kamailio[2744]: ERROR: <script>: ===== xhttp:
xcap-caps : <null>
Sep 30 18:24:38 debbox kamailio[2746]: ERROR: <script>: ===== xhttp:
resource-lists : sip:bob@192.168.90.40 <mailto:sip%3Abob@192.168.90.40>
Sep 30 18:24:38 debbox kamailio[2746]: ERROR: <script>: ===== xhttp:
get sip:bob@192.168.90.40 <mailto:sip%3Abob@192.168.90.40> =>
/xcap-root/resource-lists/users/sip:bob@192.168.90.40/index
<http://sip:bob@192.168.90.40/index>
Sep 30 18:24:38 debbox kamailio[2748]: ERROR: <script>: ===== xhttp:
pres-rules : sip:bob@192.168.90.40 <mailto:sip%3Abob@192.168.90.40>
Sep 30 18:24:38 debbox kamailio[2748]: ERROR: <script>: ===== xhttp:
get sip:bob@192.168.90.40 <mailto:sip%3Abob@192.168.90.40> =>
/xcap-root/pres-rules/users/sip:bob@192.168.90.40/presrules
<http://sip:bob@192.168.90.40/presrules>
Sep 30 18:24:38 debbox kamailio[2750]: ERROR: <script>: ===== xhttp:
pres-rules : sip:bob@192.168.90.40 <mailto:sip%3Abob@192.168.90.40>
Sep 30 18:24:38 debbox kamailio[2750]: ERROR: <script>: ===== xhttp
put: refreshing watchers for sip:bob@192.168.90.40
<mailto:sip%3Abob@192.168.90.40>
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.
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).
Inaki spotted and the config was updated meanwhile, check again the
tutorial.
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.
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&xcap support out
there that can be used for testing.
Cheers,
Daniel
On Wed, Sep 29, 2010 at 10:46 AM, Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:miconda@gmail.com>> wrote:
Hello,
I was writing and just published a complete tutorial about this
topic (sent an email few minutes ago), see the docs at:
http://bit.ly/btrJij
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.
Cheers,
Daniel
On 9/29/10 3:55 PM, X- x -X wrote:
Hi Daniel,
Im a kamailio 3.1 (testing noobie)
Im trying to setup a simple buddy list supporting presence
server. (I gather xcap is the way to go)
The simple presence thingy works nicely & instantly (thanks to
those #!defines )
But I haven't been able to get this configuration going
http://sip-router.org/docbook/sip-router/branch/master/modules_k/xcap_serve…
I mean loading the modules & 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 ?)
Anyway you have also added this declarative #!ifdef WITH_XHTTPAUTH
with in that section, where as its missing in the top section of
the kamailio.cfg file.
Pasting just about anywhere (or in the end before the } 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.
Thanx & Regards
--
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com