<div dir="ltr">its working now, Thanks<br><br><div class="gmail_quote">On Mon, Sep 1, 2008 at 5:17 PM, Klaus Darilion <span dir="ltr"><<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Asim Riaz schrieb:<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi ,<br>
I am trying to relay invite from Kamailio to one of two proxies, as long as it receive the reply from one it should not forward to second but incase if the proxy1 does not reply then relay to proxy2.<br>
<br>
here is my config<br>
<br>
route(1);<br>
<br>
if((src_ip != proxy1_ip_address) || (src_ip !=proxy2_ip_address) ) {<br>
</blockquote>
<br>
<br></div>
&&<br>
<br>
<br>
regards<br>
klaus<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
if(!t_relay_to_udp("proxy1_ip_address", "5060")) || (!t_relay_to_udp("proxy2_ip_address","5060")) {<br>
end_media_session();<br>
sl_reply_error();<br>
}<br>
<br>
}<br>
<br>
<br>
I am also allowing only my proxies can see the location tables;<br>
f ((src_ip== Proxy1_ip_address) || (src_ip= Proxy2_ip_address)) {<br>
if (!lookup("location")) {<br>
sl_send_reply("404", "Not Found");<br>
exit;<br>
};<br>
<br>
for some reason incoming calls from my proxies are looping means Kamailio sending back to one of my proxyies, i dont know if there is somthing missing in my configuration or somthing else is causing this problem.<br>
<br>
Regards<br>
Asim Riaz<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</blockquote></div><br></div>