[SR-Users] timeout function

Mikko Lehto mslehto at iki.fi
Thu Mar 31 23:31:55 CEST 2016


Al S <alirsm at outlook.com> wrote:

> I am routing call traffic thru proxy to destination A. If destination A is down, we need to reroute to destination B. What function we can use to process timeout so we can reroute the calls to different node?

Hi

Have a look what TM module has to offer:
http://kamailio.org/docs/modules/4.4.x/modules/tm.html#tm.f.t_on_failure
http://kamailio.org/docs/modules/4.4.x/modules/tm.html#tm.f.t_set_fr

In addition, you can also use dispatcher module to automatically
populate new destination addresses:
http://kamailio.org/docs/modules/4.4.x/modules/dispatcher.html#dispatcher.ex.config

Regards
-- 
Mikko Lehto



More information about the sr-users mailing list