[OpenSIPS-Users] Dedicated Presence Service
Paris Stamatopoulos
mobius at realize.gr
Fri Apr 1 13:51:34 CEST 2011
Hi Anca,
Thanks for your interest on my issue.
Here are the NOTIFYs as being generated from the two OpenSIPS:
Initial Notify from Presence Service to Proxy OpenSIPS:
NOTIFY sip:12345 at 10.1.1.1:5080;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5061;branch=z9hG4bKdda3.9d7fd354.0
To: <sip:12345 at host.domain.com>;tag=e224ae1afcf29403
From: <sip:54321 at host.domain.com>;tag=2ccb18146f1d6c25cf2547e9412b7255-2ad8
CSeq: 47 NOTIFY
Call-ID: 8be44d189705f2de at 192.168.4.51
Route: <sip:10.1.1.1:5080;lr=on;ftag=e224ae1afcf29403>
Content-Length: 551
User-Agent: Presence Service
Max-Forwards: 70
Event: presence
Contact: <sip:presence at 10.1.1.1:5061>
Subscription-State: active;expires=40
Content-Type: application/pidf+xml
<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:c="urn:ietf:params:xml:ns:pidf:cipid" entity="sip:54321 at host.domain.c"><tuple id="t7510f55e"><status><basic>open</basic></status></tuple><dm:person id="pe44ae97b"><rpid:activities><rpid:busy/></rpid:activities><dm:note>Busy</dm:note></dm:person><tuple xmlns="urn:ietf:params:xml:ns:pidf" id="0x7fffbb5cbd50"><status><basic>open</basic></status></tuple></presence>
Proxy OpenSIPS to self:
NOTIFY sip:10.1.1.1:5080;lr=on;ftag=e224ae1afcf29403 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5080;branch=z9hG4bKdda3.d73b95f.0
Via: SIP/2.0/UDP 10.1.1.1:5061;rport=5061;received=10.1.1.1;branch=z9hG4bKdda3.9d7fd354.0
To: <sip:12345 at host.domain.com>;tag=e224ae1afcf29403
From: <sip:54321 at host.domain.com>;tag=2ccb18146f1d6c25cf2547e9412b7255-2ad8
CSeq: 47 NOTIFY
Call-ID: 8be44d189705f2de at 192.168.4.51
Content-Length: 551
User-Agent: Presence Service
Max-Forwards: 69
Event: presence
Contact: <sip:presence at 10.1.1.1:5061>
Subscription-State: active;expires=40
Content-Type: application/pidf+xml
<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:c="urn:ietf:params:xml:ns:pidf:cipid" entity="sip:54321 at host.domain.c"><tuple id="t7510f55e"><status><basic>open</basic></status></tuple><dm:person id="pe44ae97b"><rpid:activities><rpid:busy/></rpid:activities><dm:note>Busy</dm:note></dm:person><tuple xmlns="urn:ietf:params:xml:ns:pidf" id="0x7fffbb5cbd50"><status><basic>open</basic></status></tuple></presence>
Proxy OpenSIPS to self:
SIP/2.0 404 Not here
Via: SIP/2.0/UDP 10.1.1.1:5080;branch=z9hG4bKdda3.d73b95f.0;rport=5080
Via: SIP/2.0/UDP 10.1.1.1:5061;rport=5061;received=10.1.1.1;branch=z9hG4bKdda3.9d7fd354.0
To: <sip:12345 at host.domain.com>;tag=e224ae1afcf29403
From: <sip:54321 at host.domain.com>;tag=2ccb18146f1d6c25cf2547e9412b7255-2ad8
CSeq: 47 NOTIFY
Call-ID: 8be44d189705f2de at 192.168.4.51
Server: VoIP Proxy
Content-Length: 0
Proxy OpenSIPS to Presence:
SIP/2.0 404 Not here
Via: SIP/2.0/UDP 10.1.1.1:5061;rport=5061;received=10.1.1.1;branch=z9hG4bKdda3.9d7fd354.0
To: <sip:12345 at host.domain.com>;tag=e224ae1afcf29403
From: <sip:54321 at host.domain.com>;tag=2ccb18146f1d6c25cf2547e9412b7255-2ad8
CSeq: 47 NOTIFY
Call-ID: 8be44d189705f2de at 192.168.4.51
Server: VoIP Proxy
Content-Length: 0
The account 54321 in on an Eyebeam while the 12345 is on a Grandstream UA.
Regards,
Paris
From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Anca Vamanu
Sent: Thursday, March 31, 2011 6:29 PM
To: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] Dedicated Presence Service
Hi Paris,
Can you please also get a message trace with a Notify to see exactly what happens with it?
Regards,
--
Anca Vamanu
OpenSIPS Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110401/a77fd3c0/attachment.htm>
More information about the Users
mailing list