From user-return-633-archive-asf-public=cust-asf.ponee.io@fineract.apache.org Fri Jul 13 12:07:13 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E444E180626 for ; Fri, 13 Jul 2018 12:07:12 +0200 (CEST) Received: (qmail 59155 invoked by uid 500); 13 Jul 2018 10:07:11 -0000 Mailing-List: contact user-help@fineract.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@fineract.apache.org Delivered-To: mailing list user@fineract.apache.org Received: (qmail 59145 invoked by uid 99); 13 Jul 2018 10:07:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2018 10:07:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 744861A375A for ; Fri, 13 Jul 2018 10:07:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.489 X-Spam-Level: ** X-Spam-Status: No, score=2.489 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=confluxtechnologies-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id xcnwlDM84v2t for ; Fri, 13 Jul 2018 10:07:09 +0000 (UTC) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B23675F3B8 for ; Fri, 13 Jul 2018 10:07:08 +0000 (UTC) Received: by mail-ed1-f52.google.com with SMTP id d17-v6so12085268eds.11 for ; Fri, 13 Jul 2018 03:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=confluxtechnologies-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FqYh9FItUot+gFz8BeiszP+fRPILrf6t5pJ9e2ZSOEk=; b=r0bh4ciPkUHjOUz37YEDMeitDtDywomgwaiJN5BY0+4sIASotjeTmElohomdul2A+M AKIbW+yxEZxZeWfTcch3mWdqLMoQ94cNgyQgVqzSafKl7sGrDNYjnGR1vVKKaEg/jqF1 dgQYLqE+wtqKIifZqwFXDKtLdrHw99EqzVhbtgxyoVzYHGTlfxqoadjcLEGTElrxagGO bypi4rhN9Zgp7IYsPwHU2yXGXtVsC20ssepXAOXsyYRhbtG9NUPz3DCH35VKSsERYn+v 4T1Xp6JJOcTaECWXdrKVgcQ8D2HE128Tc2p80bEHswyF1oCeeEUIdNW0BtusjfOw/Exc 8Rdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FqYh9FItUot+gFz8BeiszP+fRPILrf6t5pJ9e2ZSOEk=; b=NuYE06grllhnD+OeLPkFJ4aQUXlGF11+Us1He3eC1fmR+tfT83l9MZ2NmaF2BDFzp/ q8mKCVgm2sYLrVt0Ej/EjE/6wIm0Wlz0FwlU0ov6uIj1KSPWVb41bFC5Wm7+3wuLLVyc oZ7JT3wuoA9VkcHbPsI+BL7CzIrK5btXA3OAb5HUnmdeB+zhHGgoeS7MBWKywHEgMOzk wBk3ULaj9fE3Zic1pJa2R6a1+iCeVaGoBHaNBKDLxqSlcGMyBpDVwAol0/nwPsoL5xQg c71GQ2RLgcXzl3YJitw166NLqWQryeNufwB25MMTcoGkuKCMoHNDLHC0KNlo7uMl4Nym ZMrQ== X-Gm-Message-State: AOUpUlH2h2ns/0JtFV1mo7M/DXfEYxabLJe1x3s7l6cQmMA6athmkeP8 WtcymONuEYB6e51pnYjyaxQjff027unSusZIsQsbVA== X-Google-Smtp-Source: AAOMgpdc/QC+hysdC14vdf8oeZbAKbSqAKe+easIjTgZC7mzTuIY0Zkjb3TD14YNV4HNm7ymCurDwbTQVSl9otRJGwE= X-Received: by 2002:a50:aec9:: with SMTP id f9-v6mr6414938edd.72.1531476427266; Fri, 13 Jul 2018 03:07:07 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:aa7:c5da:0:0:0:0:0 with HTTP; Fri, 13 Jul 2018 03:07:06 -0700 (PDT) X-Originating-IP: [106.51.39.37] In-Reply-To: References: From: Santosh Math Date: Fri, 13 Jul 2018 15:37:06 +0530 Message-ID: Subject: Re: SMS Bridge Configuration on Fineract 1.1 To: user Cc: Mangal Kumar , Dev , mifos-users , Sampath Kumar G , Antony Omeri , Karthik Ananthakrishnan , Pranav Kumar Content-Type: multipart/alternative; boundary="0000000000006deb610570dea470" --0000000000006deb610570dea470 Content-Type: text/plain; charset="UTF-8" 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 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 | 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 < > santosh@confluxtechnologies.com> 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 >> 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/message-gateway-0.0.1/sms >>> Phone Number: >>> SMS Provider: Twilio >>> SMS Provider Account Id: >>> SMS Provider Token: >>> >>> Please suggest why MifosX is not sending SMS. >>> >>> Thank you, >>> Mangal >>> >>> On Fri, Jul 13, 2018 at 11:01 AM, Santosh Math < >>> santosh@confluxtechnologies.com> 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 >>> > 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 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 >>>>>> 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$RestHandler.invokeRequest(RestAdapter.j >>>>>>>> ava:382) >>>>>>>> at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240) >>>>>>>> at com.sun.proxy.$Proxy455.sendSmsBridgeConfigRequest(Unknown >>>>>>>> Source) >>>>>>>> at org.apache.fineract.infrastructure.hooks.processor.TwilioHoo >>>>>>>> kProcessor.sendRequest(TwilioHookProcessor.java:96) >>>>>>>> at org.apache.fineract.infrastructure.hooks.processor.TwilioHoo >>>>>>>> kProcessor.process(TwilioHookProcessor.java:72) >>>>>>>> at org.apache.fineract.infrastructure.hooks.listener.FineractHo >>>>>>>> okListener.onApplicationEvent(FineractHookListener.java:75) >>>>>>>> at org.apache.fineract.infrastructure.hooks.listener.FineractHo >>>>>>>> okListener.onApplicationEvent(FineractHookListener.java:36) >>>>>>>> at org.springframework.context.event.SimpleApplicationEventMult >>>>>>>> icaster$1.run(SimpleApplicationEventMulticaster.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 >>>>>>> >>>>>>> Skype: mangal@bodhiproject.org >>>>>>> *Leveraging technology for social challenges...* >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Ed Cable* >>>>>> President/CEO, Mifos Initiative >>>>>> edcable@mifos.org | Skype: edcable | Mobile: +1.484.477.8649 >>>>>> >>>>>> *Collectively Creating a World of 3 Billion Maries | * >>>>>> http://mifos.org >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Mangal Kumar >>>>> Tech Lead >>>>> Digital Media Initiatives | Bodhi Project >>>>> >>>>> Skype: mangal@bodhiproject.org >>>>> *Leveraging technology for social challenges...* >>>>> >>>> >>>> >>>> >>>> -- >>>> Thanks & Regards >>>> >>>> Santosh Math >>>> >>>> *QA Engineer* >>>> >>>> *Conflux Technologies Pvt Ltd * >>>> | *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 >>> >>> Skype: mangal@bodhiproject.org >>> *Leveraging technology for social challenges...* >>> >> >> >> >> -- >> Thanks & Regards >> >> Santosh Math >> >> *QA Engineer* >> >> *Conflux Technologies Pvt Ltd * >> | *Office*: +91-080-41208662 | >> >> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block, >> Bengaluru, Karnataka, 560043 INDIA >> > > -- Thanks & Regards Santosh Math *QA Engineer* *Conflux Technologies Pvt Ltd * | *Office*: +91-080-41208662 | *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block, Bengaluru, Karnataka, 560043 INDIA --0000000000006deb610570dea470 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 = <docbrij@b= odhiproject.org> wrote:
Thanks! Santosh, Mangal,

I will also join the Sk= ype meeting. My Skype ID: docbrij.

Best,

Brijesh


---------
Brijesh Kumar, Ph.D.
= Founder & CEO
Digital Media Initiatives= =C2=A0| Bodhi Project
http://dmi.systems=C2=A0|=C2=A0https://glimmer.finance
+91 955 724 8880
Skype: docbrij
LinkedIn:=C2= =A0https://in.linkedin.com/in/brijeshkuma= rdmi

<= /div>

On Fri, Jul 13, 2018 at 11:40 AM, Santosh Ma= th <santosh@confluxtechnologies.com> wrot= e:
Hi Mangal,

Can=C2=A0 = we have a=C2=A0 call at 4 pm IST , today? I will be online in google hangou= t for this mail id.

<= /div>
Thanks
Santosh
=

On Fri, Jul 13, 2018 at 11:37 AM, Mangal Kumar <mangal@= bodhiproject.org> wrote:
Hi Santosh,

We have implemente= d and configured Message Gateway successfully as per documentation (https://mifosforge.jira.com/w= iki/spaces/docs/pages/166658049/Message+Gateway+Configuratio= n).=C2=A0


Currently, we are using Twilio test account. Message gateway is s= ending 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 event= s.

SMS Bridge webhook template=C2=A0details are:

Hook Name: Twilio SMS
Status: true
Activation Date: [2018,7,12]
Updated On: [2018,7,12]
Events:
REPAYMENT - LOAN
CREATE - CLIENT
Phone Number: <Twilio Phone number>
SMS Provider: Twilio
SMS Provider Account Id: <Twil= io AccountID>
SMS Provider Token: <Twilio Token>

Please sugges= t why MifosX is not sending SMS.

Thank you,
<= div>Mangal

On Fri, Jul 13, 2018 at 11:01 AM, Santosh Math &= lt;san= tosh@confluxtechnologies.com> wrote:
Hi Mangal,

I th= ink Antony is referrring to this documentation:


Thanks
Santosh
=

O= n Fri, Jul 13, 2018 at 10:49 AM, Mangal Kumar <mangal@bodhiproject.o= rg> wrote:
Thank you ED.

Anthony could you plea= se share your notes regarding sms=C2=A0gateway implementation? It will help= us to implement it.

Thank you,



H= ello,

Need help to understand the SMS Bridge configurati= on and working on Fineract 1.1.

Issue:
Unable to PO= ST message on Message-gateway endpoint.
Error:=C2=A0
=
2018-07-12 14:13:28.= 977=C2=A0 WARN 8522 --- [bio-443-exec-81] o.s.web.servlet.PageNotFound=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: Request method 'POST'= ; not supported
Exception in thread "SimpleAsyncTaskExecutor-11347<= wbr>" retrofit.RetrofitError: 405 Method Not Allowed
at retrofit.RetrofitError.httpError(Ret= rofitError.java:39)
at retr= ofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:382)<= br> at retrofit.RestAdapter$Res= tHandler.invoke(RestAdapter.java:240)
at com.sun.proxy.$Proxy455.sendSmsBridgeConfigReq= uest(Unknown Source)
at org= .apache.fineract.infrastructure.hooks.processor.TwilioHookProcess= or.sendRequest(TwilioHookProcessor.java:96)
at org.apache.fineract.infrastructure.hooks.proc= essor.TwilioHookProcessor.process(TwilioHookProcessor.java:72) at org.apache.fineract.infras= tructure.hooks.listener.FineractHookListener.onApplicationEvent(<= wbr>FineractHookListener.java:75)
= at org.apache.fineract.infrastructure.hooks.listener.FineractHo= okListener.onApplicationEvent(FineractHookListener.java:36)
at org.springframework.context.e= vent.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:93)
at java.lang.Thread.run(Thread.java:748)

