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@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:12...@host.domain.com>;tag=e224ae1afcf29403
From: <sip:54...@host.domain.com>;tag=2ccb18146f1d6c25cf2547e9412b7255-2ad8
CSeq: 47 NOTIFY
Call-ID: 8be44d189705f2de@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@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@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:12...@host.domain.com>;tag=e224ae1afcf29403
From: <sip:54...@host.domain.com>;tag=2ccb18146f1d6c25cf2547e9412b7255-2ad8
CSeq: 47 NOTIFY
Call-ID: 8be44d189705f2de@192.168.4.51
Content-Length: 551
User-Agent: Presence Service
Max-Forwards: 69
Event: presence
Contact: <sip:presence@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@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:12...@host.domain.com>;tag=e224ae1afcf29403
From: <sip:54...@host.domain.com>;tag=2ccb18146f1d6c25cf2547e9412b7255-2ad8
CSeq: 47 NOTIFY
Call-ID: 8be44d189705f2de@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:12...@host.domain.com>;tag=e224ae1afcf29403
From: <sip:54...@host.domain.com>;tag=2ccb18146f1d6c25cf2547e9412b7255-2ad8
CSeq: 47 NOTIFY
Call-ID: 8be44d189705f2de@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-boun...@lists.opensips.org 
[mailto:users-boun...@lists.opensips.org] On Behalf Of Anca Vamanu
Sent: Thursday, March 31, 2011 6:29 PM
To: users@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




_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to