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"><<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>></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:"Calibri","sans-serif";color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";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:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";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:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <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> 'OpenSIPS users mailling list'<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:"Calibri","sans-serif";color:#1f497d">Thanks I found it <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";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:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <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> 'OpenSIPS users mailling list'<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:"Calibri","sans-serif";color:#1f497d">Mohammad,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";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:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Khaled<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <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 <<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>> 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 <<a href="mailto:shaheryarkh@googlemail.com" target="_blank">shaheryarkh@googlemail.com</a>><br>To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><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>
<<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>>wrote: <br><br>> dears, <br>> <br>> the mediaproxy timeout didnt.suceed any more ideas? <br>> <br>> Regards <br>> <br>> Sent from my android device. <br>
> <br>> <br>> <br>> -----Original Message----- <br>> From: "M.Khaled W Chehab" <<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>> <br>> To: 'OpenSIPS users mailling list' <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>> <br>
> Sent: Fri, 16 Nov <a href="tel:20125" target="_blank">2012 5</a>:18 PM <br>> Subject: Re: [OpenSIPS-Users] calls have max call duration <br>> <u></u><u></u></p></div><p class="MsoNormal">> Dears,**** <br>> <br>
> ** ** <u></u><u></u></p><div><p class="MsoNormal">> <br>> Thanks for your kindly reply, and I will try to arrange my opensips <br>> configuration file and send it back if the media configuration didn’t <u></u><u></u></p>
</div><p class="MsoNormal">> solve this problem ,**** <u></u><u></u></p><div><p class="MsoNormal">> <br>> BTW I am using a mix between a residential and trunking script ,do you <br>> have a config tested having a permission ,routing dialplan module tested <u></u><u></u></p>
</div><p class="MsoNormal">> for small carrier level ,you can send me a copy of it .**** <br>> <br>> **** <br>> <br>> My old config mediaproxy was **** <br>> <br>> stream_timeout = 90**** <br>> <br>
> on_hold_timeout = 3540**** <br>> <br>> so set it now to **** <br>> <br>> stream_timeout = 30**** <br>> <br>> on_hold_timeout = 600**** <br>> <br>> ** ** <u></u><u></u></p><div><p class="MsoNormal">
> <br>> I will monitor it now and inform you about the result , but my question <u></u><u></u></p></div><p class="MsoNormal">> is ,is there a solution using signaling function I can implement ?**** <br>> <br>
> ** ** <br>> <br>> ** ** <br>> <br>> Regards**** <br>> <br>> ** ** <br>> <br>> ** ** <br>> <br>> ** ** <br>> <br>> ** ** <br>> <br>> *From:* <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto: <br>
> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] *On Behalf Of *Muhammad Shahzad <br>> *Sent:* Friday, November 16, <a href="tel:20125" target="_blank">2012 5</a>:01 PM <br>
> *To:* OpenSIPS users mailling list <br>> *Subject:* Re: [OpenSIPS-Users] calls have max call duration**** <br>> <br>> ** ** <u></u><u></u></p><div><p class="MsoNormal">> <br>> Your opensips config is pretty messed up and hard to read. So, while i try <br>
> to read it to find the problem, as a workaround you should set RTP timeouts <u></u><u></u></p></div><p class="MsoNormal">> in your mediaproxy configuration file (i.e. config.ini), e.g.**** <br>> <br>> ** ** <br>
> <br>> stream_timeout = 30**** <u></u><u></u></p><div><p class="MsoNormal">> <br>> on_hold_timeout = 1800 <br>> <br>> This will result in automatic call hangup if there is no media for at <br>> least 30 seconds. This will reduce wrong billing problem to 30 seconds, and <br>
> your customer's balance will not be exhausted completely. Similarly if call <br>> is on hold for more then 30 minutes and no media is transferred during this <br>> time (not even music on hold) then call will hangup (change this timeout to <u></u><u></u></p>
</div><p class="MsoNormal">> whatever appropriate for you).**** <br>> <br>> ** ** <br>> <br>> Thank you.**** <br>> <br>> ** ** <u></u><u></u></p><div><p class="MsoNormal">> <br>> On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <<a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>> <u></u><u></u></p>
</div><p class="MsoNormal">> wrote:**** <br>> <br>> Dears,**** <br>> <br>> **** <u></u><u></u></p><div><p class="MsoNormal">> <br>> How to drop the call when a cancel received from UA and a 200 OK from <br>
> the trunk in the same second, note back the client cdr will be a canceled <br>> 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">> daialog timeout duration**** <br>
> <br>> **** <u></u><u></u></p><div><p class="MsoNormal">> <br>> I am searching for a solution for this since two weeks as I tried all <u></u><u></u></p></div><p class="MsoNormal">> trick I know and all didn’t succeed ,**** <u></u><u></u></p>
<div><p class="MsoNormal">> <br>> Find attached the scenario I have problem with, which you can find it at <br>> 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>
> sends a cancel ,and the opensips version 1.8.2 server with IP <br>> <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>> 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>
> wireshark time line the trunk sends a 200 OK then 487 request terminated <u></u><u></u></p></div><p class="MsoNormal">> and the billing stops from the trunk provider .**** <u></u><u></u></p><div><p class="MsoNormal">
> <br>> 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">> and go for the max call duration in the dialog module .**** <u></u><u></u></p>
<div><p class="MsoNormal">> <br>> -how to let opensips cancel the call immediately and stop it with no <u></u><u></u></p></div><p class="MsoNormal">> billing .**** <br>> <br>> Please find attached my opensips.cfg configuration file **** <br>
> <br>> **** <br>> <br>> Regards**** <br>> <br>> **** <br>> <br>> **** <br>> <br>> Khaled Chehab**** <br>> <br>> Senior NGN Engineer**** <br>> <br>> [image: Description: icucall]**** <br>
> <br>> Operations Office - Lebanon**** <br>> <br>> Office : <a href="tel:+9611515155" target="_blank">+961 1 515155</a> ext 300**** <br>> <br>> Mobile : <a href="tel:+9613045212" target="_blank">+961 3 045212</a>**** <br>
> <br>> E-mail : <a href="mailto:kchehab@icucall.com" target="_blank">kchehab@icucall.com</a>**** <br>> <br>> MSN ID :<a href="mailto:khalidchehab@hotmail.com" target="_blank">khalidchehab@hotmail.com</a> **** <br>
> <br>> Skype : k_chehab **** <br>> <br>> Web Site: <a href="http://www.icucall.com" target="_blank">http://www.icucall.com</a>**** <br>> <br>> <a href="http://www.allohi.com" target="_blank">http://www.allohi.com</a>**** <br>
> <br>> **** <u></u><u></u></p><div><p class="MsoNormal">> <br>> <br>> _______________________________________________ <br>> Users mailing list <br>> <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">> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>**** <br>> <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>