Add db stuff to asterisk