Posts Tagged ‘astdb’

Putting a plenty of numbers to the blacklist

Monday, September 16th, 2013

for i in (list_numbers); do
asterisk -rx "database put blacklist $i 1"
done

Where ‘list_numbers’ is your file with numbers.
Tnanks to zzuz.