THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - laura testi (lau.testi)
Attached to Project - sip-router
Summary - kamailio 3.1.3 Presence + XCAP problem, is it a bug?
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - Linux
Severity - Medium
Priority - Normal
Reported Version - 3.1
Due in Version - Undecided
Due Date - Undecided
Details - Hello,
I’m …
[View More]wring you again about the Presence = xcap Problem on Kamailio related with the deleting of a contact.
Here a detailed description we have observed:
User Case:
------------------
- user A is a contact of B and viceversa.
- then user A removes B from PC client
1) A sends SUBSCRIBE B to Kamail Presence Server (PS) with even type: presence and Expire:0 without body
a) PS removes A as wacther of B from the active_watchers table
b) PS sends NOTIFY to B (from B to B) with event type: presence.winfo and Subscription State:active,expire=570
c) PS sends NOTIFY to A (from B to A) with event type: Presence and Subscription State: terminated,reason=timeout
2) A sends XCAP PUT to PS with updated pres-rules without B in presence_allow rule
a) PS update xcap table the pres-rules record of A (without B)
3) A sends XCAP PUT to PS with updated resource-lists without B
a) PS update xcap table the resource-lists record of A (without B)
4) the script kamailio.cfg calls pres_update_watchers
a) PS updates watcher table by setting the status = 2(pending) for the record of B is watcher of A (presentity), while the status remains active (1) for the record of A is watcher of B
b) PS sends NOTIFY to B(from A to B) with event type: presence and subscription state: pending
5) the script kamailio.cfg calls pres_refresh_watchers
a) PS sends NOTIFY to B(from A to B) with event type: presence and content type:application:pdif+xml (open, online, pdif entity:A,...)
b) the PC client of B shows a popup by saying 5has authorized the B adds A as contact request
Test environments:
--------------------------
- server: kamailio 3.1.3 with presence, xcap and mysql in Redhat5.6_x64
- transport: tcp
- db: mysql
- client: jitsi (ex SIP communicator)
- kamailio.cfg: please see the attached file kamailio.zip
Questions:
-----------------
1) is it correct the first SUBSCRIBE from the PC client of A?
2) are the over all call flows correct (see the attached wireshark trace)
3) are the steps 2 and 3 correct?
4) the steps 4 and 5 are very strange, is it the bug of xcap module or/and presence module?
Please help!!!!!
Best Regards,
Laura
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=133
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
[View Less]
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A user has added themself to the list of users assigned to this task.
FS#133 - kamailio 3.1.3 Presence + XCAP problem, is it a bug?
User who did this - laura testi (lau.testi)
http://sip-router.org/tracker/index.php?do=details&task_id=133
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your …
[View More]notification settings at the URL shown above.
[View Less]
Hello,
I was reading the source code of the pua_mi module and I think I have
found some wrong check in mi_func.c (checking str.s == 0 instead of
str.len == 0).
Regards,
Nikita
Hello,
just to give you a quick feedback about the this year linuxtag - it was
overall a really nice event in my opinion. A lot of people passed by at our
booth to discuss about Kamailio and VoIP in general. Carsten Bock presented
about our new IMS extensions, Andreas Granig showed a demo of their new
kamailio based carrier product. I hope that we can provide some photos of the
event soon.
We've did two presentations, one about "Linux at 1&1" including a Kamailio
part on wednesday, …
[View More]and Carsten did two "FastForward" talks on wednesday and
thursday. I've uploaded the slides to our webserver:
http://www.kamailio.org/events/2011-linuxtag/linux-at-1and1.pdfhttp://www.kamailio.org/events/2011-linuxtag/kamailio-quick.pdf
Also interesting, the German Federal Office for Information Security (BSI)
presented the upcoming "Gemeinschaft" PBX project version 4 that will use
Kamailio (and Freeswitch). They sponsor the project, it aims to provide a
secure, scalable and easy to use open source PBX plattform.
Best regards,
Henning
[View Less]
Module: sip-router
Branch: 3.1
Commit: 6ef54ae2cb3c5390be823707aa1ebb2008b5eaef
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6ef54ae…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Mon May 16 15:22:15 2011 +0200
tm: add warning about t_newtran behaviour (pointed out from Iñaki
(cherry picked from commit 9f27cb55a1b4def4f393def6170430cbf70e6615)
---
modules/tm/README …
[View More] | 5 +++++
modules/tm/doc/functions.xml | 6 ++++++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/modules/tm/README b/modules/tm/README
index 4e535bc..bf44793 100644
--- a/modules/tm/README
+++ b/modules/tm/README
@@ -1342,6 +1342,11 @@ t_relay();
the only way a script can add a new transaction in an atomic way.
Typically, it is used to deploy a UAS.
+Warning
+
+ Please note that the changes on the request that are made after this
+ function call will not be saved into transaction!
+
Example 46. t_newtran usage
...
if (t_newtran()) {
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml
index 6de270a..683a7d8 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -268,6 +268,12 @@ t_relay();
is the only way a script can add a new transaction in an atomic
way. Typically, it is used to deploy a UAS.
</para>
+ <warning>
+ <para>
+ Please note that the changes on the request that are made after this
+ function call will not be saved into transaction!
+ </para>
+ </warning>
<example>
<title><function>t_newtran</function> usage</title>
<programlisting>
[View Less]
Module: sip-router
Branch: master
Commit: 82653591854efea336fee54476c1e02e925f6a35
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8265359…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Tue May 17 13:05:01 2011 +0200
Revert "tm: add warning about t_newtran behaviour (pointed out from Iñaki"
This reverts commit 9f27cb55a1b4def4f393def6170430cbf70e6615.
---
modules/tm/…
[View More]README | 5 -----
modules/tm/doc/functions.xml | 6 ------
2 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/modules/tm/README b/modules/tm/README
index bf44793..4e535bc 100644
--- a/modules/tm/README
+++ b/modules/tm/README
@@ -1342,11 +1342,6 @@ t_relay();
the only way a script can add a new transaction in an atomic way.
Typically, it is used to deploy a UAS.
-Warning
-
- Please note that the changes on the request that are made after this
- function call will not be saved into transaction!
-
Example 46. t_newtran usage
...
if (t_newtran()) {
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml
index 683a7d8..6de270a 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -268,12 +268,6 @@ t_relay();
is the only way a script can add a new transaction in an atomic
way. Typically, it is used to deploy a UAS.
</para>
- <warning>
- <para>
- Please note that the changes on the request that are made after this
- function call will not be saved into transaction!
- </para>
- </warning>
<example>
<title><function>t_newtran</function> usage</title>
<programlisting>
[View Less]
Module: sip-router
Branch: 3.1
Commit: 0a2810181e1901708b1885d4e0c41774b28d25f9
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0a28101…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Tue May 17 13:04:07 2011 +0200
Revert "tm: add warning about t_newtran behaviour (pointed out from Iñaki"
This reverts commit 6ef54ae2cb3c5390be823707aa1ebb2008b5eaef.
---
modules/tm/…
[View More]README | 5 -----
modules/tm/doc/functions.xml | 6 ------
2 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/modules/tm/README b/modules/tm/README
index bf44793..4e535bc 100644
--- a/modules/tm/README
+++ b/modules/tm/README
@@ -1342,11 +1342,6 @@ t_relay();
the only way a script can add a new transaction in an atomic way.
Typically, it is used to deploy a UAS.
-Warning
-
- Please note that the changes on the request that are made after this
- function call will not be saved into transaction!
-
Example 46. t_newtran usage
...
if (t_newtran()) {
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml
index 683a7d8..6de270a 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -268,12 +268,6 @@ t_relay();
is the only way a script can add a new transaction in an atomic
way. Typically, it is used to deploy a UAS.
</para>
- <warning>
- <para>
- Please note that the changes on the request that are made after this
- function call will not be saved into transaction!
- </para>
- </warning>
<example>
<title><function>t_newtran</function> usage</title>
<programlisting>
[View Less]
Module: sip-router
Branch: master
Commit: b280f89b3ac4f97c3cad1487961509bae893f656
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b280f89…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Mon May 16 15:48:53 2011 +0200
geoip: extend docs after discussion with Francesco Castellano
---
modules/geoip/README | 8 ++++++++
modules/geoip/doc/geoip_admin.xml | …
[View More]11 ++++++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/modules/geoip/README b/modules/geoip/README
index 016d0d8..595b5df 100644
--- a/modules/geoip/README
+++ b/modules/geoip/README
@@ -82,6 +82,14 @@ Chapter 1. Admin Guide
and its derivatives as libgeoip, and probably by other distributions as
well.
+ Debian Linux squeeze includes already a database as dependency, but as
+ this contain the wrong data, it will not work correctly with the
+ module. More acurate, the module expect the GeoIP City Edition, and
+ will not work with the GeoIP Country Edition. In newer Debian Linux
+ releases the package geoip-database-contrib should contain the
+ necessary database. You can download the Lite edition of the DB from
+ here.
+
This module exports a new class of pseudo-variables - $gip(pvc=>key) -
to enable access to the results of a query to the database.
diff --git a/modules/geoip/doc/geoip_admin.xml b/modules/geoip/doc/geoip_admin.xml
index b8c9f17..f1df9ca 100644
--- a/modules/geoip/doc/geoip_admin.xml
+++ b/modules/geoip/doc/geoip_admin.xml
@@ -28,7 +28,7 @@
</para>
<para>
This database itself can be obtained on a free or commercial basis
- <ulink url="http://www.maxmind.com/app/ip-location">here</ulink>. The
+ <ulink url="http://www.maxmind.com/app/ip-location">here</ulink>. The
library that interfaces with the Max Mind API, as well as scripts to
automate downloading of the on-disk version of the open-source
database is also packaged by the Debian Linux distribution and
@@ -36,6 +36,15 @@
other distributions as well.
</para>
<para>
+ Debian Linux squeeze includes already a database as dependency, but as
+ this contain the wrong data, it will not work correctly with the module.
+ More acurate, the module expect the <emphasis>GeoIP City Edition</emphasis>,
+ and will not work with the <emphasis>GeoIP Country Edition</emphasis>. In
+ newer Debian Linux releases the package <emphasis>geoip-database-contrib</emphasis>
+ should contain the necessary database. You can download the Lite edition
+ of the DB from <ulink url="http://www.maxmind.com/app/geolitecity">here</ulink>.
+ </para>
+ <para>
This module exports a new class of pseudo-variables -
$gip(pvc=>key) - to enable access to the results of a query to the
database.
[View Less]