Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
These not-callable cities change often, so we want to keep them in the database and VICIDIAL-FILTER them out, with the vicidial filter
city not regexp '^(city1|city2|city3 ...)$'
this is unfortunately very slow and difficult to mantain.
echo "select city_name from asterisk.cities where statut = 0;" | mysql -ucron -p1234 | while read i
do
ii=\'$i\'
echo "update asterisk.vicidial_list set list_id = 999999 where city = $ii;" | mysql -ucron -p1234
done
Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 49 guests