[OpenSIPS-Users] Dedicated Presence Service

Paris Stamatopoulos mobius at realize.gr
Fri Apr 1 14:46:46 CEST 2011


Hi Anca,

I don't think that I tamper with RURI anywhere in my configuration. Look at the subscribe:

UA to OpenSIPS Proxy:

SUBSCRIBE sip:54321 at host.domain.com:5080 SIP/2.0
Via: SIP/2.0/UDP 192.168.4.51:5065;branch=z9hG4bK118539de2925da62
From: "grandstream" <sip:12345 at host.domain.com:5080>;tag=3b9abe8aa38581c2
To: <sip:54321 at host.domain.com:5080>
Contact: <sip:12345 at 192.168.4.51:5065;transport=udp>
Supported: eventlist, path
Proxy-Authorization: Digest username="12345", realm="domain.com", algorithm=MD5, uri="sip:54321 at host.domain.com:5080", nonce="4d95c7800000001ea9cf0b269381a4680afc4997cc9150d1", response="118be49e2c8d50fe31beaac2a6f14357"
Call-ID: 18f1d1848584c708 at 192.168.4.51
CSeq: 2202 SUBSCRIBE
User-Agent: Grandstream GXP2000 1.2.3.5
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Event: dialog
Expires: 60
Accept: application/dialog-info+xml, multipart/related, application/rlmi+xml
Content-Length: 0

OpenSIPS Proxy to Presence:

SUBSCRIBE sip:54321 at host.domain.com:5080 SIP/2.0
Record-Route: <sip:10.1.1.1:5080;lr=on;ftag=3b9abe8aa38581c2>
Via: SIP/2.0/UDP 10.1.1.1:5080;branch=z9hG4bK407c.c28d0582.0
Via: SIP/2.0/UDP 192.168.4.51:5065;rport=5065;received=192.168.4.51;branch=z9hG4bK118539de2925da62
From: "grandstream" <sip:12345 at host.domain.com:5080>;tag=3b9abe8aa38581c2
To: <sip:54321 at host.domain.com:5080>
Contact: <sip:12345 at 192.168.4.51:5065;transport=udp>
Supported: eventlist, path
Call-ID: 18f1d1848584c708 at 192.168.4.51
CSeq: 2202 SUBSCRIBE
User-Agent: Grandstream GXP2000 1.2.3.5
Max-Forwards: 69
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE
Event: dialog
Expires: 60
Accept: application/dialog-info+xml, multipart/related, application/rlmi+xml
Content-Length: 0

Regards,
Paris

From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Anca Vamanu
Sent: Friday, April 01, 2011 3:30 PM
To: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] Dedicated Presence Service

Hi Paris,

It is not ok that the RURI in Notify is: "sip:12345 at 10.1.1.1:5080;transport=udp"<sip:12345 at 10.1.1.1:5080;transport=udp>.
The presence server uses the Contact in Subscribe as RURI. Do you so some sort of contact manipulation for the incoming Subscribes. Watch also how the initial Subscribe looks like - search after the Call-ID.

Regards,



--

Anca Vamanu

OpenSIPS Developer


On 01/04/11 14:51, Paris Stamatopoulos wrote:
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:

Regards,
Paris

From: users-bounces at lists.opensips.org<mailto: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<mailto: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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110401/c7213ade/attachment.htm>


More information about the Users mailing list