[Serusers] failure route

Jason Mohler jmohler at dcivoice.com
Thu Oct 6 22:25:16 CEST 2005


Is there anyone that can help me with my following syntax?  I am 
basically trying to have all calls come in from an IP and if that IP 
fails for some reason,  it will roll to another IP. 

if (src_ip== xxx.xxx.xxx.xxx){
    t_on_failure("1");
    rewritehost("xxx.xxx.xxx.xxx");
};

route[1]{
    rewritehost("xxx.xxx.xxx.xxx");
    break;
    t_relay();
};




More information about the sr-users mailing list