<div>I do have it set. Forgot to include my modparams</div>
<div> </div>
<div> </div>
<div>modparam("tm", "fr_inv_timer", 20) #When ringing callee and receive a 180 RINGER reply after x seconds failover<br>modparam("tm", "fr_inv_timer_avp", "$avp(s:fr_inv_timer)")<br>
modparam("tm", "fr_timer_avp", "$avp(s:fr_timer)")<br>modparam("tm", "onreply_avp_mode", 1) </div>
<div>modparam("tm", "restart_fr_on_each_reply", 1) </div>
<div>modparam("tm", "pass_provisional_replies", 1) #This is needed for B2BUA<br></div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">On Mon, May 23, 2011 at 5:00 PM, Brett Nemeroff <span dir="ltr"><<a href="mailto:brett@nemeroff.com">brett@nemeroff.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br><br>
<div class="gmail_quote">
<div class="im">On Mon, May 23, 2011 at 4:41 PM, Duane Larson <span dir="ltr"><<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>I am trying to set up some logic that will allow me to failover to a secondary SIP Provider's IP address and I found this subject on how you can implement it</div>
<div> </div>
<div><a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Timer-Based-Failover-Question-td5758903.html" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/Timer-Based-Failover-Question-td5758903.html</a></div>
<div> </div>
<div> </div>
<div>In order to test I send my first call to 4.2.2.X (which is not my SIP providers Gateway). So this call fails as planned. Then a second call is sent to the correct backup SIP Providers IP address. This call starts to go through but then my Timer times out and the call is canceled. I am not sure why the call is canceled because I get a 183 from the SIP provider and in my OnReply_Route I set the timeout to be 300 seconds. It seems like when I set fr_inv_timer_avp it doesn't take affect. Not sure what I am doing wrong. Here is what I do</div>
<div> </div></blockquote>
<div><br></div></div>
<div>Have you set:</div>
<div><span style="BORDER-COLLAPSE: collapse; FONT-FAMILY: Verdana, Geneva, Helvetica, Arial, sans-serif; FONT-SIZE: 13px">modparam("tm", "onreply_avp_mode", 1) </span></div>
<div><br></div>
<div><span style="BORDER-COLLAPSE: collapse; FONT-FAMILY: Verdana, Geneva, Helvetica, Arial, sans-serif; FONT-SIZE: 13px"></span>-Brett</div>
<div> </div></div><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--<br>