<div>Hi All</div>
<div>I have a scenario in which I want to deploy SER with mediaproxy & allow everyone/anyone connecting with my SER to talk to each other. I am using ONSIP gettingStarted document. In order to allow everyone to connect to my SER without authentication I commented the following portion in
ser.cfg:</div>
<div>
<p>in Route[2]</p>
<p> #if (!www_authorize("","subscriber")) {<br> # www_challenge("","0");<br> # break;<br> #};</p>
<p> #if (!check_to()) {<br> # sl_send_reply("401", "Unauthorized");<br> # break;<br> #};</p>
<p> # consume_credentials();<br></p>
<p>and in Route[3] </p>
<p> # if (!proxy_authorize("","subscriber")) {<br> # proxy_challenge("","0");<br> # break;<br> #} else if (!check_from()) {<br> # sl_send_reply("403", "Use From=ID");
<br> # break;<br> #};</p>
<p> #consume_credentials();<br></p>
<p>Now when I try to connect 2 UA (Simpleopal) from behind a same NAT, they do get registered, & records also appear in location table of DataBase. But when I place call from UA1 to UA2 like "call <a href="mailto:sip:UA2@aa.bb.cc.dd">
sip:UA2@aa.bb.cc.dd</a>", where aa.bb.cc.dd is the public IP of my SER machine (mediaproxy is also running on same machine), it ends up showing transport error. On SER side:</p>
<p>A) SER logs say:</p>
<p>on lookup() "UA2 not found in usrloc" and on is_local() "Realm '<a href="http://ab.cc.dd.ee">ab.cc.dd.ee</a>' is not local". the is_lcoal appears again saying "Realm <a href="http://192.168.0.241">
192.168.0.241</a> is not local" where <a href="http://192.168.0.241">192.168.0.241</a> is UA2's local IP. </p>
<p>B)Mediaproxy log says:</p>
<p>command request <a href="mailto:c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1">c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1</a> <a href="http://203.82.51.9:5000">203.82.51.9:5000</a>:audio <a href="http://203.82.51.9">203.82.51.9
</a> aa.bb.cc.dd remote <a href="http://192.168.0.241">192.168.0.241</a> remote OPAL/2.0 info=<a href="mailto:from:UA1@aa.bb.cc.dd">from:UA1@aa.bb.cc.dd</a>,<a href="mailto:to:UA2@aa.bb.cc.dd">to:UA2@aa.bb.cc.dd</a>,fromtag:b09168c6-fbf4-1810-80b4-0050badb4a03,totag:
<br>session <a href="mailto:c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1">c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1</a>: started. listening on aa.bb.cc.dd:35000<br>command execution time: 9.35 ms<br>command request <a href="mailto:c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1">
c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1</a> <a href="http://203.82.51.9:5000">203.82.51.9:5000</a>:audio <a href="http://203.82.51.9">203.82.51.9</a> aa.bb.cc.dd remote <a href="http://192.168.0.241">192.168.0.241</a> remote OPAL/2.0 info=
<a href="mailto:from:UA1@aa.bb.cc.dd">from:UA1@aa.bb.cc.dd</a>,<a href="mailto:to:UA2@aa.bb.cc.dd">to:UA2@aa.bb.cc.dd</a>,fromtag:b09168c6-fbf4-1810-80b4-0050badb4a03,totag:<br>command execution time: 0.60 ms<br>session
<a href="mailto:c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1">c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1</a>: 0/0/0 packets, 0/0/0 bytes (caller/called/relayed)<br>session <a href="mailto:c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1">
c78d68c6-fbf4-1810-80b4-0050badb4a03@UA1</a>: ended (did timeout).</p>
<p>(<a href="http://203.82.51.9">203.82.51.9</a>) is my LAN's public IP aa.bb.cc.dd is the public IP of SER machine</p>
<p>C) using ngrep I found out that it sends an "SIP/2.0 408 Request Timeout"</p>
<p>cant figure out whats going on, anybody having any idea please help.</p>
<p>Thanx in advance</p>
<p>Regards</p>
<p>Muhammad Asif Ali</p></div>