execute entity query in asterisk db instead of xivo db
Merge branch 'entity_filter'