Re: [sr-dev] problem with indicating nathelper ping targets

2013-03-10 Thread Andrew Pogrebennyk
On 03/09/2013 08:37 PM, Juha Heinanen wrote:
 looks like there should be two separate usrloc flags: the current
 behind_NAT flag and a new NAT_ping_this_contact flag.
 
 comments?

There is in fact a separate flag in the devel version, introduced by
Richard Fuchs:
http://kamailio.org/docs/modules/devel/modules/nathelper.html#id2546274

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] releasing v4.0.0 tomorrow

2013-03-10 Thread Daniel-Constantin Mierla

Hello,

the plan is to release final Kamailio v4.0.0 tomorrow, Monday, March 11, 
2013.


If any developer/packager has something to add to the release, please 
commit by 12:00GMT to GIT branch 4.0. After that, announce first on 
sr-dev and wait for an ack, to avoid packaging inconsistent content.


Cheers,
Daniel

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
 - http://conference.kamailio.com -


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master: INSTALL: updates for v4.0.0

2013-03-10 Thread Daniel-Constantin Mierla
Module: sip-router
Branch: master
Commit: b4ebc4a8164cfee995fb3ed0570702ae0547c0ce
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b4ebc4a8164cfee995fb3ed0570702ae0547c0ce

Author: Daniel-Constantin Mierla mico...@gmail.com
Committer: Daniel-Constantin Mierla mico...@gmail.com
Date:   Sun Mar 10 22:07:11 2013 +0100

INSTALL: updates for v4.0.0

---

 INSTALL |  102 ++
 1 files changed, 62 insertions(+), 40 deletions(-)

diff --git a/INSTALL b/INSTALL
index 2cd8015..557601b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,12 +1,9 @@
-$Id$
-
 
  ==
 
-  Kamailio Installation Notes
+  Kamailio SIP Server Installation Notes
 
-http://www.kamailio.org
- http://sip-router.org
+ http://www.kamailio.org
 
  ==
 
@@ -17,15 +14,11 @@ $Id$
   not explicitely mentioned, SIP server refers to any of these two
   applications.
 
-  This memo gives you hints how to set up the SIP server quickly. To 
-  understand how SIP server works and how to configure it properly,
-  please read the admin's guide available from the http://sip-router.org
-  website.
-
-  We also urge you to read latest ISSUES (available from website
-  too) and check for potential problems in this release.
-  Users of previous releases are encouraged to read NEWS to learn how to move
-  to this new SIP server version.
+  This memo gives you hints how to set up the SIP server quickly.
+  
+  You can find similar tutorial and many more on project's web site:
+- http://www.kamailio.org/w/documentation/
+- http://www.kamailio.org/wiki/
   
 
 Table of Contents
@@ -34,6 +27,10 @@ Table of Contents
 1. SIP Server Flavours
 2. Supported Architectures and Requirements
 3. Howto Build SIP Server From the Source Distribution
+   3.1 Kamailio Fast Track Installation
+   3.2 Details Installing from Source Code
+ A) Set SIP Server Flavour
+ B) Build Commands
 4. Quick-Start Installation Guide
A) Getting Help
B) Disclaimers
@@ -51,7 +48,7 @@ The two major SIP server flavours are:
   - Kamailio (former OpenSER)
 
 Starting with version 3.0.0, the two SIP server flavours are built from
-same source code tree. In version 4.0.0 the two source code trees was
+same source code tree. In version 4.0.0 the two source code trees were
 merged even more, so a combined module directory is now used.
 
 Kamailio flavor is the one built by default. SER is, historically speaking, the
@@ -64,10 +61,10 @@ very few, Kamailio enabling next compile time flags:
   - application server extensions in tm module
 
 In version 4.0.0 the modules were merged into one set and the merger
-between the two products was completed. Kamailio is now the main
-flavour.
+between the two products was completed.
 
