<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="Open WebMail 2.20 20031014" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>

<font size="2">Heheh. I SO can't take credit for it, I'm afraid.  I was having serious issues with the timer only on the Snom phones and someone else in the list pointed out that that could be a possibility. Lo and behold, that was the issue. 
<br />
<br />N.
<br /><b>
<br />
<br />On Tue, 20 Jun 2006 21:23:57 +0200, Greger V. Teigre wrote</b>
<br />&gt; 

Excellent bugtracking!
<br />&gt; 
g-)
<br />&gt; 
<br />&gt; 
sip wrote:
<blockquote type="cite" cite="mid20060620152923.M6815@infinideas.com">
  
  
  <font size="2">Olivier,
  
<br />&gt; 
<br />&gt; 
I actually had this problem as well, and what it turned out to be was
that, by default, the inv_timer resets every time it gets a provisional
reply. Some of my phones (Snom phones) were sending a lot of
provisional replies, meaning that the timer never seemed to expire.  I
had to add a modparam to keep this behaviour from occurring. 
<br />&gt; 
<br />&gt; 
modparam(&quot;tm&quot;, &quot;restart_fr_on_each_reply&quot;,0)
  
<br />&gt; 
<br />&gt; 
Basically telling it not to restart the timer each time it gets a
reply. 
<br />&gt; 
<br />&gt; 
See if that helps. 
<br />&gt; 
<br />&gt; 
Incidentally, I worked out a way (with some very good pointers in the
right direction) on allowing users to set their own timers, storing
them in the DB, and accessing them via AVPops if you're interested. 
<br />&gt; 
<br />&gt; 
N.
  
<br />&gt; 
  <b>
<br />&gt; 
<br />&gt; 
On Tue, 20 Jun 2006 14:02:06 +0200, olivier.taylor wrote</b>
  
<br />&gt; 
&gt; Hi Greger,
  
<br />&gt; 
&gt; Thanks for the answer :)
  
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Ok you right I am talking about Cancel.
  
<br />&gt; 
&gt; 
<br />&gt; 
&gt; But I think i have found the problem...
  
<br />&gt; 
&gt; 
<br />&gt; 
&gt; I have 
<br />&gt; 
&gt; modparam(&quot;tm&quot;, &quot;fr_inv_timer&quot;, 45)
  
<br />&gt; 
&gt; 
<br />&gt; 
&gt; When i make a call between 2 Ua registered on the same server and
not
using another proxy, it seems that the timer is never hits and Uas
continue ringing until Uac send a cancel.
  
<br />&gt; 
&gt; When I forward the call to Pstn, the other proxy(Pstn with timeout
set
to 60 seconds) send a cancel, that's why I never find a 408 and always
have a CANCEL.
  
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Any idea on why the timer doesn't react?
  
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Olivier
  
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Greger V. Teigre a écrit :
  <blockquote cite="mid44970503.6070704@teigre.com" type="cite"> You
are talking about a CANCEL, not a 487. The 487 is the response to a
CANCEL. Only the UAC (the caller) is allowed to send a CANCEL, the UAS
(callee) should not. Thus, the 487 you see from the callee is the
response it gives you when caller cancelled the call. Hence, 487 should
not be handled in your failure route (just break;).  However, you are
probably looking for 408 No answer, which should result in forwarding
or voicemail or whatever the user has set up.
    
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Bottom line: The 487 you see before you reach 60 seconds is
generated
by the caller (or the gateway). And yes, a stateful proxy is also
allowed to send a CANCEL, so if you have a proxy between you and the
caller, it might be that the timer in that proxy is set to lower.
    
<br />&gt; 
&gt; g-)
    
<br />&gt; 
&gt; 
<br />&gt; 
&gt; olivier.taylor wrote:
    <blockquote cite="mid4496D12D.6020403@gmail.com" type="cite"> 
<br />&gt; 
&gt; 487 is checked, 
<br />&gt; 
&gt; How do you make the difference between a 487 issued by the caller
and a
487 issued by the callee, that's the question?
      
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Ok, I must be stupid, once again :(
      
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Olivier
      
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Xavier TRENTIN a écrit :
      <blockquote cite="mid4496C330.7050201@efixo.com" type="cite">
Check if reply status is not 487 in the failure route.
        
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Xavier.
        
<br />&gt; 
&gt; 
<br />&gt; 
&gt; olivier.taylor a écrit :
        <blockquote cite="mid4496C170.7090201@gmail.com" type="cite">Maybe
I
am stupid again, but 60000 or 6000000000000000000000 doesn't
change the problem, the callee still send a 487 before any timeout on
SER.
          
<br />&gt; 
&gt; 
<br />&gt; 
&gt; And i don't find a way to distinguish a 487 set by the callee from
a
487 sent by the caller.
          
<br />&gt; 
&gt; My mind is that those values are in seconds, not in miliseconds...
          
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Hey Greger, any idea?
          
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Olivier
          
<br />&gt; 
&gt; 
<br />&gt; 
&gt; Weiter Leiter a écrit :
          <blockquote cite="mid4496B568.80006@googlemail.com" type="cite">
            
<pre wrap="">Try with 60000. After last timers update, those values are in ms.
<br />
<br />olivier.taylor wrote:
<br />  </pre>
            <blockquote type="cite">
              
<pre wrap="">hi all,
<br />
<br />I have
<br />
<br />modparam(&quot;tm&quot;, &quot;fr_inv_timer&quot;, 60)
<br />
<br />when a callee doesn't anwer, he often send a 487 (cancelled) before 60
<br />seconds...
<br />
<br />It means timeout in fact or no answer...
<br />If the caller stop the call, I also get a 487...
<br />
<br />How to make the difference on a 487 generated by the caller and by the
<br />callee?
<br />
<br />It makes difference, if it's generated by the callee, I will forward
<br />the call to voicemail or another number, if it's generated by the
<br />caller, I will do nothing.
<br />
<br />When I set fr_inv_timer to 15, I always get a timeout and it's ok, but
<br />my customers dislikes that as well as the callees who needs to be
<br />better than Ben Jonhson for the 100meters :(
<br />
<br />Does exists a parameter to be send to the callee to tell him to wait
<br />60 seconds + 1 before sending me a Cancel?
<br />
<br />Regards,
<br />
<br />Olivier
<br />_______________________________________________
<br />Serusers mailing list
<br /><a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>

    </pre>
            </blockquote>
            
<pre wrap="">_______________________________________________
<br />Serusers mailing list
<br /><a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>

  </pre>
          </blockquote>
          
<pre wrap="">
<hr width="90%" size="4" />
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
  </pre>
        </blockquote>
        
<br />&gt; 
&gt;
        
<pre wrap="">
<hr width="90%" size="4" />
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
  </pre>
      </blockquote>
      
<pre wrap="">
<hr width="90%" size="4" />
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
  </pre>
    </blockquote>
    
<pre wrap="">
<hr width="90%" size="4" />
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
  </pre>
  </blockquote>
  
<br />&gt; 
<br />&gt; 
  </font>
</blockquote>

<br />
<br />
<br />
</font>
</BODY>
</HTML>