Open onglipo opened 8 years ago
I think we can reuse the existing one. I think we should change the config to support multiple configurations like:
KA_SMS_CONFIG = { "default": { ... }, "promotional": { } }
and make the sms code use the name "default" by default and provide an option to override that. When the SMS is sent to contacts, we should call the same code with name as "promotional".
On Wed, Jan 13, 2016 at 2:26 PM, onglipo notifications@github.com wrote:
Need to add a new set of credentials to /opt/cleansweep/etc/cleansweepcfg similar to KA_SMS_CONFIG We can still use the SMS API, but with a different URL and credentials New module or reuse existing with minor mods?
— Reply to this email directly or view it on GitHub https://github.com/AamAadmiParty/cleansweep-karnataka/issues/3.
+vely a better idea. Give me some pointers to dig into. Are we using the SMS/http Bridge code also for this?
Need to add a new set of credentials to /opt/cleansweep/etc/cleansweep.cfg similar to KA_SMS_CONFIG. We can still use the SMS API, but with a different URL and credentials. New module or reuse existing with minor mods?