Sedang Disiapkan

Asterisk Old Prompts Clean-up

What I need is a PHP Script to be called by 'cron' to clean-up old recorded outgoing messages at some regular interval. Basically, we have outgoing messages that are recorded by my customer that are saved into a folder '/var/lib/asterisk/sounds/custom/xxxxxxx/' where xxxxxxx is the DID of the owner. There is a database call 'dax' and a table called 'dnislookup' that contains the current file name of the prompts to be played to the callers. However, the customer's folder will have several recorded prompts which are old.

Your job is to create a script that will open the table, gather the current prompt file names and then go to the customers folder and delete any that are not current. The fields in dnislookup of concern are 'bin1' to 'bin8', 'bin90' to 'bin94'. These fields will contain the current & active prompts without the file extension. An example of a file name might be '1_1234' (note: '1_' means it's bin 1) - In the customer's folder this would be '[url removed, login to view]'

Confused, please ask questions

Thanks, Bart

Kemahiran: Perkhidmatan Audio, Linux, PHP

Lihat lebih lanjut: where played, old database, custom audio services, asterisk amp, old messages, dax, clean-up, Clean, clean up, clean my, callers, audio messages, asterisk, asterisk php, amp asterisk, audio file clean, asterisk outgoing, active call, outgoing call, asterisk database fields, asterisk extension custom, cron delete table php, asterisk custom extension, bin file, clean php script

Tentang Majikan:
( 39 ulasan ) Buena Park, United States

ID Projek: #384311

Dianugerahkan kepada:

innovativeWork

Task is clear. Escrow required to start. Thank you.

$30 USD dalam 2 hari
(94 Ulasan)
6.8

9 pekerja bebas membida secara purata $65 untuk pekerjaan ini

meral

can do it. need escrow to start.

$100 USD dalam 0 hari
(146 Ulasan)
7.9
Arenabpo

Hello, I am php expert,this script is easy for me. i can write it for you.(I ensure 100% satisfiction) Thanks!

$50 USD dalam sehari
(159 Ulasan)
7.7
dagdya99

When shall start

$30 USD dalam 0 hari
(209 Ulasan)
7.1
neanton

Lets start

$40 USD dalam 0 hari
(84 Ulasan)
5.9
tahiralmas

can do the task using shell scripting

$100 USD dalam 2 hari
(10 Ulasan)
4.3
teksavvy

Expert in php and Asterisk PBX, have daily on these techs, can kickstart right now.

$100 USD dalam 3 hari
(8 Ulasan)
3.9
LemensTS

Im in the USA and can do this no problem. PHP and Asterisk is my specialty, check out projects I have written at [url removed, login to view] on the left menu under 'Projects"

$100 USD dalam 3 hari
(0 Ulasan)
0.0
Shadowvip

Ready to work. More info on PM

$35 USD dalam sehari
(0 Ulasan)
0.0