<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I am trying to build a simple architecture like this:<br><br></div>UAC <--> Proxy1 <--> Proxy2 <--> UAS<br> <br></div><div>(each on a different VM)<br>
</div>Is it possible to have this architecture built without any "registrar" module?<br><br></div>I have simulated my UAC and UAS using SIPp and the routing in Proxy1 and Proxy2 is to forward to the next hop. for example in Proxy1, I have:<br>
<i><br><b>route{<br> record_route();<br> if (loose_route()) {<br> route(FORWARD);<br> break;<br> }<br> if (uri == myself){<br> setdsturi("sip:__ADRESS_OF_PROXY2__");<br>
route(FORWARD);<br></b></i></div><b><i> break;<br></i></b><div><i><b> }<br> route(FORWARD); <br>}<br><br><br>route[FORWARD]<br>{<br> if (!t_relay()) {<br> sl_reply_error();<br>
}<br>}</b><br></i><br><br></div><div>I simulate packets in UAC in the following manner:<br><br></div><div><b><i>sipp -sn uac -rsa __ADDRESS_OF_PROXY1__ __ADDRESS_OF_PROXY1__</i></b><br><br></div><div>The problem is that my first proxy (Proxy1) is always returning "404 Not Found" on any INVITE and never forwards to Proxy2, even though I have asked it to do so in "if(uri==myself)". <br>
<br></div><div>Am I missing something in connecting the proxies in such a simple architecture?<br></div></div>