Skip to content

Commit 5fa84b3

Browse files
authored
Add return for CDR messages in filter HSP (#242)
Fixes #241. A return was mistakenly removed, so that now this filter will fail to process any CDR-type messages (or, at least, won't pass them through the filter).
1 parent b51a105 commit 5fa84b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/filters/app_hsp/filter_app_hsp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ FilterAppHsp.prototype.process = function(raw) {
192192
}
193193
}
194194
}
195-
195+
return raw.message;
196196
} else { return raw.message; }
197197

198198
} catch(e) { console.log('ERROR:',e); return raw.message; }

0 commit comments

Comments
 (0)