Voipmonitor takes care now of the sql queries