-Switching between flavours is a matter of 'make' command parameters.
+Kamailio is now the default flavour. Switching between flavours is a matter
+of 'make' command parameters.
 
 Several installation tutorials for Kamailio are available on the web wiki:
   - http://www.kamailio.org/wiki/
@@ -135,6 +132,7 @@ Requirements:
 - libpcre libs and devel headers - if you want to compile the lcr and dialplan
   modules
 - libsctp devel headers - if you want to compile the SCTP transport in the core
+- libssl devel headers (openssl project) - if you want to compule the TLS 
module
 - linunistring - for the Websockets module
 
 
@@ -208,7 +206,6 @@ OS Notes:
see README of the module you want to use
 Both SER and Kamailio flavours have APT deb repositories that allow you to
install the binaries easily - see the web sites for more details:
- - http://iptel.org/ser
  - http://kamailio.org
 
  Cygwin  (alpha state, partial support)
@@ -230,22 +227,47 @@ OS Notes:
 
 
 3. Howto Build SIP Server From Source Distribution

+--
+
+(NOTE: if make doesn't work try gmake instead)
+
+3.1 Kamailio Fast Track Installation
+
+
+
+If you are familiar with Unix/Linux  build tools aready and you installed
+required dependency, then you can just follow this section, otherwise
+skip over it.
+
+To get the SIP server installed, in the folder with source code run:
+
+  make cfg
+  make all
+  make install
+
+If you want to install with additional modules, for example with mysql and
+tls, run:
+
+  make include_modules=db_mysql tls cfg
+  make all
+  make install
+
+3.2 Details Installing from Source Code
+...
 
-(NOTE: if make doesn't work try gmake  instead)
 
 A) Set SIP Server Flavour
 
 If you don't have a clean source tree, first do:
make proper
 
-To build SER flavour, you don't need to do anything special, continue to
+To build Kamailio flavour, you don't 

[sr-dev] git:4.0: ChangeLog: updated content to prepare for v4.0.0

2013-03-10 Thread Daniel-Constantin Mierla
Module: sip-router
Branch: 4.0
Commit: 69c3909a8701bf47fc31105e29382ae09d383943
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=69c3909a8701bf47fc31105e29382ae09d383943

Author: Daniel-Constantin Mierla mico...@gmail.com
Committer: Daniel-Constantin Mierla mico...@gmail.com
Date:   Fri Mar  8 23:20:06 2013 +0100

ChangeLog: updated content to prepare for v4.0.0
(cherry picked from commit 28111e7943f209ed936a6e9f1d5278d6235cedbb)

---

 ChangeLog |16706 +++--
 1 files changed, 8389 insertions(+), 8317 deletions(-)

Diff:   
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=69c3909a8701bf47fc31105e29382ae09d383943

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:4.0: INSTALL: updates for v4.0.0

2013-03-10 Thread Daniel-Constantin Mierla
Module: sip-router
Branch: 4.0
Commit: de672e729c52f27252c78759c9b68b5ca09dfbdc
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=de672e729c52f27252c78759c9b68b5ca09dfbdc

Author: Daniel-Constantin Mierla mico...@gmail.com
Committer: Daniel-Constantin Mierla mico...@gmail.com
Date:   Sun Mar 10 22:07:11 2013 +0100

INSTALL: updates for v4.0.0
(cherry picked from commit b4ebc4a8164cfee995fb3ed0570702ae0547c0ce)

---

 INSTALL |  102 ++
 1 files changed, 62 insertions(+), 40 deletions(-)

diff --git a/INSTALL b/INSTALL
index 2cd8015..557601b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,12 +1,9 @@
-$Id$
-
 
  ==
 
-  Kamailio Installation Notes
+  Kamailio SIP Server Installation Notes
 
-http://www.kamailio.org
- http://sip-router.org
+ http://www.kamailio.org
 
  ==
 
@@ -17,15 +14,11 @@ $Id$
   not explicitely mentioned, SIP server refers to any of these two
   applications.
 
-  This memo gives you hints how to set up the SIP server quickly. To 
-  understand how SIP server works and how to configure it properly,
-  please read the admin's guide available from the http://sip-router.org
-  website.
-
-  We also urge you to read latest ISSUES (available from website
-  too) and check for potential problems in this release.
-  Users of previous releases are encouraged to read NEWS to learn how to move
-  to this new SIP server version.
+  This memo gives you hints how to set up the SIP server quickly.
+  
+  You can find similar tutorial and many more on project's web site:
+- http://www.kamailio.org/w/documentation/
+- http://www.kamailio.org/wiki/
   
 
 Table of Contents
@@ -34,6 +27,10 @@ Table of Contents
 1. SIP Server Flavours
 2. Supported Architectures and Requirements
 3. Howto Build SIP Server From the Source Distribution
+   3.1 Kamailio Fast Track Installation
+   3.2 Details Installing from Source Code
+ A) Set SIP Server Flavour
+ B) Build Commands
 4. Quick-Start Installation Guide
