<div dir="ltr">Hello,<br><br>I have my dispatcher setup fine for my INVITE so Opensips can now distribute calls to one of the two B2BUA. What I would also like to do is that when 486 is recevied, Opensips can branch another route back to one of the two B2BUA which will play the voicemail. I tried:<br>
ds_select_dst("1", "4");<br>ds_next_dst();<br>rewritehostport("<a href="http://192.168.1.101:5070">192.168.1.101:5070</a>");<br>
<br>only rewritehostport works, but I don't want to hard code the host and port inside the config script. If I use ds_next_dst(), I am getting "WARNING:dispatcher:ds_next_dst: failover support disabled". Does anyone know how to resolve this problem?<br>
<br>Here is my failure_route block:<br><br>failure_route[1] {<br><br> if (t_was_cancelled()) {<br> exit;<br> };<br> if (t_check_status("486")) {<br> revert_uri();<br> prefix("b");<br>
xlog("L_ERR","Stepped into the 486 ruri=<$ru>");<br> #ds_select_dst("1", "4");<br> ds_next_dst();<br> #rewritehostport("<a href="http://192.168.1.131:5070">192.168.1.131:5070</a>");<br>
append_branch();<br> route(1);<br> <br> exit;<br> };<br><br><br>Thanks in advance for all your help.<br><br>Regards,<br>Woody<br><br></div>