Do you guys know how to change the default sms gateway for the selected one in config profile?
The original file is just for twillio. That sucks. ;/
in the module files it just points to twillio, twiliosid, etc..
reminder.php:
266 if ($reminder['notify_by_sms_client'] == '2') {
267: $account_sid = get_option('sms_twilio_account_sid');
268 if($account_sid !=''){
helpers/reminder_helper.php:
174 {
175: $account_sid = get_option('sms_twilio_account_sid');
176: $auth_token = get_option('sms_twilio_auth_token');
177: $twilio_number = get_option('sms_twilio_phone_number');
178: $client = new Twilio\Rest\Client($account_sid, $auth_token);
179 $sms_ids = [];
181 try {
182: $message = $client->messages->create($to, array('from' => $twilio_number, 'body' => $message));
183 $sms_ids[] = $message->sid;