<= div>Steps:
1. We have configured the message-gateway and r= unning 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 a= n error placed above.
5. Also please clarify that while configuri= ng 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.
<= div>
Request to respond.

Thank you,<= /div>
Mangal

--
Mangal Kumar
Tech Lead
Digital Media Initiatives | Bodhi Project
<= div><https://glimm= er.finance>
Leveraging technology for social challenges...
<= /div>


--
Ed Cabl= e
President/CEO= , Mifos Initiative
edcable@mifos= .org=C2=A0| Skype: edcable | Mobile: +1.484.477.8649

Collectively = Creating a World of 3 Billion Maries |=C2=A0http://mifos.org=C2=A0=C2=A0




--
Mangal Kumar<= /span>
Tech Lead
Digital Media Ini= tiatives | Bodhi Project
Leveraging technology for social chall= enges...



<= font color=3D"#888888">--
Thanks & Regards
<= div dir=3D"ltr">

Santo= sh Math

QA Engineer

Conflux= Technologies Pvt Ltd

|=C2=A0Office:= =C2=A0+91-080-41208662 |=C2=A0

Addre= ss:=C2=A0#304, 2nd Flo= or, 7th Main Road, HRBR Layout 1st Block, Bengaluru, Karnataka, 560043=C2=A0INDIA




--
Mangal Kumar
Tech Lead
Digital Media Initiatives | Bod= hi Project
Leveraging technology for social challenges...=



--
Thanks & Regards
<= div dir=3D"ltr">

Santosh Math= =

QA = Engineer

<= em style=3D"font-size:12.8px">Conflux Techno= logies Pvt Ltd

|=C2=A0Office:=C2=A0+91= -080-41208662 |=C2=A0

Address= :=C2=A0#304, 2nd Floor, 7th M= ain Road, HRBR Layout 1st Block, Bengaluru, Karnataka, 560043=C2=A0I= NDIA

=




--
Thanks &= amp; Regards

Santosh Math

QA Engineer

Conflux Technologies Pvt Ltd

|=C2=A0Office:=C2=A0+91-080-41208662 |=C2=A0

=

Address