<div dir="ltr">Hi All,<div><br></div><div>I am trying to perform a MongoDB query right before making a routing decision based on the query result. I have searched the documentation and could not find anywhere I can customize the routing. Please advise.</div><div><br></div><div>The scenario is:</div><div>1. Receive call from SIP Peer</div><div>2. Perform AAA for the call</div><div> -- the first two steps have been achieved using SipwiseCE thankfully!</div><div>3. Perform a MongoDB query for the dialed number, if present in my DB go to route 1, else go to route 2.</div><div><br></div><div>Thoughts??</div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>-----</div>Nogie Ekunwe<br>Tel: 601.497.3932<br></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br></div></div>