04-01-2015, 11:30 PM
Same error message: Fatal error: Uncaught exception 'Services_Twilio_RestException' with message 'The 'To' number 16019XXXXXXX is not a valid phone number.' in /var/www/midnitechallenge.com/includes/twilio/Services/Twilio.php:303 Stack trace: #0 /var/www/midnitechallenge.com/includes/twilio/Services/Twilio.php(182): Base_Services_Twilio->_processResponse(Array) #1 /var/www/midnitechallenge.com/includes/twilio/Services/Twilio/ListResource.php(92): Base_Services_Twilio->createData('/2010-04-01/Acc...', Array) #2 /var/www/midnitechallenge.com/includes/twilio/Services/Twilio/Rest/Messages.php(24): Services_Twilio_ListResource->_create(Array) #3 /var/www/midnitechallenge.com/includes/twilio/Services/Twilio/Rest/Messages.php(71): Services_Twilio_Rest_Messages->create(Array) #4 /var/www/midnitechallenge.com/includes/functions.inc.php(901): Services_Twilio_Rest_Messages->sendMessage('360-383-5679', '16019XXXXXXX', 'Your verificati...') #5 /var/www/midnitechallenge.com/_sms.php(64): sendSMS('58732', '16019XXXXXXX', '4ce3b') #6 {main} thrown in /var/www/midnitechallenge.com/includes/twilio/Services/Twilio.php on line 303
My country code is 60 so I should enter +160 but the system doesn't recognized the 0 (up to +16 only) to be key-in on the first box but the rest of the 9 digit numbers is okay (19XXXXXXX above) for the second box.
My country code is 60 so I should enter +160 but the system doesn't recognized the 0 (up to +16 only) to be key-in on the first box but the rest of the 9 digit numbers is okay (19XXXXXXX above) for the second box.