<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=379525714-08012008><FONT face=Arial
color=#0000ff size=2>Section 11.2 of RFC 3261 details the "Processing of OPTIONS
Request"</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=379525714-08012008><FONT face=Arial
color=#0000ff size=2> The response to an OPTIONS is constructed
using the standard rules<BR> for a SIP response as discussed in
Section 8.2.6. The response code<BR> chosen MUST be the same
that would have been chosen had the request<BR> been an
INVITE. That is, a 200 (OK) would be returned if the UAS
is<BR> ready to accept a call, a 486 (Busy Here) would be returned
if the<BR> UAS is busy, etc. This allows an OPTIONS request to
be used to<BR> determine the basic state of a UAS, which can be an
indication of<BR> whether the UAS will accept an INVITE
request.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=379525714-08012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=379525714-08012008><SPAN
class=379525714-08012008><FONT face=Arial color=#0000ff size=2>Section 21.3.3 of
RFC3261 details the "302 Moved Temporarily" response
code.</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=379525714-08012008><SPAN
class=379525714-08012008></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=379525714-08012008><FONT face=Arial
color=#0000ff size=2>Looks to me like those two things should interwork just
fine.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of
</B>Olivier<BR><B>Sent:</B> 08 January 2008 14:32<BR><B>To:</B> Asterisk Users
Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re:
[asterisk-users] How to check if a SIP phone isforwardedwithout ringing it
?<BR></FONT><BR></DIV>
<DIV></DIV><BR><BR>
<DIV><SPAN class=gmail_quote>2008/1/8, Steve Langstaff <<A
href="mailto:steve.langstaff@citel.com">steve.langstaff@citel.com</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>That's
going to be pretty phone-specific. How about asking your phone supplier to
fix their phone so that it responds to OPTIONS
correctly?</FONT></SPAN></DIV></DIV></BLOCKQUOTE>
<DIV dir=ltr align=left><BR>Yes, you're right but RFC3261 doesn't specify such
302 replies.<BR>So I'm very pessimistic about my phone supplier
answer.<BR></DIV>
<DIV><BR> </DIV><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:asterisk-users-bounces@lists.digium.com"
target=_blank>asterisk-users-bounces@lists.digium.com</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:asterisk-users-bounces@lists.digium.com"
target=_blank>asterisk-users-bounces@lists.digium.com</A>] <B>On Behalf Of
</B>Olivier<BR><B>Sent:</B> 08 January 2008 12:50<BR><B>To:</B> Asterisk
Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re:
[asterisk-users] How to check if a SIP phone is forwardedwithout ringing
it ?<BR></FONT><BR></DIV>
<DIV><SPAN class=e id=q_117598dd83ba8687_1>
<DIV></DIV>2008/1/7, Kevin P. Fleming <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:kpfleming@digium.com"
target=_blank>kpfleming@digium.com</A>>:
<DIV><SPAN class=gmail_quote></SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Olivier
wrote:<BR><BR>> Is there way for an Asterisk server to check if a sip
phone is forwarded<BR>> without bothering phone's user
?<BR><BR>No.<BR><BR>> I was thinking of some Alert-Info option that
would let the phone reply <BR>> with a 302 Moved Temporarily or 182
Queued message and not let the phone<BR>> ring or display anything on
its screen.<BR><BR>According to the SIP RFC, a SIP endpoint is supposed
to respond to an<BR>OPTIONS message the same way that it would respond
to an INVITE message <BR>with the identical destination, but I've never
seen a phone respond to<BR>an OPTIONS message with anything but '200
OK', even when a redirect<BR>(forward) is in place.</BLOCKQUOTE>
<DIV><BR>So, the alternative option is to play with html and use phone
embedded html server to get this redirection data.
<BR><BR>Cheers<BR></DIV><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">--<BR>Kevin
P. Fleming<BR>Director of Software Technologies<BR>Digium, Inc. - "The
Genuine Asterisk Experience" (TM)
<BR><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>--Bandwidth
and Colocation Provided by <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.api-digital.com--"
target=_blank>http://www.api-digital.com-- </A><BR><BR>asterisk-users
mailing list<BR>To UNSUBSCRIBE or update options visit:<BR> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>