< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Sub scribe contact


(reposting since anything with "subscribe" in the subject triggers
moderator approval)

Hi,

I am currently using commit 4015 (not the very latest but I don't have time
to upgrade every day). I am playing with event notification for presence
and seeing the following:

- My user agent test application REGISTERs a user on a server running SER.

- It sends a SUBSCRIBE for a user's presence (for ex.
sip:foobar@xxxxxxxxxxxx). The request line looks like SUBSCRIBE
sip:foobar@xxxxxxxxxxxx SIP/2.0

- SER replies with a 200 OK where the contact header field is Contact:
<sip:myserver.com> (I believe this is correct according to the RFCs)

- DUM refreshes the subscription. On the second SUBSCRIBE, it uses the
contact that was specified in the 200 OK and modifies the request line. The
request line now becomes

SUBSCRIBE sip:myserver.com SIP/2.0

This causes the SER server to terminate the subscription with 404 not
found, since the user name is missing.

Is this the expected behavior?
Shouldn't resiprocate add the user name to the contact?

Thanks,
CG