Hi,

 

Please  that the problem still exists, now  I can find calls having  190 or 188 
seconds since the value at 
/proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeout_stream is    180 

,since it should be 0 seconds,

Any idea to drop  the accounting if the UA send a  cancel as  the  below 
scenario .

 

Regards

 

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Muhammad Shahzad
Sent: Friday, November 16, 2012 5:01 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] calls have max call duration

 

Your opensips config is pretty messed up and hard to read. So, while i try to 
read it to find the problem, as a workaround you should set RTP timeouts in 
your mediaproxy configuration file (i.e. config.ini), e.g.

 

stream_timeout = 30

on_hold_timeout = 1800

This will result in automatic call hangup if there is no media for at least 30 
seconds. This will reduce wrong billing problem to 30 seconds, and your 
customer's balance will not be exhausted completely. Similarly if call is on 
hold for more then 30 minutes and no media is transferred during this time (not 
even music on hold) then call will hangup (change this timeout to whatever 
appropriate for you).

 

Thank you.

 

On Fri, Nov 16, 2012 at 2:13 PM, M.Khaled W Chehab <[email protected]> wrote:

Dears,

 

How to drop  the call  when a cancel received from UA and a 200 OK from the 
trunk in the same second, note back the client cdr will be a canceled call and 
the trunk cdr will be 1 sec duration but on my cdr its the max daialog  timeout 
duration

 

I am searching for a  solution for this since two weeks as I tried all trick I 
know and all didn’t succeed ,

Find attached the scenario I have problem with, which you can find it at  
wireshark time line (30.877027)  the Client with IP ( 74.114.101.170) sends  a 
cancel ,and the opensips version 1.8.2  server with IP 89.207.133.144   send 
the client 200 canceling and  in its terms forward the cancel to the trunk 
provider with IP 74.114.101.190 ,but at 31.015333 wireshark time line the trunk 
sends a 200 OK  then 487 request terminated  and the billing stops from the 
trunk provider  .

The problem is my opensips with IP 89.207.133.144 didn’t hangup the call and go 
for the max call duration in the dialog module .

-how to let opensips cancel the call immediately  and stop it with no billing .

Please find attached my opensips.cfg configuration file 

 

Regards

 

 

Khaled Chehab

Senior NGN Engineer

Description: icucall

Operations Office - Lebanon

Office    : +961 1 515155 ext 300 <tel:%2B961%201%20515155%20ext%20300> 

Mobile  : +961 3 045212 <tel:%2B961%203%20045212> 

E-mail    : [email protected]

MSN ID :[email protected] 

Skype    : k_chehab 

Web Site: http://www.icucall.com

                     http://www.allohi.com

 


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





 

-- 
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [email protected]
Email: [email protected]

<<image001.png>>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to