A) Getting Help
B) Disclaimers
@@ -51,7 +48,7 @@ The two major SIP server flavours are:
   - Kamailio (former OpenSER)
 
 Starting with version 3.0.0, the two SIP server flavours are built from
-same source code tree. In version 4.0.0 the two source code trees was
+same source code tree. In version 4.0.0 the two source code trees were
 merged even more, so a combined module directory is now used.
 
 Kamailio flavor is the one built by default. SER is, historically speaking, the
@@ -64,10 +61,10 @@ very few, Kamailio enabling next compile time flags:
   - application server extensions in tm module
 
 In version 4.0.0 the modules were merged into one set and the merger
-between the two products was completed. Kamailio is now the main
-flavour.
+between the two products was completed.
 
-Switching between flavours is a matter of 'make' command parameters.
+Kamailio is now the default flavour. Switching between flavours is a matter
+of 'make' command parameters.
 
 Several installation tutorials for Kamailio are available on the web wiki:
   - http://www.kamailio.org/wiki/
@@ -135,6 +132,7 @@ Requirements:
 - libpcre libs and devel headers - if you want to compile the lcr and dialplan
   modules
 - libsctp devel headers - if you want to compile the SCTP transport in the core
+- libssl devel headers (openssl project) - if you want to compule the TLS 
module
 - linunistring - for the Websockets module
 
 
@@ -208,7 +206,6 @@ OS Notes:
see README of the module you want to use
 Both SER and Kamailio flavours have APT deb repositories that allow you to
install the binaries easily - see the web sites for more details:
- - http://iptel.org/ser
  - http://kamailio.org
 
  Cygwin  (alpha state, partial support)
@@ -230,22 +227,47 @@ OS Notes:
 
 
 3. Howto Build SIP Server From Source Distribution

