Hi Santosh, Yes, I am able to select sms provider name from drop-down.
I have created an SMS campaign using the Twilio Provider. Now I am getting below erros on Message Gateway Console: 2018-07-16 13:34:04.471 INFO 1172 --- [ool-12-thread-1] > o.f.m.s.p.i.t.TwilioMessageProvider : Sending SMS to +9193xxxxxx77 > ... > 2018-07-16 13:34:07.644 ERROR 1172 --- [ool-12-thread-1] > o.f.m.s.p.i.t.TwilioMessageProvider : ApiException while sending > message to :93xxxxxx77 with reason The StatusCallback URL > http://localhost:9191/twilio/report/11 is not a valid URL. --- Mangal On Mon, Jul 16, 2018 at 2:15 PM, Santosh Math < [email protected]> wrote: > Hi Mangal, > > In the 4th step, Are you able to select sms provider name from drop-down? > It was not happening in the last demo, right? > > Regards > Santosh > > On Mon, Jul 16, 2018 at 1:41 PM, Mangal Kumar <[email protected]> > wrote: > >> Hi Santosh, >> >> We have taken the following steps to enable SMS Campaign. SMS provider >> name is displaying in campaign page drop-down but getting errors on sending >> SMS. >> >> *Errors* >> >> 2018-07-16 13:34:04.471 INFO 1172 --- [ool-12-thread-1] >>> o.f.m.s.p.i.t.TwilioMessageProvider : Sending SMS to +9193xxxxxx77 >>> ... >>> 2018-07-16 13:34:07.644 ERROR 1172 --- [ool-12-thread-1] >>> o.f.m.s.p.i.t.TwilioMessageProvider : ApiException while sending >>> message to :93xxxxxx77 with reason The StatusCallback URL >>> http://localhost:9191/twilio/report/11 is not a valid URL. >> >> >> *Steps:* >> >> *1. Setup Message Gateway* >> >> - Create a database messagegateway. >> - Clone the Message gateway code locally >> - Build the Message Gateway code by runnign command: >> - $ cd message-gateway >> - $ gradlew clean build -Pprofile=deployable >> - Run the message gateway application standalone, run the command: >> - $ cd build/libs >> - java -jar message-gateway.jar >> >> 2018-07-16 12:38:17.440 INFO 1172 --- [ main] >>> s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): >>> 9191/http >>> 2018-07-16 12:38:17.443 INFO 1172 --- [ main] >>> o.f.messagegateway.MessageGateway : Started MessageGateway in >>> 5.992 seconds (JVM running for 6.438) >> >> >> >> *2. Create Tenant app key* >> POST http://localhost:9191/tenants/ >> { >> "tenantId" : "default", >> "description" : "Some Description" >> } >> >> *3. Create Twilio SMS Bridge * >> POST http://local:9191/smsbridges >> { >> "phoneNo": "+15xxxxxxx46", >> "providerName": "Twilio Provider", >> "providerDescription": "SMS Provider for promotional messages", >> "providerKey":"Twilio", >> "countryCode":"+91", >> "bridgeConfigurations": [ >> { >> "configName":"Provider_Account_Id", >> "configValue":"xxxxxxxxx" >> }, >> { >> "configName":"Provider_Auth_Token", >> "configValue":"xxxxxxxxxx" >> } >> ] >> } >> >> 4. Create a SMS Campaign Type Trigger on Deposit in Savings account using >> Twilio Provider. >> >> 5. Try to deposit in client savings account. >> >> 6. No SMS on client phone but getting errors on Message Gateway console: >> >> 2018-07-16 13:34:04.471 INFO 1172 --- [ool-12-thread-1] >>> o.f.m.s.p.i.t.TwilioMessageProvider : Sending SMS to +919358209777 >>> ... >>> 2018-07-16 13:34:07.644 ERROR 1172 --- [ool-12-thread-1] >>> o.f.m.s.p.i.t.TwilioMessageProvider : ApiException while sending >>> message to :9358209777 with reason The StatusCallback URL >>> http://localhost:9191/twilio/report/11 is not a valid URL. >> >> >> Request to respond. >> >> Thank you, >> Mangal >> >> On Mon, Jul 16, 2018 at 1:23 PM, Mangal Kumar <[email protected]> >> wrote: >> >>> Hi Santosh, >>> >>> We have taken the following steps to enable SMS Campaign. >>> >>> 1. Setup Message Gateway >>> - Create a database messagegateway. >>> - Clone the Message gateway code locally >>> - Build the Message Gateway code by runnign command: >>> - $ cd message-gateway >>> - $ gradlew clean build -Pprofile=deployable >>> - Run the message gateway application standalone, run the command: >>> - $ cd build/libs >>> - java -jar message-gateway.jar >>> - >>> >>> >>> >>> >>> On Fri, Jul 13, 2018 at 6:58 PM, Mangal Kumar <[email protected]> >>> wrote: >>> >>>> Hi Santosh, >>>> >>>> Sharing in the enclosed excel sheet steps undertaken to setup *Twilio >>>> SMS Gateway Trial Account.* >>>> >>>> Best, >>>> >>>> Mangal >>>> >>>> On Fri, Jul 13, 2018 at 4:45 PM, Santosh Math < >>>> [email protected]> wrote: >>>> >>>>> Hi Mangal >>>>> >>>>> Please find the attached file to understand how sms campaign works. >>>>> You can download front end for sql , ie.. heidisql from here: >>>>> >>>>> https://www.heidisql.com/download.php >>>>> >>>>> On Fri, Jul 13, 2018 at 4:13 PM, Mangal Kumar <[email protected] >>>>> > wrote: >>>>> >>>>>> Hi Santosh, >>>>>> >>>>>> I have sent contact request to you. Please accept. >>>>>> My Skype id: [email protected] >>>>>> >>>>>> --- >>>>>> Mangal >>>>>> >>>>>> >>>>>> On Fri, Jul 13, 2018 at 3:37 PM, Santosh Math < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> I am online on Skype. Please send me contact request to skype id >>>>>>> santoshmath99 >>>>>>> >>>>>>> On Fri, Jul 13, 2018 at 11:59 AM, Brijesh Kumar < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Thanks! Santosh, Mangal, >>>>>>>> >>>>>>>> I will also join the Skype meeting. My Skype ID: docbrij. >>>>>>>> >>>>>>>> Best, >>>>>>>> >>>>>>>> Brijesh >>>>>>>> >>>>>>>> >>>>>>>> --------- >>>>>>>> Brijesh Kumar, *Ph.D.* >>>>>>>> *Founder & CEO* >>>>>>>> Digital Media Initiatives | Bodhi Project >>>>>>>> http://dmi.systems <http://dmi.systems>| https://glimmer.finance >>>>>>>> +91 955 724 8880 <+91%2095572%2048880> >>>>>>>> Skype: docbrij >>>>>>>> LinkedIn: https://in.linkedin.com/in/brijeshkumardmi >>>>>>>> >>>>>>>> On Fri, Jul 13, 2018 at 11:40 AM, Santosh Math < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Hi Mangal, >>>>>>>>> >>>>>>>>> Can we have a call at 4 pm IST , today? I will be online in >>>>>>>>> google hangout for this mail id. >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> Santosh >>>>>>>>> >>>>>>>>> On Fri, Jul 13, 2018 at 11:37 AM, Mangal Kumar < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> Hi Santosh, >>>>>>>>>> >>>>>>>>>> We have implemented and configured Message Gateway successfully >>>>>>>>>> as per documentation (https://mifosforge.jira.com/w >>>>>>>>>> iki/spaces/docs/pages/166658049/Message+Gateway+Configuration). >>>>>>>>>> >>>>>>>>>> https://mfi.glimmer.finance/message-gateway-0.0.1/sms >>>>>>>>>> >>>>>>>>>> Currently, we are using Twilio test account. Message gateway is >>>>>>>>>> sending SMS on my mobile number using REST client but when we >>>>>>>>>> register it >>>>>>>>>> as SMS bridge webhook in MifosX then it is not sending SMS on >>>>>>>>>> specified >>>>>>>>>> events. >>>>>>>>>> >>>>>>>>>> SMS Bridge webhook template details are: >>>>>>>>>> >>>>>>>>>> Hook Name: Twilio SMS >>>>>>>>>> Status: true >>>>>>>>>> Activation Date: [2018,7,12] >>>>>>>>>> Updated On: [2018,7,12] >>>>>>>>>> *Events:* >>>>>>>>>> REPAYMENT - LOAN >>>>>>>>>> CREATE - CLIENT >>>>>>>>>> Payload URL: https://mfi.glimmer.finance/me >>>>>>>>>> ssage-gateway-0.0.1/sms >>>>>>>>>> Phone Number: <Twilio Phone number> >>>>>>>>>> SMS Provider: Twilio >>>>>>>>>> SMS Provider Account Id: <Twilio AccountID> >>>>>>>>>> SMS Provider Token: <Twilio Token> >>>>>>>>>> >>>>>>>>>> Please suggest why MifosX is not sending SMS. >>>>>>>>>> >>>>>>>>>> Thank you, >>>>>>>>>> Mangal >>>>>>>>>> >>>>>>>>>> On Fri, Jul 13, 2018 at 11:01 AM, Santosh Math < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Mangal, >>>>>>>>>>> >>>>>>>>>>> I think Antony is referrring to this documentation: >>>>>>>>>>> >>>>>>>>>>> https://mifosforge.jira.com/wiki/spaces/docs/pages/166658049 >>>>>>>>>>> /Message+Gateway+Configuration >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> Santosh >>>>>>>>>>> >>>>>>>>>>> On Fri, Jul 13, 2018 at 10:49 AM, Mangal Kumar < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> Thank you ED. >>>>>>>>>>>> >>>>>>>>>>>> Anthony could you please share your notes regarding sms gateway >>>>>>>>>>>> implementation? It will help us to implement it. >>>>>>>>>>>> >>>>>>>>>>>> Thank you, >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Thu, Jul 12, 2018 at 10:17 PM, Ed Cable <[email protected]> >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Sampath/Santosh, >>>>>>>>>>>>> >>>>>>>>>>>>> Could you please try to help Mangal and also while we're at >>>>>>>>>>>>> it, improve the documentation for configuring of the SMS bridge. >>>>>>>>>>>>> He along >>>>>>>>>>>>> with a couple others, Antony and Karthik, are attempting to use >>>>>>>>>>>>> and >>>>>>>>>>>>> inquiring about it. >>>>>>>>>>>>> >>>>>>>>>>>>> Ed >>>>>>>>>>>>> >>>>>>>>>>>>> On Thu, Jul 12, 2018 at 7:26 AM Mangal Kumar < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hello, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Need help to understand the SMS Bridge configuration and >>>>>>>>>>>>>> working on Fineract 1.1. >>>>>>>>>>>>>> >>>>>>>>>>>>>> *Issue:* >>>>>>>>>>>>>> Unable to POST message on Message-gateway endpoint. >>>>>>>>>>>>>> *Error:* >>>>>>>>>>>>>> >>>>>>>>>>>>>>> 2018-07-12 14:13:28.977 WARN 8522 --- [bio-443-exec-81] >>>>>>>>>>>>>>> o.s.web.servlet.PageNotFound : Request method >>>>>>>>>>>>>>> 'POST' not >>>>>>>>>>>>>>> supported >>>>>>>>>>>>>>> Exception in thread "SimpleAsyncTaskExecutor-11347" >>>>>>>>>>>>>>> retrofit.RetrofitError: 405 Method Not Allowed >>>>>>>>>>>>>>> at retrofit.RetrofitError.httpError(RetrofitError.java:39) >>>>>>>>>>>>>>> at retrofit.RestAdapter$RestHandl >>>>>>>>>>>>>>> er.invokeRequest(RestAdapter.java:382) >>>>>>>>>>>>>>> at retrofit.RestAdapter$RestHandl >>>>>>>>>>>>>>> er.invoke(RestAdapter.java:240) >>>>>>>>>>>>>>> at com.sun.proxy.$Proxy455.sendSmsBridgeConfigRequest(Unknown >>>>>>>>>>>>>>> Source) >>>>>>>>>>>>>>> at org.apache.fineract.infrastruc >>>>>>>>>>>>>>> ture.hooks.processor.TwilioHookProcessor.sendRequest(TwilioH >>>>>>>>>>>>>>> ookProcessor.java:96) >>>>>>>>>>>>>>> at org.apache.fineract.infrastruc >>>>>>>>>>>>>>> ture.hooks.processor.TwilioHookProcessor.process(TwilioHookP >>>>>>>>>>>>>>> rocessor.java:72) >>>>>>>>>>>>>>> at org.apache.fineract.infrastruc >>>>>>>>>>>>>>> ture.hooks.listener.FineractHookListener.onApplicationEvent( >>>>>>>>>>>>>>> FineractHookListener.java:75) >>>>>>>>>>>>>>> at org.apache.fineract.infrastruc >>>>>>>>>>>>>>> ture.hooks.listener.FineractHookListener.onApplicationEvent( >>>>>>>>>>>>>>> FineractHookListener.java:36) >>>>>>>>>>>>>>> at org.springframework.context.ev >>>>>>>>>>>>>>> ent.SimpleApplicationEventMulticaster$1.run(SimpleApplicatio >>>>>>>>>>>>>>> nEventMulticaster.java:93) >>>>>>>>>>>>>>> at java.lang.Thread.run(Thread.java:748) >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> *Steps*: >>>>>>>>>>>>>> 1. We have configured the message-gateway and running on >>>>>>>>>>>>>> Tomcat; >>>>>>>>>>>>>> 2. Our instance is running on https configured with Tomcat; >>>>>>>>>>>>>> 3. We have also checked communication with the endpoint; >>>>>>>>>>>>>> 4. When we configure with MifosX as SMS Bridge Webhook, it >>>>>>>>>>>>>> throws an error placed above. >>>>>>>>>>>>>> 5. Also please clarify that while configuring External SMS >>>>>>>>>>>>>> Service, is it mandatory to define a port (9191 as shown in the >>>>>>>>>>>>>> documents). >>>>>>>>>>>>>> Tomcat is running with HTTPS on a pre-defined port. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Request to respond. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you, >>>>>>>>>>>>>> Mangal >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Mangal Kumar >>>>>>>>>>>>>> Tech Lead >>>>>>>>>>>>>> Digital Media Initiatives | Bodhi Project >>>>>>>>>>>>>> <https://glimmer.finance> >>>>>>>>>>>>>> Skype: [email protected] >>>>>>>>>>>>>> *Leveraging technology for social challenges...* >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> *Ed Cable* >>>>>>>>>>>>> President/CEO, Mifos Initiative >>>>>>>>>>>>> [email protected] | Skype: edcable | Mobile: +1.484.477.8649 >>>>>>>>>>>>> >>>>>>>>>>>>> *Collectively Creating a World of 3 Billion Maries | * >>>>>>>>>>>>> http://mifos.org <http://facebook.com/mifos> >>>>>>>>>>>>> <http://www.twitter.com/mifos> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>> >>> >>> -- >>> Mangal Kumar >>> Tech Lead >>> Digital Media Initiatives | Bodhi Project >>> <https://glimmer.finance> >>> Skype: [email protected] >>> *Leveraging technology for social challenges...* >>> >> >> >> >> -- >> Mangal Kumar >> Tech Lead >> Digital Media Initiatives | Bodhi Project >> <https://glimmer.finance> >> Skype: [email protected] >> *Leveraging technology for social challenges...* >> > > > > -- > Thanks & Regards > > Santosh Math > > *QA Engineer* > > *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>* > | *Office*: +91-080-41208662 | > > *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block, > Bengaluru, Karnataka, 560043 INDIA > -- Mangal Kumar Tech Lead Digital Media Initiatives | Bodhi Project <https://glimmer.finance> Skype: [email protected] *Leveraging technology for social challenges...*
