OK Guys i got fixed the phones i was using were registered in both servers which is not good, once i removed them it started working!<br><br>
<div class="gmail_quote">2010/3/4 khalid touati <span dir="ltr"><<a href="mailto:khalidtouati@gmail.com">khalidtouati@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Hi Guys,</div>
<div>i am using the following config in pbx1:</div>
<div>register => <a href="mailto:pbx1%3Aendopass@172.16.200.175" target="_blank">pbx1:endopass@172.16.200.175</a></div>
<div>[pbx2]<br>type=friend<br>host=dynamic<br>trunk=yes<br>sercret=password<br>context=[default]<br>deny=<a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a><br>permit=<a href="http://172.16.200.175/255.255.255.128" target="_blank">172.16.200.175/255.255.255.128</a></div>
<div> </div>
<div>in pbx2:</div>
<div>register => <a href="mailto:pbx2%3Aendopass@172.16.200.176" target="_blank">pbx2:endopass@172.16.200.176</a></div>
<div>[pbx1]<br>type=friend<br>host=dynamic<br>trunk=yes<br>sercret=password<br>context=[default]<br>deny=<a href="http://0.0.0.0/0.0.0.0" target="_blank">0.0.0.0/0.0.0.0</a><br>permit=<a href="http://172.16.200.176/255.255.255.128" target="_blank">172.16.200.176/255.255.255.128</a></div>
<div> </div>
<div>and i get the following in pbx1:</div>
<div>-- Executing [18021@default:1] Dial("SIP/8029-b7413678", "SIP/pbx2/8021||TWw") in new stack<br> -- Called pbx2/8021<br>[Mar 4 16:49:13] WARNING[3392]: chan_sip.c:12679 handle_response_invite: Received response: "Forbidden" from '"Khalid Touati" <<a href="mailto:sip%3A8029@172.16.200.176" target="_blank">sip:8029@172.16.200.176</a>>;tag=as1dcf5ff2'<br>
-- SIP/pbx2-09cf4468 is circuit-busy<br> == Everyone is busy/congested at this time (1:0/1/0)<br> == Auto fallthrough, channel 'SIP/8029-b7413678' status is 'CONGESTION'<br><br clear="all">though i am using the same config in IAX and it's working fine, also it's in the same context (so i believe it's a context issue).</div>
<div> </div><font color="#888888">
<div><br>-- <br>Abdullah<br></div></font></blockquote></div><br><br clear="all"><br>-- <br>Abdullah<br>