[OpenSIPS-Users] Timer based Failover to SIP Provider

Duane Larson duane.larson at gmail.com
Tue May 24 00:04:25 CEST 2011


I do have it set.  Forgot to include my modparams


modparam("tm", "fr_inv_timer", 20) #When ringing callee and receive a 180
RINGER reply after x seconds failover
modparam("tm", "fr_inv_timer_avp", "$avp(s:fr_inv_timer)")
modparam("tm", "fr_timer_avp", "$avp(s:fr_timer)")
modparam("tm", "onreply_avp_mode", 1)
modparam("tm", "restart_fr_on_each_reply", 1)
modparam("tm", "pass_provisional_replies", 1) #This is needed for B2BUA



On Mon, May 23, 2011 at 5:00 PM, Brett Nemeroff <brett at nemeroff.com> wrote:

>
>
>  On Mon, May 23, 2011 at 4:41 PM, Duane Larson <duane.larson at gmail.com>wrote:
>
>> 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
>>
>>
>> http://opensips-open-sip-server.1449251.n2.nabble.com/Timer-Based-Failover-Question-td5758903.html
>>
>>
>> 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
>>
>>
>
> Have you set:
> modparam("tm", "onreply_avp_mode", 1)
>
> -Brett
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110523/0d30c8c4/attachment.htm>


More information about the Users mailing list