Validation at method level for directory number.

Bit more cautious to avoid potential SQL injection if this method was reused somewhere else.
Added some documentation about details on calls made to CUCM.