[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sip-implementors
Subject:    RE: [Sip-implementors] The 3xx Response Code (Urgent!!!)
From:       "Chris Boulton" <cboulton () ubiquity ! net>
Date:       2003-02-27 13:31:26
Message-ID: 45730E094814E44488F789C1CDED27AE13D98F () GBNEWP0758M ! eu ! ubiquity ! net
[Download RAW message or body]

-----Original Message-----
From: Yen Cheng [mailto:cybersaint@pcs.csie.ntu.edu.tw] 
Sent: 27 February 2003 13:19
To: sip-implementors@cs.columbia.edu
Subject: [Sip-implementors] The 3xx Response Code (Urgent!!!)
 
Dear all,
 
I have several questions regarding 300(Multiple choices),301(Moved
Permanently) and 302(Moved Temporarily) responses that the Redirect
Server sends. (Consider the uesr agent client register 3 locations 
:L1, L2, and L3)
 
(1) When and under what circumstances is each response code sent? In
other words, if the user agent client 
     sends the invite message to the redirect server, what circumstances
will invoke the redirect server to send the 
    300 response code? Besides, what circumstances will invoke the
redirect server to send the 302 response    
    code? It seems no differences between 300 and 302 response code.
 
300 is a general header that indicates that the user can be contacted at
several locations - So has no conditional use.  302 Would be used if the
server has knowledge that the user can not be serviced currently at the
address in the R-URI + can express time that user can not be serviced by
using an expires header on the  returned contacts.  Remember that SIP
only provides guidelines for error responses.  You would not be
incorrect if you sent a 300 instead of a 302. 
 
(2) How will the UA tell the Registrar that it has already moved
TEMPORARILY? What action does the UA take when it moves temporarily?
According to the spec and  the books, why the redirect server always
send 302 response code back to user agent instead of 300 response code?
 
As above, this would be server (Implementation) specific - you might
have a server that monitors presence of it's end users and therefore
knows that a user is not available at the endpoint in the R-URI - So
offers alternatives.
 
Chris.
 
 
Please let me know as soon as possible any suggestions or ideas
regarding this.
 
Thanks and Regards,
Lai
    
 

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:st1="urn:schemas-microsoft-com:office:smarttags" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C2DE64.866D6F90">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="time"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="date"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:PMingLiU;
	panose-1:2 1 6 1 0 1 1 1 1 1;
	mso-font-alt:"Arial Unicode MS";
	mso-font-charset:136;
	mso-generic-font-family:roman;
	mso-font-format:other;
	mso-font-pitch:variable;
	mso-font-signature:1 134742016 16 0 1048576 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:553679495 -2147483648 8 0 66047 0;}
