Fix the call direction dialplan which on sqlite was showing up empty, and missing completely in Postgres.

git-svn-id: http://fusionpbx.googlecode.com/svn/trunk@6754 e2954ef0-caed-11de-bd98-e341d93cc3cc