<div dir="ltr"><div>I have setup DR on opensips and just added only single gateway to test my routing but i am getting following error. <br><br>/opt/opensips/sbin/opensipsctl fifo dr_gw_status<br>ID:: 1 IP=65.xxx.xxx.xxx:5065 State=Inactive<br><br><br>INFO:drouting:do_routing: All the gateways are disabled<br>do_routing: No rules matching the URI<br><br></div>following is my config<br><br># Dynamic Routing<br>route[4] {<br>        #---- PSTN route ----#<br>        xlog(&quot;do_routing: call is inside Dynamic route[4]\n&quot;);<br>        if(!do_routing(&quot;0&quot;, &quot;F&quot;)){<br>                xlog(&quot;do_routing: No rules matching the URI\n&quot;);<br>                send_reply(&quot;503&quot;, &quot;No rules found matching the URI prefix&quot;);<br>                exit;<br>                }<br>        if (is_method(&quot;INVITE&quot;)) {<br>                t_on_failure(&quot;10&quot;);<br>        }<br>        route(relay);<br>}<br><br>failure_route[10] {<br>    xlog(&quot;DEBUG: DROUTING failure route active\n&quot;);<br>    if (t_was_cancelled()) {<br>        exit;<br>    }<br>    if (t_check_status(&quot;[34][0-9][0-9]&quot;)) {<br>        exit;<br>    }<br><br>    if (use_next_gw()) {<br>        t_relay();<br>        exit;<br>    } else {<br>    t_reply (&quot;503&quot;, &quot;Service not available&quot;);<br>        exit;<br>    }<br>}<br><br></div>