Your media proxy configuration is also wrong, just sent you config for media proxy. Just sent you config for media proxy as well.<br><br>Hope this helps.<br><br>Thank you.<br><br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 2:24 PM, M.Khaled W Chehab <span dir="ltr">&lt;<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Kindly note that I can still find Calls have the same problem (max dialog timeout  duration and the call capture mark to be a canceled call )with a label in dialog module while the call is not hanged by system  ( confirmed  but not ACK),as for the avp queries in my script you can delete any AVP you want in order to make a scope on this hitch in order to  run a script without this problem<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>M.Khaled W Chehab<br>
<b>Sent:</b> Monday, November 19, 2012 12:04 PM</span></p><div><div class="h5"><br><b>To:</b> &#39;OpenSIPS users mailling list&#39;<br><b>Subject:</b> Re: [OpenSIPS-Users] calls have max call duration<u></u><u></u></div>
</div><p></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks I found it <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>M.Khaled W Chehab<br>
<b>Sent:</b> Monday, November 19, 2012 11:35 AM<br><b>To:</b> &#39;OpenSIPS users mailling list&#39;<br><b>Subject:</b> Re: [OpenSIPS-Users] calls have max call duration<u></u><u></u></span></p></div></div><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mohammad,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">There is no file attached ,kindly can you resend it .<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Khaled<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Muhammad Shahzad<br>
<b>Sent:</b> Sunday, November 18, 2012 9:38 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] calls have max call duration<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Just send you modified configuration file in private email. Hope this works.<br><br>Let me know if you need any further assistance.<br><br>Thank you.<u></u><u></u></p><div>
<p class="MsoNormal">On Sun, Nov 18, 2012 at 4:54 PM, M. KHaled W. Chehab &lt;<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>&gt; wrote:<u></u><u></u></p><div><p>Thank Mohammad,<u></u><u></u></p>
<p>really appriciated.<br>waiting your script.<u></u><u></u></p><p>khaled chehab<u></u><u></u></p><div><p><span style="color:#888888">Sent from my android device.</span><u></u><u></u></p><p class="MsoNormal"><br><br>-----Original Message-----<u></u><u></u></p>
</div><div><p class="MsoNormal">From: Muhammad Shahzad &lt;<a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a>&gt;<br>To: OpenSIPS users mailling list &lt;<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>&gt;<u></u><u></u></p>
</div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Sent: Sun, 18 Nov 2012 4:45 PM<br>Subject: Re: [OpenSIPS-Users] calls have max call duration<u></u><u></u></p></div></div><div><p class="MsoNormal">humm, how can this be? It always works. Something is really weird going on <br>
in your opensips configuration. <br><br>OK, let me prepare an alternative configuration for you and send you in 2-3 <br>hours. <br><br>BTW, you can call me Muhammad. <br><br>Thank you. <br><br><br>On Sun, Nov 18, 2012 at 12:34 AM, M. KHaled W. Chehab <br>
&lt;<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>&gt;wrote: <br><br>&gt; dears, <br>&gt; <br>&gt; the mediaproxy timeout didnt.suceed any more ideas? <br>&gt; <br>&gt; Regards <br>&gt; <br>&gt; Sent from my android device. <br>
&gt; <br>&gt; <br>&gt; <br>&gt; -----Original Message----- <br>&gt; From: &quot;M.Khaled W Chehab&quot; &lt;<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>&gt; <br>&gt; To: &#39;OpenSIPS users mailling list&#39; &lt;<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>&gt; <br>
&gt; Sent: Fri, 16 Nov <a href="tel:20125" target="_blank">2012 5</a>:18 PM <br>&gt; Subject: Re: [OpenSIPS-Users] calls have max call duration <br>&gt; <u></u><u></u></p></div><p class="MsoNormal">&gt; Dears,**** <br>&gt; <br>
&gt; ** ** <u></u><u></u></p><div><p class="MsoNormal">&gt; <br>&gt; Thanks for your kindly reply, and I will try to arrange my opensips <br>&gt; configuration file  and send it back if the media configuration didn’t <u></u><u></u></p>
</div><p class="MsoNormal">&gt; solve this problem  ,**** <u></u><u></u></p><div><p class="MsoNormal">&gt; <br>&gt; BTW I am using  a mix between a residential and trunking script  ,do you <br>&gt; have a config tested  having a permission ,routing  dialplan  module tested <u></u><u></u></p>
</div><p class="MsoNormal">&gt;  for small carrier level ,you can send me a copy of it  .**** <br>&gt; <br>&gt; **** <br>&gt; <br>&gt; My old config mediaproxy was **** <br>&gt; <br>&gt; stream_timeout = 90**** <br>&gt; <br>
&gt; on_hold_timeout = 3540**** <br>&gt; <br>&gt; so set it now to **** <br>&gt; <br>&gt; stream_timeout = 30**** <br>&gt; <br>&gt; on_hold_timeout = 600**** <br>&gt; <br>&gt; ** ** <u></u><u></u></p><div><p class="MsoNormal">
&gt; <br>&gt; I will  monitor it now  and inform you about the result , but my question <u></u><u></u></p></div><p class="MsoNormal">&gt; is ,is there a solution using signaling  function I can implement ?**** <br>&gt; <br>
&gt; ** ** <br>&gt; <br>&gt; ** ** <br>&gt; <br>&gt; Regards**** <br>&gt; <br>&gt; ** ** <br>&gt; <br>&gt; ** ** <br>&gt; <br>&gt; ** ** <br>&gt; <br>&gt; ** ** <br>&gt; <br>&gt; *From:* <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto: <br>
&gt; <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] *On Behalf Of *Muhammad Shahzad <br>&gt; *Sent:* Friday, November 16, <a href="tel:20125" target="_blank">2012 5</a>:01 PM <br>
&gt; *To:* OpenSIPS users mailling list <br>&gt; *Subject:* Re: [OpenSIPS-Users] calls have max call duration**** <br>&gt; <br>&gt; ** ** <u></u><u></u></p><div><p class="MsoNormal">&gt; <br>&gt; Your opensips config is pretty messed up and hard to read. So, while i try <br>
&gt; to read it to find the problem, as a workaround you should set RTP timeouts <u></u><u></u></p></div><p class="MsoNormal">&gt; in your mediaproxy configuration file (i.e. config.ini), e.g.**** <br>&gt; <br>&gt; ** ** <br>
&gt; <br>&gt; stream_timeout = 30**** <u></u><u></u></p><div><p class="MsoNormal">&gt; <br>&gt; on_hold_timeout = 1800 <br>&gt; <br>&gt; This will result in automatic call hangup if there is no media for at <br>&gt; least 30 seconds. This will reduce wrong billing problem to 30 seconds, and <br>
&gt; your customer&#39;s balance will not be exhausted completely. Similarly if call <br>&gt; is on hold for more then 30 minutes and no media is transferred during this <br>&gt; time (not even music on hold) then call will hangup (change this timeout to <u></u><u></u></p>
</div><p class="MsoNormal">&gt; whatever appropriate for you).**** <br>&gt; <br>&gt; ** ** <br>&gt; <br>&gt; Thank you.**** <br>&gt; <br>&gt; ** ** <u></u><u></u></p><div><p class="MsoNormal">&gt; <br>&gt; On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab &lt;<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>&gt; <u></u><u></u></p>
</div><p class="MsoNormal">&gt; wrote:**** <br>&gt; <br>&gt; Dears,**** <br>&gt; <br>&gt;  **** <u></u><u></u></p><div><p class="MsoNormal">&gt; <br>&gt; How to drop  the call  when a cancel received from UA and a 200 OK from <br>
&gt; the trunk in the same second, note back the client cdr will be a canceled <br>&gt; call and the trunk cdr will be 1 sec duration but on my cdr its the max <u></u><u></u></p></div><p class="MsoNormal">&gt; daialog  timeout duration**** <br>
&gt; <br>&gt;  **** <u></u><u></u></p><div><p class="MsoNormal">&gt; <br>&gt; I am searching for a  solution for this since two weeks as I tried all <u></u><u></u></p></div><p class="MsoNormal">&gt; trick I know and all didn’t succeed ,**** <u></u><u></u></p>
<div><p class="MsoNormal">&gt; <br>&gt; Find attached the scenario I have problem with, which you can find it at <br>&gt;  wireshark time line (<a href="tel:30877027" target="_blank">30.877027</a>)  the Client with IP ( <a href="http://74.114.101.170" target="_blank">74.114.101.170</a>) <br>
&gt; sends  a cancel ,and the opensips version 1.8.2  server with IP <br>&gt; <a href="http://89.207.133.144" target="_blank">89.207.133.144</a>   send the client 200 canceling and  in its terms forward <br>&gt; the cancel to the trunk provider with IP <a href="http://74.114.101.190" target="_blank">74.114.101.190</a> ,but at <a href="tel:31015333" target="_blank">31.015333</a> <br>
&gt; wireshark time line the trunk sends a 200 OK  then 487 request terminated <u></u><u></u></p></div><p class="MsoNormal">&gt;  and the billing stops from the trunk provider  .**** <u></u><u></u></p><div><p class="MsoNormal">
&gt; <br>&gt; The problem is my opensips with IP <a href="http://89.207.133.144" target="_blank">89.207.133.144</a> didn’t hangup the call <u></u><u></u></p></div><p class="MsoNormal">&gt; and go for the max call duration in the dialog module .**** <u></u><u></u></p>
<div><p class="MsoNormal">&gt; <br>&gt; -how to let opensips cancel the call immediately  and stop it with no <u></u><u></u></p></div><p class="MsoNormal">&gt; billing .**** <br>&gt; <br>&gt; Please find attached my opensips.cfg configuration file **** <br>
&gt; <br>&gt;  **** <br>&gt; <br>&gt; Regards**** <br>&gt; <br>&gt;  **** <br>&gt; <br>&gt;  **** <br>&gt; <br>&gt; Khaled Chehab**** <br>&gt; <br>&gt; Senior NGN Engineer**** <br>&gt; <br>&gt; [image: Description: icucall]**** <br>
&gt; <br>&gt; Operations Office - Lebanon**** <br>&gt; <br>&gt; Office    : <a href="tel:+9611515155" target="_blank">+961 1 515155</a> ext 300**** <br>&gt; <br>&gt; Mobile  : <a href="tel:+9613045212" target="_blank">+961 3 045212</a>**** <br>
&gt; <br>&gt; E-mail    : <a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>**** <br>&gt; <br>&gt; MSN ID :<a href="mailto:khalidchehab@hotmail.com" target="_blank">khalidchehab@hotmail.com</a> **** <br>
&gt; <br>&gt; Skype    : k_chehab **** <br>&gt; <br>&gt; Web Site: <a href="http://www.icucall.com" target="_blank">http://www.icucall.com</a>**** <br>&gt; <br>&gt;                      <a href="http://www.allohi.com" target="_blank">http://www.allohi.com</a>**** <br>
&gt; <br>&gt;  **** <u></u><u></u></p><div><p class="MsoNormal">&gt; <br>&gt; <br>&gt; _______________________________________________ <br>&gt; Users mailing list <br>&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <u></u><u></u></p>
</div><p class="MsoNormal" style="margin-bottom:12.0pt">&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>**** <br>&gt; <u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></p>
</div><p class="MsoNormal"><br><br clear="all"><br>-- <br>Muhammad Shahzad<br>-----------------------------------<br>CISCO Rich Media Communication Specialist (CRMCS)<br>CISCO Certified Network Associate (CCNA)<br>Cell: <a href="tel:%2B49%20176%2099%2083%2010%2085" value="+4917699831085" target="_blank">+49 176 99 83 10 85</a><br>
MSN: <a href="mailto:shari_786pk@hotmail.com" target="_blank">shari_786pk@hotmail.com</a><br>Email: <a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a><u></u><u></u></p></div></div></div>
</div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</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: +49 176 99 83 10 85<br>
MSN: <a href="mailto:shari_786pk@hotmail.com" target="_blank">shari_786pk@hotmail.com</a><br>Email: <a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a><br>