2008/10/28 Bob Penfield <[EMAIL PROTECTED]>:
> Could your proxy distinguish between subscription for the presence server and
> those for the UA based on the Request-URI? Something like this:
>
> For the presence server:
>
> SUBSCRIBE sip:ps.example.com
>
> For the UA:
>
> SUBSCRIBE sip:[EMAIL PROTECTED]
This is incorrect. The sender of the SUBSCRIBE will always use:
SUBSCRIBE sip:[EMAIL PROTECTED]
Also, this sender doesn't know if its SUBSCRIBE wil be handled by A's
UA or by a presence server.
Example:
- A calls B:
INVITE sip:[EMAIL PROTECTED]
From: sip:[EMAIL PROTECTED];tag=1234
Call-ID: abcdefg
- B generates this SUBSCRIBE:
SUBSCRIBE sip:[EMAIL PROTECTED] SIP/2.0
From: [EMAIL PROTECTED];tag=xxxxx
To: sip:[EMAIL PROTECTED]
Event: dialog;call-id=abcdefg;to-tag=1234
The SUBSCRIBE sent by B *always* contains the username (A) in the RURI.
--
Iñaki Baz Castillo
<[EMAIL PROTECTED]>
_______________________________________________
Sip mailing list https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [EMAIL PROTECTED] for questions on current sip
Use [EMAIL PROTECTED] for new developments on the application of sip