+--
+
+(NOTE: if make doesn't work try gmake instead)
+
+3.1 Kamailio Fast Track Installation
+
+
+
+If you are familiar with Unix/Linux  build tools aready and you installed
+required dependency, then you can just follow this section, otherwise
+skip over it.
+
+To get the SIP server installed, in the folder with source code run:
+
+  make cfg
+  make all
+  make install
+
+If you want to install with additional modules, for example with mysql and
+tls, run:
+
+  make include_modules=db_mysql tls cfg
+  make all
+  make install
+
+3.2 Details Installing from Source Code
+...
 
-(NOTE: if make doesn't work try gmake  instead)
 
 A) Set SIP Server Flavour
 
 If you don't have a clean source tree, first do:
make proper
 
-To build SER flavour, you don't need to do 

[sr-dev] git:4.0: ChangeLog_k: removed obsolete file

2013-03-10 Thread Daniel-Constantin Mierla
Module: sip-router
Branch: 4.0
Commit: 73106e703c3e2ad031f9c875a52ecf9b99750c39
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=73106e703c3e2ad031f9c875a52ecf9b99750c39

Author: Daniel-Constantin Mierla mico...@gmail.com
Committer: Daniel-Constantin Mierla mico...@gmail.com
Date:   Fri Mar  8 23:22:06 2013 +0100

ChangeLog_k: removed obsolete file
(cherry picked from commit ff04edd6ee7ddc213b346afffeec04a995bf16fa)

---

 ChangeLog_k |  649 ---
 1 files changed, 0 insertions(+), 649 deletions(-)

Diff:   
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=73106e703c3e2ad031f9c875a52ecf9b99750c39

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master: pkg: deb specs updated for v4.0.0

2013-03-10 Thread Daniel-Constantin Mierla
Module: sip-router
Branch: master
Commit: a349d9aab2d95b9b1cbc58870ead9a7294bcdcaa
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a349d9aab2d95b9b1cbc58870ead9a7294bcdcaa

Author: Daniel-Constantin Mierla mico...@gmail.com
Committer: Daniel-Constantin Mierla mico...@gmail.com
Date:   Sun Mar 10 22:46:50 2013 +0100

pkg: deb specs updated for v4.0.0

---

 pkg/kamailio/deb/debian/changelog  |6 ++
 pkg/kamailio/deb/debian/control|   21 +
 pkg/kamailio/deb/debian/rules  |6 +++---
 pkg/kamailio/deb/lenny/changelog   |6 ++
 pkg/kamailio/deb/lenny/rules   |2 +-
 pkg/kamailio/deb/precise/changelog |6 ++
 pkg/kamailio/deb/precise/control   |   21 +
 pkg/kamailio/deb/precise/rules |6 +++---
 pkg/kamailio/deb/squeeze/changelog |6 ++
 pkg/kamailio/deb/squeeze/control   |   21 +
 pkg/kamailio/deb/squeeze/rules |4 ++--
 pkg/kamailio/deb/wheezy/changelog  |6 ++
 pkg/kamailio/deb/wheezy/control|   21 +
 pkg/kamailio/deb/wheezy/rules  |6 +++---
 14 files changed, 126 insertions(+), 12 deletions(-)

Diff:   
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=a349d9aab2d95b9b1cbc58870ead9a7294bcdcaa

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] kamailio cannot be build if USE_IPV6 is not defined

2013-03-10 Thread Juha Heinanen
dns_cache.c uses str2ip6 even when USE_IPV6 is not defined.  please fix.

-- juha

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] about registrar outbound modes

2013-03-10 Thread Juha Heinanen
Peter Dunkley writes:

 The changes in pd/outbound are not complete or tested at all yet.
 That won't happen for a few days at least.  They are not safe to merge
 back into master or the 4.0 branch yet.

ok.  i don't know that the 4.0 release timetable is, but it would be
nice to get those changed merged before the release that are considered
to be bug fixes.

-- juha

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] problem with indicating nathelper ping targets

2013-03-10 Thread Juha Heinanen
Andrew Pogrebennyk writes:

 There is in fact a separate flag in the devel version, introduced by
 Richard Fuchs:
 http://kamailio.org/docs/modules/devel/modules/nathelper.html#id2546274

i commented that in another email.  the name of the flag does not match
its description. does it work also when usrloc in in db only mode?

regarding db only mode, the nat ping flag should be its own column in
location table, because the current query includes bitmap operation and
thus cannot be optimized.

-- juha

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master: core: try to detect ipv6 addresses only when USE_IPV6 is used

2013-03-10 Thread Daniel-Constantin Mierla
Module: sip-router
Branch: master
Commit: b035aa9f2cc19d387b1b8f33a7888ffee27a4138
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b035aa9f2cc19d387b1b8f33a7888ffee27a4138

Author: Daniel-Constantin Mierla mico...@gmail.com
Committer: Daniel-Constantin Mierla mico...@gmail.com
Date:   Sun Mar 10 23:53:26 2013 +0100

core: try to detect ipv6 addresses only when USE_IPV6 is used

- reported by Juha Heinanen

