<DIV>hi everyone,</DIV>
<DIV>In my configuration, I trust some source ips and if call comes from these src ips, without any authentication they are t_relayed to a gateway ip address for pstn termination.</DIV>
<DIV>Is there any potential problems by trusting some clients by src_ips, I do so as I dont want them to login from anywhere else.</DIV>
<DIV> </DIV>
<DIV>I also wanted to know that if I do not get reply from a particular gateway, can I forward them to another gateway. I dont want to use LCR for this. I thought of using failure route, but the call does not fail it keeps on sending invite. </DIV>
<DIV>What I wanted to do is, if I dont get a reply within 5 seconds, it will try the next t_relay_to_udp statement.</DIV>
<DIV> </DIV>
<DIV>the logic goes something like this:</DIV>
<DIV>if(allow_trusted()) {</DIV>
<DIV> if(uri=="sip:011...") {</DIV>
<DIV> t_relay_to_udp("to a pstn gateway");</DIV>
<DIV> # if no reply for 5 seconds</DIV>
<DIV> t_relay_to_udp("to another gateway)</DIV>
<DIV> break;</DIV>
<DIV> };</DIV>
<DIV>}; </DIV>
<DIV> </DIV>
<DIV>can somebody pls help on this. I am currently using 0.9.5 and will soon be upgrading to 1.0.0.</DIV>
<DIV> </DIV>
<DIV>Thanks a lot in advance</DIV>
<DIV> </DIV>
<DIV>Jayesh</DIV><p>
                <hr size=1>
Enjoy this Diwali with Y! India <a href="http://in.promos.yahoo.com/fabmall/index.html">Click here</a>