asterisk realtime postgresql dump