<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Gill Sans MT";
        panose-1:2 11 5 2 2 1 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
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:"Gill Sans MT";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'>I have SIP handsets which
allow the user to forward a call to another number after a specified interval
of ringing time. On the SwissVoice this is refered to as CFNR (Call Forward on
No Response). What actually happens is that after a specified period of time
(default 15 seconds), the handset sends back a “302 Moved Temporarily”
response to Asterisk.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'>The problem is that when
Asterisk receives the 302 message, it doesn’t reset the ringing timer in
the Dial command. Let’s say I’ve issued a Dial command such as:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'>exten =>
_34XX,1,Dial(SIP/fred|20)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'>exten =>
_34XX,n,Voicemail(fred)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'>What happens is that the
SIP handset rings for the default time of 15 seconds, then sends back the 302
message with the new number to forward to. Asterisk faithfully drops into the
Local context with this number, but after a further 5 seconds of ringing the
new number, the original Dial command exits and proceeds to the next priority,
namely the Voicemail command. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'>The problem with this is
that the forwarded number only rings for 5 seconds (or not at all if it takes a
few seconds to actually make the new outgoing call, as can happen often with
cellphones), which is not enough time for them to answer it.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'>Has anyone else had this
problem, and is there a solution?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Gill Sans MT"><span lang=EN-AU
style='font-size:10.0pt;font-family:"Gill Sans MT"'><o:p> </o:p></span></font></p>
</div>
</body>
</html>