FS-5171 please test
minor tidyup of user-submitted patch from last year
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch