[sr-dev] git:master:b4a44236: modules/ims_dialog: pass reason to terminate function