Page 1 of 1

Calls not getting hungup

PostPosted: Fri Aug 24, 2012 6:09 am
by cbsys
We are running goautodial 2.1 64-bit, Centos 5.8, vicidial VERSION: 2.4-309a BUILD: 110430-1642 , Asterisk 1.4.39.1-vici.go

We have a broadcast campaign which is dialing around 5000 contacts per day
At the end of the day we usually have 1 or 2 calls still active on the SIP trunk even though the broadcast campaign has stopped.

Asterisk shows the channels as up, and so does the SIP provider, but no RTP is being sent.

After running a trace we can see that asterisk has never sent a BYE message for those calls, hence even with no RTP they still look like they are up.

Unfortunately we are getting charged by the SIP provider for calls which are lasting hours!
This is odd because my dial command has tToL(3600000) as the dial options, which should mean that ALL calls are forcibly closed after 1 hour
This doesnt seem to close those ones in question though, as no BYE is ever sent in the SIP message

Any ideas how to stop this from happening ???

Re: Calls not getting hungup

PostPosted: Sat Aug 25, 2012 6:58 am
by sniper888
Hi Cbsys,

Can you post logs in your asterisk, sip debug, sip show channels?

Cheers
q^_^p

Re: Calls not getting hungup

PostPosted: Sat Aug 25, 2012 7:58 am
by cbsys
I could, but they are HUGE!

Suffice to say, I have run a pcap trace and can see that no BYE was ever transmitted for those particular calls

I can hang them up manually using the "soft hangup" CLI command in asterisk
However, why they never had a BYE in the first place seems very odd!

Re: Calls not getting hungup

PostPosted: Mon Apr 08, 2013 4:29 pm
by williamconley
create a routine to check for live calls that are over 30 minutes old and forcibly kill them. run it every 30 minutes.

and change voip providers.

you may also consider upgrading or installing again with Vicibox to see if that changes your system enough to avoid the problem.