In case null, emptry string, undefined or NaN is passed as parameter value then its default value is applied.
Also print to console the processed value of all the parameters after validating them.
Merge branch 'master' of github.com:versatica/JsSIP