linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] REGISTER bug


From: Klaus Darilion
Subject: Re: [Linphone-developers] REGISTER bug
Date: Mon, 28 Mar 2011 16:42:44 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9


Am 25.03.2011 11:38, schrieb Guillaume BERAUDO:
> Hi Klaus,
> 
> Thanks for your email.
> 
>> From: <sip:address@hidden>;tag=3925467721
>> To: <sip:address@hidden>;tag=3925467721
>> The To header is buggy as it must not contain a tag.
> 
> Why do you thing it is buggy?
> 
> I read on http://www.ietf.org/rfc/rfc3261.txt #20.39 :
> 
> The following are examples of valid To header fields:
>    To: The Operator <sip:address@hidden>;tag=287447
>    t: sip:address@hidden

Yes, it is allowed from the grammer, but not in the context of a
registration.

The From/To tags identify dialogs. An out-of-dialog request contains
only a From-tag. An in-dialog request contains also a To-tag.

REGISTER does not create a dialog. Thus, the REGISTER is always an
out-of-dialog request. Even re-Registrations are out-of-dialog thus must
not have a to-tag (as the to-tag is generated by the UAS).

See also the RFC: http://tools.ietf.org/html/rfc3261#section-8.1.1.2

>    A request outside of a dialog MUST NOT contain a To tag; the tag in
>    the To field of a request identifies the peer of the dialog.  Since
>    no dialog is established, no tag is present.


regards
Klaus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]