Igor,

It's OK for you to use separate Call-IDs. The same-Contact clause is 
there to avoid lost-update problems when two REGISTER requests updating 
the same record are sent close together in time. Packet loss or packet 
reordering could result in the registrar applying the updates in the 
wrong order but this is not an issue if the registrations are for 
different AORs.

Anders

Igor Vanin wrote:

> Hello, All
> 
> I am writing multi-line SIP softphone, it allows to register two lines 
> with different Address-of-Records on different registrars simultaneously.
> Theoretically it is possible to configure this lines to work with the 
> same server with different accounts and Address-of-Records.
> RFC3261 in section "10.2 Constructing the REGISTER Request"
> requests, that all registrations from a UAC SHOULD use the same Call-ID
> header field value for registrations sent to a particular registrar.
> But when these registrations are independent from each other (even if
> they are performed with the same registrar), MAY I use different Call-IDs 
> for these REGISTERs, or I should use the same Call-ID and CSeq sequence 
> for these registrations in this case?
> I want to use different Call-IDs in this case because these registrations
> are completely independent from each other (with exception of registrar
> hostname and my IP address).
> 
> For example, if the REGISTER request from the first softphone line is like 
> this:
> === Cut ===
> REGISTER sip:sip.example.net SIP/2.0
> From: <sip:[EMAIL PROTECTED]:sip.example.net>;tag=11111
> To: <sip:[EMAIL PROTECTED]:sip.example.net>
> Contact: <sip:[EMAIL PROTECTED]:49152>
> Call-ID: [EMAIL PROTECTED]
> CSeq: 1 REGISTER
> === Cut ===
> 
> the REGISTER request from the second softphone MAY be like this?
> === Cut ===
> REGISTER sip:sip.example.net SIP/2.0
> From: <sip:[EMAIL PROTECTED]:sip.example.net>;tag=22222
> To: <sip:[EMAIL PROTECTED]:sip.example.net>
> Contact: <sip:[EMAIL PROTECTED]:50152>
> Call-ID: [EMAIL PROTECTED]
> CSeq: 1 REGISTER
> === Cut ===
> 
> or I SHOULD use this form?
> === Cut ===
> REGISTER sip:sip.example.net SIP/2.0
> From: <sip:[EMAIL PROTECTED]:sip.example.net>;tag=22222
> To: <sip:[EMAIL PROTECTED]:sip.example.net>
> Contact: <sip:[EMAIL PROTECTED]:50152>
> Call-ID: [EMAIL PROTECTED]
> CSeq: 2 REGISTER
> === Cut ===
> 
> --
> With best regards, Igor Vanin, St. Petersburg, Russia
> mailto:[EMAIL PROTECTED]  http://gpmail.spb.ru
> 
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
> 
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to