Three tips for you.<br><br>1. don't touch record_route. Let opensips decide how this should be done.<br>2. use nat_uac_test(19), not nat_uac_test(23), it takes care of sdp.<br>3. fix nat contact on reply route same as way, i.e. use 19, instead of 1. A better approach may to define bflag in nathelper, set it in INVITE and then check it in reply route and do fix nat contact.<br>
<br>Let me know if problem persists.<br><br>Thank you.<br><br><br><div class="gmail_quote">On Fri, May 25, 2012 at 4:59 PM, tapas <span dir="ltr"><<a href="mailto:tapascst@gmail.com" target="_blank">tapascst@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>I am trying to use Opensips 1.8 on Amazon EC2 Cloud. But I am finding difficulty with it. I attached my opensips configuration file here. I am using Jitsi windows version as sip user client to connect with it. I have public static ip on amazon EC2 cloud. I am also using RTPPROXY as media relay on same Opensips 1.8 server.<br>
<br>here is the configuration:<br><br>JITSI SIP Client A------NAT-----INTERNET-----AMAZON EC2 NAT----OpenSip 1.8 Server<br> | <br>JITSI SIP Client B------NAT----------|<br>
<br><br>With my opensip configuration both client can chat together and see each other presence. They can also each other status. <br><br>Problem is happening with audio/video call. If call is connected then it will not hang. it may go on for 2 hours and I can see audio and video. I have also from RTPPROXY logs that it is relaying all packets perfectly without loss. But sometimes Client A invites client B . Client B doesn't receives invite request at all and if it receives invite request by chance then it is unable to accept the call. I am using udp as call transport layer. i am also not using TLS as this stage.<br>
<br>I attached my configuration file ( I masked my public ip and host name). I followed following advice to reach till this stage: <br><br><a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-behind-Static-NAT-Amazon-EC2-tt4970920.html#a4971239" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-behind-Static-NAT-Amazon-EC2-tt4970920.html#a4971239</a><br>
<br>Please advice me to solve this problem.<span class="HOEnZb"><font color="#888888"><br><br>Tapas<br> <br> <br>
<br><br>
</font></span><br>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Muhammad Shahzad<br>-----------------------------------<br>CISCO Rich Media Communication Specialist (CRMCS)<br>CISCO Certified Network Associate (CCNA)<br>Cell: +92 334 422 40 88<br>
MSN: <a href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</a><br>Email: <a href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a><br>