@font-face
	{font-family:"\@PMingLiU";
	panose-1:0 0 0 0 0 0 0 0 0 0;
	mso-font-charset:136;
	mso-generic-font-family:roman;
	mso-font-format:other;
	mso-font-pitch:variable;
	mso-font-signature:1 134742016 16 0 1048576 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:PMingLiU;
	mso-hansi-font-family:"Times New Roman";
	mso-bidi-font-family:PMingLiU;
	mso-fareast-language:ZH-TW;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:navy;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple style='tab-interval:36.0pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Yen Cheng
[mailto:cybersaint@pcs.csie.ntu.edu.tw] <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><st1:date
Month="2" Day="27" Year="2003"><font size=2 face=Tahoma><span style='font-size:
 10.0pt;font-family:Tahoma'>27 February 2003</span></font></st1:date><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> \
</span></font><st1:time Hour="13" Minute="19"><font size=2 face=Tahoma><span \
style='font-size:10.0pt;  font-family:Tahoma'>13:19</span></font></st1:time><font \
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> sip-implementors@cs.columbia.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Sip-implementors] The
3xx Response Code (Urgent!!!)</span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face=PMingLiU><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=PMingLiU><span
style='font-size:10.0pt'>Dear all,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font><o:p></o:p></p>


</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face=PMingLiU><span
style='font-size:12.0pt'>I have</span></font><font face="Times New Roman"><span
style='font-family:"Times New \
Roman";mso-ascii-font-family:PMingLiU;mso-bidi-font-family: \
PMingLiU'>&nbsp;</span></font>several<font face="Times New Roman"><span \
style='font-family:"Times New \
Roman";mso-ascii-font-family:PMingLiU;mso-bidi-font-family: \
PMingLiU'>&nbsp;</span></font>questions regarding 300(Multiple choices),301(Moved \
Permanently) and 302(Moved Temporarily) responses that the Redirect Server sends. \
(Consider the uesr agent client register 3 locations <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face=PMingLiU><span
style='font-size:12.0pt'>:L1, L2, and L3)<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font><o:p></o:p></p>


</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=PMingLiU><span
style='font-size:10.0pt'>(1) </span></font>When and under what circumstances is
each response code sent? In<font face="Times New Roman"><span style='font-family:
"Times New Roman";mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font>other
 words, if the user agent client<font face="Times New Roman"><span
style='font-family:"Times New \
Roman";mso-ascii-font-family:PMingLiU;mso-bidi-font-family: \
PMingLiU'>&nbsp;</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;&nbsp;&nbsp;&nbsp;</span></font>
 sends the invite message to the redirect server, what circumstances will invoke
the redirect server to send the <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;&nbsp;&nbsp;</span></font>
 300 response code? Besides, what circumstances will invoke the redirect server
to send the 302 response<font face="Times New Roman"><span style='font-family:
"Times New Roman";mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;&nbsp;&nbsp;</span></font>
 <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;&nbsp;&nbsp;</span></font>
 code? It seems no differences between 300 and 302 response code.<o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>300 is a general header that indicates
that the user can be contacted at several locations &#8211; So has no
conditional use.<span style='mso-spacerun:yes'>&nbsp; </span>302 Would be used
if the server has knowledge that the user can not be serviced currently at the
address in the R-URI + can express time that user can not be serviced by using
an expires header on <span class=GramE>the <span
style='mso-spacerun:yes'>&nbsp;</span>returned</span> contacts.<span
style='mso-spacerun:yes'>&nbsp; </span>Remember that SIP only provides
guidelines for error responses.<span style='mso-spacerun:yes'>&nbsp; </span>You
would not be incorrect if you sent a 300 instead of a 302. \
<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font><o:p></o:p></p>


</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=PMingLiU><span
style='font-size:10.0pt'>(2) </span></font>How will the UA tell the Registrar
that it has already moved TEMPORARILY? What action does the UA take when it
moves temporarily?<font face="Times New Roman"><span style='font-family:"Times New \
Roman"; mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font>According
 to<font face="Times New Roman"><span style='font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font>the
spec and<span class=GramE><font face="Times New Roman"><span style='font-family:
"Times New Roman";mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font>
 the</span> books,<font face="Times New Roman"><span style='font-family:"Times New \
Roman"; mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font>why
 the redirect server<font face="Times New Roman"><span style='font-family:"Times New \
Roman"; mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font>always<font
 face="Times New Roman"><span style='font-family:"Times New \
Roman";mso-ascii-font-family: \
PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font>send 302 response code \
back to user agent instead of 300 response code?<o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>As above, this would be server
(Implementation) specific &#8211; you might have a server that monitors
presence of <span class=GramE>it&#8217;s</span> end users and therefore knows
that a user is not available at the endpoint in the R-URI &#8211; So offers
alternatives.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Chris.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font><o:p></o:p></p>


</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face=PMingLiU><span
style='font-size:12.0pt'>Please let me know as soon as possible any suggestions
or ideas regarding this.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font><o:p></o:p></p>


</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face=PMingLiU><span
style='font-size:12.0pt'>Thanks and Regards,<br>
</span></font><font size=2><span style='font-size:10.0pt'>Lai</span></font><br>
<font face="Times New Roman"><span style='font-family:"Times New Roman";
mso-ascii-font-family:PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;&nbsp;&nbsp;&nbsp;</span></font><o:p></o:p></p>


</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";mso-ascii-font-family:
PMingLiU;mso-bidi-font-family:PMingLiU'>&nbsp;</span></font><o:p></o:p></p>

</div>

</div>

</body>

</html>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic