YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.68k stars 729 forks source link

[Feature] SMS Provider Integeration other than SMSAPI with latest Yetiforce version #12439

Open sajalT05 opened 4 years ago

sajalT05 commented 4 years ago

Can the development team help with providing support to integerate any SMS Provider like ClickATell, Twilio, Nexmo,etc. with Yetiforce for sending all types SMS from the backend.

mariuszkrzaczkowski commented 4 years ago

what do you mean?

z0lo13 commented 4 years ago

@sajalT05 create a new class at /public_html/modules/SMSNotifier. Please use existing class SMSAPI as a reference, public function send() is responsible for sending messages, we are using Ringcentral and i had to rewrite the function as the one provided in basic doe not accommodate RingCentral API req and if you do not want to modify core, include you function inside of your class.

https://www.clickatell.com/developers/platform/api-documentation/ (API for clickATell) https://www.twilio.com/docs/usage/api (Twilio) https://developer.nexmo.com/api (NExmo)

apcloic commented 4 years ago

@sajalT05 In order to add and configure a new sms provider, you could also use autoloader to override core file. We are using OVH as SMS provider, so I had to write a modified send() function in custom/modules/SMSNotifier/providers/Basic.php

https://yetiforce.com/en/knowledge-base/documentation/developer-documentation/item/loader-and-autoloader-of-files

sajalT05 commented 4 years ago

Is there any updated version of ClickATell.php file for latest yetiforce version?

mariuszkrzaczkowski commented 4 years ago

If anyone has a ready and working integration, let them share and upload to the repository using Pull request or send an email to github@yetiforce.com It may be with a modification of the engine files, we will improve it so that you do not have to do it

apcloic commented 4 years ago

@mariuszkrzaczkowski Hi, I've sent you a mail with my files for OVH. Regards,

z0lo13 commented 4 years ago

@mariuszkrzaczkowski Hello, I will send the request shortly.

mariuszkrzaczkowski commented 4 years ago

@mariuszkrzaczkowski Hi, I've sent you a mail with my files for OVH. Regards,

I received, I will check in my free time