[nist-sip] Expires header in NOTIFY request

"Young-Geun Park" <[email protected]> Tue, 1 Sep 2009 16:44:52 +0900
Newsgroups gmane.comp.voip.jain-sip.user,gmane.comp.voip.nist-sip
Message-ID <[email protected]>
------=_NextPart_000_002E_01CA2B23.87ACF7F0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi, All

 

According to RFC3265 (SUBSCRIBE/NOTIFY), 

A Notify request does not have a Expires Header. 

 

But, if the last response has this header, 

the jain-sip adds the Expires header 

when calling dialog.createRequest("NOTIFY) method.

 

And if this is right, 

I think that a expires parameter should be added in Subscription-State
header

When sending a notify request with pending state In Referee.java of the
refer example.

 

Thanks, 

 

Regards, 

PARK


------=_NextPart_000_002E_01CA2B23.87ACF7F0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Batang;
	panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
	{font-family:Gulim;
	panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
	{font-family:Gulim;
	panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
	{font-family:Batang;
	panose-1:2 3 6 0 0 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	text-autospace:none;
	word-break:break-hangul;
	font-size:10.0pt;
	font-family:Batang;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Gulim;
	color:windowtext;}
 /* Page Definitions */
 @page Section1
	{size:595.3pt 841.9pt;
	margin:99.25pt 3.0cm 3.0cm 3.0cm;
	layout-grid:18.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DKO link=3Dblue vlink=3Dpurple>

<div class=3DSection1 style=3D'layout-grid:18.0pt'>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>Hi, =
All<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></fo=
nt></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>According to RFC3265 =
(SUBSCRIBE/NOTIFY),
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>A Notify request does not =
have a
Expires Header. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></fo=
nt></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>But, if the last response =
has this
header, <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>the jain-sip adds the =
Expires header
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>when calling =
dialog.createRequest(</span></font><font
face=3DArial><span lang=3DEN-US =
style=3D'font-family:Arial'>&#8220;</span></font><font
face=3D&#44404;&#47548;><span lang=3DEN-US =
style=3D'font-family:Gulim'>NOTIFY) method.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></fo=
nt></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>And if this is right, =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>I think that a expires =
parameter should
be added in Subscription-State header<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>When sending a notify =
request with
pending state In Referee.java of the refer =
example.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></fo=
nt></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>Thanks, =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'><o:p>&nbsp;</o:p></span></fo=
nt></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>Regards, =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D&#44404;&#47548;><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Gulim'>PARK<o:p></o:p></span></font=
></p>

</div>

</body>

</html>

------=_NextPart_000_002E_01CA2B23.87ACF7F0--