<br><br><div><span class="gmail_quote">On 7/5/06, <b class="gmail_sendername">raviprakash sunkara</b> &lt;<a href="mailto:sunkara.raviprakash.feb14@gmail.com">sunkara.raviprakash.feb14@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>hello Bogdan,<br>
<br>
Same problem occurred for me , but I'm Using X-lite 3.0 .<br>
And i'm put&nbsp; on DMZ in my router ( NETGEAR and BELkenn) .<br>
<span style="color: rgb(51, 51, 255);"><font size="2"><span style="font-style: italic;"><span style="font-family: verdana;"><span style="font-weight: bold;"><br>
<br>
I install the openser 1.0.1&nbsp; and rtp proxy 0.3 in same&nbsp; Linux System<br>
<span style="font-style: italic;"><span style="font-weight: bold;">openser server is located with public id xx.xxx.xxx.xx of&nbsp;&nbsp; <a href="http://192.168.2.2/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

192.168.2.2</a> ,<br>
And&nbsp; UAC are outside the NAT,&nbsp; <br>
When&nbsp; one UAC call to other UAC( are both in&nbsp; outside the NAT
where openser server), after the INVITE method get request by
server,&nbsp; after 32 second its hung up automatically, Voice is ok ,
and callee is hung upping, not caller,<br>
UAC ( inside the nAT , openser server ) in not hung uping and voice is not ok....<br>
<br>
&nbsp;I think problem is not in NETWORK and it may in&nbsp; RTp , NAT , <br>
Can u help on this , <br>
<span style="font-style: italic;"><span style="font-weight: bold;">Where is the problem, in NAt with rtp or networking,<br>
<span style="font-style: italic;"><span style="font-weight: bold;">Here by Mime's openser.cfg<br>
****************************************<br>
</span></span>
route{<br>
&nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header(&quot;10&quot;)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>
&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; if (msg:len &gt;=&nbsp; 2048 ) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply(&quot;513&quot;, &quot;Message too big&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>
&nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; # NAT detection<br>
&nbsp;&nbsp;&nbsp; route(2);<br>
<br>
&nbsp;&nbsp;&nbsp; if (!method==&quot;REGISTER&quot;)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; record_route();<br>
<br>
&nbsp;&nbsp;&nbsp; if (loose_route()) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: rr-enforced\r\n&quot;); <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(1);<br>
&nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; if (!uri==myself) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: outbound\r\n&quot;); <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(1);<br>
&nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; if (uri==myself) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (method==&quot;REGISTER&quot;) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!www_authorize(&quot;xx.xxx.xxx.xxx&quot;, &quot;subscriber&quot;)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; www_challenge(&quot;xx.xxx.xxx.xxx&quot;, &quot;0&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (isflagset(5)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; setflag(6);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # if you want OPTIONS natpings uncomment next<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # setflag(7);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; save(&quot;location&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!lookup(&quot;location&quot;)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply(&quot;404&quot;, &quot;Not Found&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: usrloc applied\r\n&quot;); <br>
&nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; route(1);<br>
}<br>
<br>
<br>
route[1] {<br>
&nbsp;&nbsp;&nbsp; if (subst_uri('/(sip:.*);nat=yes/\1/')){<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; setflag(6);<br>
&nbsp;&nbsp;&nbsp; };<br>
<br>
&nbsp;&nbsp;&nbsp; if (isflagset(5)||isflagset(6)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(3);<br>
&nbsp;&nbsp;&nbsp; }<br>
<br>
&nbsp;&nbsp;&nbsp; if (!t_relay()) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_reply_error();<br>
&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; exit;<br>
}<br>
<br>
route[2]{<br>
&nbsp;&nbsp;&nbsp; force_rport();<br>
&nbsp;&nbsp;&nbsp; if (nat_uac_test(&quot;19&quot;)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (method==&quot;REGISTER&quot;) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; fix_nated_register();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } else {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; fix_nated_contact();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; setflag(5);<br>
&nbsp;&nbsp;&nbsp; };<br>
}<br>
<br>
route[3] {<br>
&nbsp;&nbsp;&nbsp; if (is_method(&quot;BYE|CANCEL&quot;)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; unforce_rtp_proxy();<br>
&nbsp;&nbsp;&nbsp; } else if (is_method(&quot;INVITE&quot;)){<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; force_rtp_proxy();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; t_on_failure(&quot;1&quot;);<br>
&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; if (isflagset(5))<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; search_append('Contact:.*sip:[^&gt;[:cntrl:]]*', ';nat=yes');<br>
&nbsp;&nbsp;&nbsp; t_on_reply(&quot;1&quot;);<br>
}<br>
<br>
failure_route[1] {<br>
&nbsp;&nbsp;&nbsp; if (isflagset(6) || isflagset(5)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; unforce_rtp_proxy();<br>
&nbsp;&nbsp;&nbsp; }<br>
}<br>
<br>
onreply_route[1] {<br>
&nbsp;&nbsp;&nbsp; if ((isflagset(5) || isflagset(6)) &amp;&amp; status=~&quot;(183)|(2[0-9][0-9])&quot;) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; force_rtp_proxy();<br>
&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; search_append('Contact:.*sip:[^&gt;[:cntrl:]]*', ';nat=yes');<br>
<br>
&nbsp;&nbsp;&nbsp; if (isflagset(6)) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; fix_nated_contact();<br>
&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; exit;<br>
}<br>
<br>
</span></span></span></span></span></span></span></font></span></div><div><span class="e" id="q_10c3fb8c22b3d8e3_1"><br><br><div><span class="gmail_quote">On 7/5/06, <b class="gmail_sendername">Bogdan-Andrei Iancu</b> &lt;
<a href="mailto:bogdan@voice-system.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bogdan@voice-system.ro
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>it might be a signalling problem. Most of the UA drops the calls if they
<br>do not get the ACK for 200 OK.<br>check on the network if this is the case.<br><br>regards,<br>bogdan<br><br>Hamid Ali Asgari wrote:<br><br>&gt;The calls are between two UAs.<br>&gt;The problem is that with a certain type of UA (type A), the calls are ok if
<br>&gt;the calls are between two type A UAs and don't get disconnected. I can talk<br>&gt;as long as I want.<br>&gt;<br>&gt;But if I try calling from that UA (type A) to Windows messenger, the call<br>&gt;gets disconnects after less than a minute. In the 1 minute I can talk (so I
<br>&gt;assume it's not a CODEC problem, correct me if I am wrong)<br>&gt;<br>&gt;I have also tried with a UA and a Cisco gateway. On the Cisco debugs I see<br>&gt;Disconnet cause code 102 (Session-End-Callback ) which I don't think would
<br>&gt;be the case. There is no callback config on the gateway or the UA.<br>&gt;<br>&gt;I guess the UA is tearing down the call for some reasn I don't know.<br>&gt;<br>&gt;Any clues?<br>&gt;Hamid<br>&gt;<br>&gt;<br>&gt;-----Original Message-----
<br>&gt;From: <a href="mailto:users-bounces@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">users-bounces@openser.org</a> [mailto:<a href="mailto:users-bounces@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
users-bounces@openser.org</a>] On Behalf<br>&gt;Of Mike Williams<br>&gt;Sent: Wednesday, July 05, 2006 8:04 PM
<br>&gt;To: <a href="mailto:users@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">users@openser.org</a><br>&gt;Subject: Re: [Users] Disconnect Cause on OpenSER<br>&gt;<br>&gt;On Wednesday 05 July 2006 12:31, Hamid Ali Asgari wrote:
<br>&gt;<br>&gt;Are the calls from one UA to another, or from a UA to a gateway? I know for
<br>&gt;instance that Asterisk has problems with G729b silence detection and will<br>&gt;drop calls because it thinks the call has dropped. Perhaps other equipment<br>&gt;or<br>&gt;carriers has this problem too.<br>&gt;<br>

&gt;---Mike<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;&gt;Hi,<br>&gt;&gt;<br>&gt;&gt;I am having a problem with OpenSER and certain types of CPEs. The problem<br>&gt;&gt;is that the calls get established and the parties can talk, however after
<br>&gt;&gt;<br>&gt;&gt;<br>&gt;a<br>&gt;<br>&gt;<br>&gt;&gt;very short period the call gets disconnected. Any guidelines how I could<br>&gt;&gt;troubleshoot this?<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;PS: Is there anyway to see the calls disconnect cause on OpenSER? I am
<br>&gt;&gt;currently running OpenSER with radius.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;Thanks in advance,<br>&gt;&gt;<br>&gt;&gt;Hamid<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;_______________________________________________
<br>&gt;Users mailing list<br>&gt;<a href="mailto:Users@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Users@openser.org</a><br>&gt;<a href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt;<br>
&gt;<br>&gt;_______________________________________________<br>&gt;Users mailing list<br>&gt;<a href="mailto:Users@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Users@openser.org</a>
<br>&gt;<a href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://openser.org/cgi-bin/mailman/listinfo/users
</a><br>&gt;<br>&gt;<br>&gt;<br><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Users@openser.org
</a><br><a href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></div><br><br clear="all"><br></span></div><div><span class="sg">-- <br>Thanks and Regards with cheers<br>Sunkara Ravi Prakash (Voip Developer)<br>Hyperion Technology
<br>Kondapur, Hi-tech city,
<br>Hyderabad.<br><a href="http://www.hyperion-tech.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.hyperion-tech.com</a><br>+91-9985077535

</span></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards with cheers<br>Sunkara Ravi Prakash (Voip Developer)<br>Hyperion Technology<br>Kondapur, Hi-tech city,<br>Hyderabad.<br><a href="http://www.hyperion-tech.com">
www.hyperion-tech.com</a><br>+91-9985077535