---

 dns_cache.c |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dns_cache.c b/dns_cache.c
index b56e94d..b351490 100644
--- a/dns_cache.c
+++ b/dns_cache.c
@@ -1891,8 +1891,10 @@ inline static struct dns_hash_entry* 
dns_cache_do_request(str* name, int type)
 #endif /* USE_DNS_CACHE_STATS */
 
if (type==T_A){
+#ifdef USE_IPV6
if (str2ip6(name)!=0)
goto end;
+#endif /* USE_IPV6 */
if ((ip=str2ip(name))!=0){
e=dns_cache_mk_ip_entry(name, ip);
if (likely(e))
@@ -2469,8 +2471,10 @@ inline static struct hostent* dns_a_get_he(str* name)
struct hostent* he;
 
e=0;
+#ifdef USE_IPV6
if (str2ip6(name)!=0)
return 0;
+#endif
if ((ip=str2ip(name))!=0){
return ip_addr2he(name, ip);
}
@@ -2971,8 +2975,10 @@ inline static int dns_a_resolve( struct dns_hash_entry** 
e,
ret=-E_DNS_NO_IP;
if (*e==0){ /* do lookup */
/* if ip don't set *e */
+#ifdef USE_IPV6
if (str2ip6(name)!=0)
goto error;
+#endif
if ((tmp=str2ip(name))!=0){
*ip=*tmp;
*rr_no=0;


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master: core: try to detect ipv6 addresses only when USE_IPV6 is used

2013-03-10 Thread Juha Heinanen
Daniel-Constantin Mierla writes:

 Module: sip-router
 Branch: master
 Commit: b035aa9f2cc19d387b1b8f33a7888ffee27a4138
 URL:
 http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b035aa9f2cc19d387b1b8f33a7888ffee27a4138
 
 Author: Daniel-Constantin Mierla mico...@gmail.com
 Committer: Daniel-Constantin Mierla mico...@gmail.com
 Date:   Sun Mar 10 23:53:26 2013 +0100
 
 core: try to detect ipv6 addresses only when USE_IPV6 is used

thanks.  should be cherry-picked to 4.0 too.

-- juha

___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:4.0: core: try to detect ipv6 addresses only when USE_IPV6 is used

2013-03-10 Thread Juha Heinanen
Module: sip-router
Branch: 4.0
Commit: 080db7fd62fcf3c941fce2e1e0552a6584572c3e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=080db7fd62fcf3c941fce2e1e0552a6584572c3e

Author: Daniel-Constantin Mierla mico...@gmail.com
Committer: Juha Heinanen j...@tutpro.com
Date:   Sun Mar 10 23:53:26 2013 +0100

core: try to detect ipv6 addresses only when USE_IPV6 is used

- reported by Juha Heinanen
(cherry picked from commit b035aa9f2cc19d387b1b8f33a7888ffee27a4138)

---

 dns_cache.c |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dns_cache.c b/dns_cache.c
index b56e94d..b351490 100644
--- a/dns_cache.c
+++ b/dns_cache.c
@@ -1891,8 +1891,10 @@ inline static struct dns_hash_entry* 
dns_cache_do_request(str* name, int type)
 #endif /* USE_DNS_CACHE_STATS */
 
if (type==T_A){
+#ifdef USE_IPV6
if (str2ip6(name)!=0)
goto end;
+#endif /* USE_IPV6 */
if ((ip=str2ip(name))!=0){
e=dns_cache_mk_ip_entry(name, ip);
if (likely(e))
@@ -2469,8 +2471,10 @@ inline static struct hostent* dns_a_get_he(str* name)
struct hostent* he;
 
e=0;
+#ifdef USE_IPV6
if (str2ip6(name)!=0)
return 0;
+#endif
if ((ip=str2ip(name))!=0){
return ip_addr2he(name, ip);
}
@@ -2971,8 +2975,10 @@ inline static int dns_a_resolve( struct dns_hash_entry** 
e,
ret=-E_DNS_NO_IP;
if (*e==0){ /* do lookup */
/* if ip don't set *e */
+#ifdef USE_IPV6
if (str2ip6(name)!=0)
goto error;
+#endif
if ((tmp=str2ip(name))!=0){
*ip=*tmp;
*rr_no=0;


___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] presence notify packet garbage with latest 4.0

2013-03-10 Thread Juha Heinanen
i tested my presence server using the latest 4.0 branch and noticed that
some notify requests generated by presence server over tcp cannot be
interpreted by my sip proxy.

here is working example using version 4.0.0-pre1 when presence server is
sending notify request to sip proxy over tcp to port 5070:

Mar 11 04:06:15 sip /usr/sbin/pres-serv[6837]: INFO: Routing locally generated 
NOTIFY 
sip:jh_test_fi@192.98.102.10:5074;alias=192.98.102.10~46961~2;transport=tcp 
to sip:j...@test.fi from sip:j...@test.fi
Mar 11 04:06:15 sip /usr/sbin/sip-proxy[6473]: INFO: Routing in-dialog NOTIFY 
sip:jh_test_fi@192.98.102.10:5074;transport=tcp from sip:j...@test.fi to 
sip:192.98.102.10:46961;transport=tcp

No. TimeSourceDestination   Protocol 
Info
242 04:06:15.847426 127.0.0.1 127.0.0.1 SIP  
Request: NOTIFY 
sip:jh_test_fi@192.98.102.10:5074;alias=192.98.102.10~46961~2;transport=tcp

Frame 242 (707 bytes on wire, 707 bytes captured)
Linux cooked capture
Internet Protocol, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 40580 (40580), Dst Port: vtsas (5070), 
Seq: 1, Ack: 1, Len: 639
Session Initiation Protocol
Request-Line: NOTIFY 
sip:jh_test_fi@192.98.102.10:5074;alias=192.98.102.10~46961~2;transport=tcp 
SIP/2.0
Message Header
Via: SIP/2.0/TCP 
127.0.0.1:5080;branch=z9hG4bK582b.bbb468a4.0
To: sip:j...@test.fi;tag=xohct
From: sip:j...@test.fi;tag=2c15998813993a5f2698a8693042e46f-d0d1
CSeq: 2 NOTIFY
Call-ID: kblivgathfum...@sip.test.fi
Route: sip:127.0.0.1:5070;transport=tcp;r2=on;lr, 
sip:192.98.102.10;transport=tcp;r2=on;lr
Content-Length: 0
User-Agent: OpenXg Presence/XCAP Server  (4.0.0-pre1 (i386/linux))
Max-Forwards: 70
Event: message-summary
Contact: sip:127.0.0.1:5080;transport=tcp
Subscription-State: active;expires=900

  00 00 03 04 00 06 00 00 00 00 00 00 00 00 08 00   
0010  45 10 02 b3 e5 4d 40 00 40 06 54 e5 7f 00 00 01   EM@.@.T.
0020  7f 00 00 01 9e 84 13 ce 2b 73 81 d2 25 bd 9e 17   +s..%...
0030  80 18 02 01 00 a8 00 00 01 01 08 0a 00 3b 64 9e   .;d.
0040  00 3b 64 9d 4e 4f 54 49 46 59 20 73 69 70 3a 6a   .;d.NOTIFY sip:j
0050  68 5f 74 65 73 74 5f 66 69 40 31 39 32 2e 39 38   h_test_fi@192.98
0060  2e 31 30 32 2e 31 30 3a 35 30 37 34 3b 61 6c 69   .102.10:5074;ali
0070  61 73 3d 31 39 32 2e 39 38 2e 31 30 32 2e 31 30   as=192.98.102.10
0080  7e 34 36 39 36 31 7e 32 3b 74 72 61 6e 73 70 6f   ~46961~2;transpo
0090  72 74 3d 74 63 70 20 53 49 50 2f 32 2e 30 0d 0a   rt=tcp SIP/2.0..
00a0  56 69 61 3a 20 53 49 50 2f 32 2e 30 2f 54 43 50   Via: SIP/2.0/TCP
00b0  20 31 32 37 2e 30 2e 30 2e 31 3a 35 30 38 30 3b127.0.0.1:5080;
00c0  62 72 61 6e 63 68 3d 7a 39 68 47 34 62 4b 35 38   branch=z9hG4bK58
00d0  32 62 2e 62 62 62 34 36 38 61 34 30 30 30 30 30   2b.bbb468a40
00e0  30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30   
00f0  30 30 30 2e 30 0d 0a 54 6f 3a 20 73 69 70 3a 6a   000.0..To: sip:j
0100  68 40 74 65 73 74 2e 66 69 3b 74 61 67 3d 78 6f   h...@test.fi;tag=xo
0110  68 63 74 0d 0a 46 72 6f 6d 3a 20 73 69 70 3a 6a   hct..From: sip:j
0120  68 40 74 65 73 74 2e 66 69 3b 74 61 67 3d 32 63   h...@test.fi;tag=2c
0130  31 35 39 39 38 38 31 33 39 39 33 61 35 66 32 36   15998813993a5f26
0140  39 38 61 38 36 39 33 30 34 32 65 34 36 66 2d 64   98a8693042e46f-d
0150  30 64 31 0d 0a 43 53 65 71 3a 20 32 20 4e 4f 54   0d1..CSeq: 2 NOT
0160  49 46 59 0d 0a 43 61 6c 6c 2d 49 44 3a 20 6b 62   IFY..Call-ID: kb
0170  6c 69 76 67 61 74 68 66 75 6d 6e 78 6c 40 73 69   livgathfumnxl@si
0180  70 2e 74 65 73 74 2e 66 69 0d 0a 52 6f 75 74 65   p.test.fi..Route
0190  3a 20 3c 73 69 70 3a 31 32 37 2e 30 2e 30 2e 31   : sip:127.0.0.1
01a0  3a 35 30 37 30 3b 74 72 61 6e 73 70 6f 72 74 3d   :5070;transport=
01b0  74 63 70 3b 72 32 3d 6f 6e 3b 6c 72 3e 2c 20 3c   tcp;r2=on;lr, 
01c0  73 69 70 3a 31 39 32 2e 39 38 2e 31 30 32 2e 31   sip:192.98.102.1
01d0  30 3b 74 72 61 6e 73 70 6f 72 74 3d 74 63 70 3b   0;transport=tcp;
01e0  72 32 3d 6f 6e 3b 6c 72 3e 0d 0a 43 6f 6e 74 65   r2=on;lr..Conte
01f0  6e 74 2d 4c 65 6e 67 74 68 3a 20 30 0d 0a 55 73   nt-Length: 0..Us
0200  65 72 2d 41 67 65 6e 74 3a 20 4f 70 65 6e 58 67   er-Agent: OpenXg
0210  20 50 72 65 73 65 6e 63 65 2f 58 43 41 50 20 53Presence/XCAP S
0220  65 72 76 65 72 20 20 28 34 2e 30 2e 30 2d 70 72   erver  (4.0.0-pr
0230  65 31 20 28 69 33 38 36 2f 6c 69 6e 75 78 29 29   e1 (i386/linux))
0240  0d 0a 4d 61 78 2d 46 6f 72 77 61 72 64 73 3a 20   ..Max-Forwards: 
0250  37 30 0d 0a 45 76 65 6e 74 3a 20 6d 65 73 73 61   70..Event: messa
0260  67 65 2d 73 75 6d 6d 61 72 79 0d 0a 43 6f 6e 74   ge-summary..Cont
0270  61 63 74 3a 20 3c 73 69 70 3a 31 32 37 2e 30 2e   act: sip:127.0.
0280  30 2e 31 3a 35 30 38 30 3b 74 72 61 6e 73 70 6f   0.1:5080;transpo
0290