Prevent call_hostname nil issue by pre-defining it. Improve the uuid nil check to prevent an error.

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