<div dir="ltr">Hello, Alex!<div><br></div><div>Fisrt of all, thanks for you help with this problem!</div><div><br></div><div>I don't think that this will help me. I can see that this parameter is enabled by default and in fact it is working in some cases. One case where this works is when the INVITE is sended for more than one endpoint (when the same user is registered in many devices). When someone answers the INVITE, Kamailio sends a CANCEL message to the other endpoints and it has the Reason header showing that the call was answered elsewhere.</div><div><br></div><div>I want to add the CANCEL Reason header when the timer expires, so kamilio will not receive a final replay to that transaction.</div><div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><span style="background-color:rgb(255,255,255)"><font size="2" color="#000000"><strong style="font-family:Arial"><u><br></u></strong></font></span></div><div><span style="background-color:rgb(255,255,255)"><font size="2" color="#000000"><strong style="font-family:Arial"><u><br></u></strong></font></span></div><div><span style="background-color:rgb(255,255,255)"><font size="2" color="#000000"><strong style="font-family:Arial"><u>Bruno Emer</u></strong></font></span></div><div><font color="#00a1e6" style="font-size:small;font-family:sans-serif"><br></font></div><div>Mobile: +55 11 96540-0044 </div><div>email: <a href="mailto:brunoemer@gmail.com" target="_blank">brunoemer@gmail.com</a></div><div><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif"></span><div style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;margin-top:5px"><a href="https://www.facebook.com/bruno.emer.5" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/facebook.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="https://www.linkedin.com/profile/view?id=86461237&trk=spm_pic" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/linkedin.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="https://twitter.com/brunoemer_" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/twitter.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="https://www.flickr.com/photos/122070309@N03/" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/flickr.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="http://google.com/+BrunoEmer" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/googleplus.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="http://instagram.com/brunoemer_" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/instagram.png" width="16" style="border:none"></a></div></div></div></div></div>
<br><div class="gmail_quote">2016-05-20 15:42 GMT-03:00 Bruno Emer <span dir="ltr"><<a href="mailto:brunoemer@gmail.com" target="_blank">brunoemer@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all!<div><br></div><div>I have a situation here where when I send a INVITE to some specific user-agents in my environment I must change the fr_timer to a value lower than the default.</div><div><br></div><div>I can acomplish this using the "t_set_fr" commands in my cfg file, and it works like a charm.</div><div><br></div><div>The point is that when the timer reaches its limit, the kamailio server sends a CANCEL message to the user-agent. I know that this is the normal behavior, but I want to add the Reason field on it, so the user-agent application can know that the call wasn't answered on time.</div><div><br></div><div>I was looking the TM module documentation to understand how to do this, but I couldn't figure out a way to get this working.</div><div><br></div><div>Is there a way to add the Reason in CANCEL messages generated by the fr_timer?</div><div><br></div><div><br></div><div>Thanks.<br><div><div><div><div dir="ltr"><div><span style="background-color:rgb(255,255,255)"><font size="2" color="#000000"><strong style="font-family:Arial"><u><br></u></strong></font></span></div><div><span style="background-color:rgb(255,255,255)"><font size="2" color="#000000"><strong style="font-family:Arial"><u><br></u></strong></font></span></div><div><span style="background-color:rgb(255,255,255)"><font size="2" color="#000000"><strong style="font-family:Arial"><u>Bruno Emer</u></strong></font></span></div><div><font color="#00a1e6" style="font-size:small;font-family:sans-serif"><br></font></div><div>Mobile: <a href="tel:%2B55%2011%2096540-0044" value="+5511965400044" target="_blank">+55 11 96540-0044</a> </div><div>email: <a href="mailto:brunoemer@gmail.com" target="_blank">brunoemer@gmail.com</a></div><div><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif"></span><div style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;margin-top:5px"><a href="https://www.facebook.com/bruno.emer.5" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/facebook.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="https://www.linkedin.com/profile/view?id=86461237&trk=spm_pic" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/linkedin.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="https://twitter.com/brunoemer_" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/twitter.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="https://www.flickr.com/photos/122070309@N03/" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/flickr.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="http://google.com/+BrunoEmer" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/googleplus.png" width="16" style="border:none"></a><span style="font-size:small"> </span><a href="http://instagram.com/brunoemer_" style="font-size:small;outline:none" target="_blank"><img src="http://images.wisestamp.com/instagram.png" width="16" style="border:none"></a></div></div></div></div></div>
</div></div></div>
</blockquote></div><br></div></div></div>