<div dir="ltr"><div><div><div>Hi All,<br><br></div>i having issue with URI routing , when i am trying with the Voip Provider IP its Not Going Through, i have IP authentication with Provider<br></div><div><br>here is the my script<br>
</div><br><div>if (is_method("INVITE")) {<br>setflag(1); <br><br>if (uri=~"sip:[0-9]{10,11}@192.168.XX.XX") # Asterisk server<br>{<br>xlog("*********CALL WILL GO HERE VOIP PROVIDER********");<br>
xlog("*****************GOING TO ROUTE @6****************");<br>route(6);<br>}<br><br>}<br><br>route[6] {<br><br>rewritehostport("64.XX.XX.XX:5060"); # VOIP Provider IP Address<br>xlog("*********CALL WILL GO TO VOIP GATEWAY @@@@@@OUT********");<br>
t_relay();<br>exit;<br>}<br><br><br></div>Thanks<br></div>Jagan<br></div>