Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
select count(0) as channels from live_sip_channels
Fixed.
The reason why those files were still in the memory, it is because some calls (channels) remains opens even when the agents hangup; you can do a query like this:
CODE: SELECT ALL
select count(0) as channels from live_sip_channels
to confirm it is your case too.
So, for an unknown reason the dialer in manual mode was leaving some channels opened, even when the agent had press the hangup button.
I fixed altering the manager_send.php , using the code posted by Caspar here:http://www.eflo.net/VICIDIALforum/viewtopic.php?p=8616
But this was not enough, I also created a perl script that runs every minute to kill any unwanted ghost call/channel.
See more details and the files attached in the mantis bug tracker here: http://www.vicidial.org/VICIDIALmantis/view.php?id=837
ruben23 wrote:@William
this get easy fill up like after 3-5 hours on a daily basis and our option is to reboot the server to make the tmpfs back to zero and of course we lost recordings after that
root@viciast1:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.9G 4.0K 7.9G 1% /dev
tmpfs 1.6G 356K 1.6G 1% /run
/dev/sda1 288G 75G 201G 28% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 7.9G 0 7.9G 0% /run/shm
none 100M 0 100M 0% /run/user
tmpfs 20G 422M 20G 3% /var/spool/asterisk/monitor
Thats is the actual output of df, i already adjusted the tmpfs bigger that's from 10GB to 20GB now. any idea somehow its like everyday we need to reboot like max of 3 times and min of 2 times
how do i run the debug mode.?
Users browsing this forum: Bing [Bot], Google [Bot] and 59 guests