Hi,
My problem is when i do test transport in LibreNMS that is using PlaySMS and Twilio as SMSC i get 63XXXXXXXXXX as oppose to the needed E.164 format +63XXXXXXXXXX. But when i tried testing it in PlaySMS in compose message, I entered the TO number in E.164 it sends out SMS messages successfully.
PlaySMS compose message test [SUCCESSFUL]
-
- 2018-05-18 07:44:24 PID5afee6c84df63 - L2 sendsms_process # start
-
- 2018-05-18 07:44:24 PID5afee6c84df63 - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:63XXXXXXXXX9 adhoc_credit:1000 count:1 rate: charge:0 adhoc_balance:1000
-
- 2018-05-18 07:44:24 PID5afee6c84df63 - L2 sendsms # saving smslog_id:12 u:1 parent_uid:0 g:0 gw:twilio smsc:twilio s:12243130172 d:639XXXXXXX9 type:text unicode:0 status:0
-
- 2018-05-18 07:44:24 PID5afee6c84df63 - L2 sendsms_process # saved smslog_id:12 id:12
LibreNMS test transport to PlaySMS [FAILED]
-
- 2018-05-18 07:44:26 PID5afee6c84df63 - L2 3 # sendsms url:[https://api.twilio.com/2010-04-01/Accounts/AC4XXXXXXXXXXXXX/SMS/Messages.json] callback:[http://192.168.100.45/playsms/plugin/gateway/twilio/callback.php
-
- 2018-05-18 07:44:26 PID5afee6c84df63 - L2 twilio_hook_sendsms # sent smslog_id:12 message_id: status:400 error:400|21211|The ‘To’ number 639XXXXXXXX9 is not a valid phone number. smsc:[twilio]
-
- 2018-05-18 07:44:26 PID5afee6c84df63 - L2 sendsms_process # fail no hook for sendsms
-
- 2018-05-18 07:44:26 PID5afee6c84df63 - L2 sendsms_process # end