Dear List,<br><br>I use my opensips, to make the routes based on prefix received and send the call to the termination carrier based on a lcr configured with dr_route module.<br>I have 2 route to each prefix. When I receive an error from the fist carrier, the opensips set the missed_call flag, and send the call to second carrier. If the second carrier send an error, the opensips set the missed_call flag again and relay this error to the user that made the call. In my missed_call table, I just see the second error, but I need to see both. How can I do this ?<br>
<br>Follow my failure route:<br><br>failure_route[1] {<br><br> xlog("FailureRoute entered");<br> setflag(10); #accounting missed calls<br> if (t_check_status("(487)|(486)")) {<br>
xlog"FailureRoute: $rm exited");<br>
exit;<br> } else if(!next_routing()) {<br> xlog("FailureRoute: no more gateways available.");<br> }<br> route(1);<br>}<br clear="all"><br><br>
route[1] {<br>
<br> t_on_reply("ONREPLY");<br> if (!t_relay()) {<br> sl_reply_error();<br> };<br><br> exit;<br>}<br><br>Regards,<br><br>-- <br>Wesley Volcov<br>Email: <a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a><br>
Messenger: <a href="mailto:volcov@live.com">volcov@live.com</a><br>Mobile: +55 11 9989-5348<br>Website: <a href="http://volcov.blogspot.com">http://volcov.blogspot.com</a><br>