[OpenSIPS-Users] [Presence] How to receive presence NOTIFY over TCP ?
Pascal Maugeri
pascal.maugeri at gmail.com
Thu Mar 11 13:16:01 CET 2010
Hola Iñaki
Here is the SIP flow you asked me.
Hope it helps to spot the problem. Observe the watcher is behind NAT.
SUBSCRIBE sip:presentity at presence.net <sip%3Apresentity at presence.net>SIP/2.0
Record-Route: <sip:xxx.xxx.xxx.xxx:6666;lr=on>
Call-ID: d041f6cae786fea76503d436585708b8 at 10.1.1.235
CSeq: 1 SUBSCRIBE
From: "watcher" <sip:watcher at presence.net <sip%3Awatcher at presence.net>
>;tag=94671740
To: <sip:presentity at presence.net <sip%3Apresentity at presence.net>>
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:6666;branch=z9hG4bK581b.d3f0fa41.0
Via: SIP/2.0/UDP 10.1.1.235:5060
;rport=5060;received=yyy.yyy.yyy.yyy;branch=z9hG4bKc5Obqwa8W
Max-Forwards: 69
Contact: <sip:watcher at 10.1.1.235:5060;transport=tcp>
Event: presence
Expires: 3600
User-Agent: XXX
Accept: application/pidf+xml
Content-Length: 0
SIP/2.0 200 OK
Record-Route: <sip:xxx.xxx.xxx.xxx:6666;lr=on>
Call-ID: d041f6cae786fea76503d436585708b8 at 10.1.1.235
CSeq: 1 SUBSCRIBE
From: "watcher" <sip:watcher at presence.net <sip%3Awatcher at presence.net>
>;tag=94671740
To: <sip:presentity at presence.net <sip%3Apresentity at presence.net>
>;tag=9886f112d485ff608a79084eaa27a247-6965
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:6666;branch=z9hG4bK581b.d3f0fa41.0
Via: SIP/2.0/UDP 10.1.1.235:5060
;rport=5060;received=yyy.yyy.yyy.yyy;branch=z9hG4bKc5Obqwa8W
Expires: 120
Contact: <sip:sa at xxx.xxx.xxx.xxx:6667>
Server: OpenSIPS (1.6.1-notls (x86_64/linux))
Content-Length: 0
NOTIFY sip:watcher at 10.1.1.235:5060;transport=tcp SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:6667;branch=z9hG4bK581b.fd70f1f5.0
To: <sip:watcher at presence.net <sip%3Awatcher at presence.net>>;tag=94671740
From: <sip:presentity at presence.net <sip%3Apresentity at presence.net>
>;tag=9886f112d485ff608a79084eaa27a247-6965
CSeq: 1 NOTIFY
Call-ID: d041f6cae786fea76503d436585708b8 at 10.1.1.235
Route: <sip:xxx.xxx.xxx.xxx:6666;lr=on>
Content-Length: 1030
User-Agent: OpenSIPS (1.6.1-notls (x86_64/linux))
Max-Forwards: 70
Event: presence
Contact: <sip:sa at xxx.xxx.xxx.xxx:6667>
Subscription-State: active;expires=120
Content-Type: application/pidf+xml
[...]
Cheers
Pascal
On Wed, Mar 10, 2010 at 4:23 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> 2010/3/10 Pascal Maugeri <pascal.maugeri at gmail.com>:
> > Hi Anca
> > We just tested the patch you sent us but we don't see any difference.
>
> Could you paste a SIP flow for the SUBSCRIBE and NOTIFY?
>
> --
> Iñaki Baz Castillo
> <ibc at aliax.net>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100311/957ccad9/attachment.htm
More information about the Users
mailing list