From 59492e3126774a0130f74194d23dd24fb61bb8f7 Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <gua@adhisimon.org> Date: Wed, 24 May 2017 18:41:19 +0700 Subject: [PATCH] MSISDN not found rc 14 --- gentong.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gentong.js b/gentong.js index 2f67c6a..24419f8 100644 --- a/gentong.js +++ b/gentong.js @@ -328,6 +328,9 @@ function responseCodeFromMessage(message) { else if (message.toLowerCase().indexOf('nomor telepon seluler salah') >= 0) { return '14'; } + else if (message.indexOf('MSISDN not found') >= 0) { + return '14'; + } else if (message.indexOf('UNKNOWN_NUMBER') >= 0) { return '14'; } -- 1.9.0