[Serusers] failure route

Jason Mohler jmohler at dcivoice.com
Wed Sep 21 03:32:55 CEST 2005


Okay everyone...I have an easy one for you.

I am trying to do a simple fail over from one ip to the other if I get a 
4040 and it fails.  Can one of you type the correct syntax for me.  
Below is what I am trying to accomplish.

if (uri=~"sip:^1234567890.*@.*"){
       prefix("1234");
       rewritehostport("xxx.xxx.xxx.xxx:5060");

I need the hostport to be able to be rolled to another hostport ip if 
this one comes back with a 404 or any other failure.  Can on eof you 
please help?
      




More information about the sr-users mailing list