<div dir="ltr">Hello Vlad,<div><br></div><div style>Thank your for your response. I know you are just getting this email right now, and I really appreciate your help.</div><div style>It seems for route_to_carrier we need to be using the carrier module however we are using DR.</div>
<div style><br></div><div style><div>From what I understand in the docs, both `route_to_gw`, and `route_to_carrier` accept a single ID. What I have is a</div><div>comma separated gwlist (ie, 7,1,4) that I need fired in that specific sequence, and failing over to the next gateway id</div>
<div>in the list. </div><div><br></div><div style>Another approach is to do it in my perl script however, documentation and example for that are scarce. How I think</div><div style>it would be done is using the `$message-&gt;rewrite_ruri` however, how do I know if the relay to a gateway failed in perl?</div>
<div style><br></div><div style><div>while (gws in list) {</div><div>     while (fail=1) {<br></div><div>          fail = $message-&gt;rewrite_ruri($carriergw)</div><div>     }</div><div>}</div><div><br></div><div style>Of course I would rather avoid the perl approach and just use a DR function that is capable of performing the said functionality.</div>
<div>Any help would be greatly appreciated. I have been struggling with this for a while now, and it&#39;s the final piece of the pie!!!! :)</div></div></div><div style><br></div><div style>Thank in Advance,</div><div style>
<br></div><div style>Nick.</div></div>