• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 743
  • Last Modified:

Moving MixMonitor files upon Hangup in Asterisk

Hello experts,

I have an ATCom IP04 asterisk box. It has a very limited memory size. So, every call recordings should be moved to another linux server upon hangup. I think this should be done using application (System) in asterisk dialplan extension h.

1. Would you please write the System script which will move the file either to Windows or linux file server.
2. Moving the file to a remote server may take several minutes. ( I have a 256kbps connection). Does that mean the call will not be hungup until file is totally moved?
  • 2
  • 2
1 Solution
1. How many calls do you get each day?
2. What format are you recording the calls in?
3. Would it be ok to move them at night when nobody is using the system?
MuhajreenAuthor Commented:
1. Daily about 100 calls
2. I am using gsm format
3. I think the memory of IP02 will not carry 100 calls.
MuhajreenAuthor Commented:
I have another remote Asterisk which has a sufficient capacity. Is it possible to record directly to it instead of recording locally?
I don’t know if you can record it remotely?

Here are a few ways (there are many ways to do it). What is your preference?

256k link lets say 15% overhead you will get about 1.6MB minute (27k second) if you have exclusive access.

I recorded a few gsm calls that worked out about 96k for a one minute call so if every call was 10 minutes (960k a call) that would be just under 96MB for a 100 x 10 minute calls so you may be able to store a days worth and move over night.

Some options;

1. Like this with scp;

2. Setup an ftp, SSH  backup job on Windows with WS_FTP Pro to retrieve them.

… other things like Linux\Windows ftp script?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now