From user-return-628-archive-asf-public=cust-asf.ponee.io@fineract.apache.org Fri Jul 13 07:31:39 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 D7E32180626 for ; Fri, 13 Jul 2018 07:31:38 +0200 (CEST) Received: (qmail 45491 invoked by uid 500); 13 Jul 2018 05:31:37 -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 45481 invoked by uid 99); 13 Jul 2018 05:31:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2018 05:31:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 79D2C180FC6 for ; Fri, 13 Jul 2018 05:31:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.499 X-Spam-Level: ** X-Spam-Status: No, score=2.499 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, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id wsnSB1xoA-RY for ; Fri, 13 Jul 2018 05:31:36 +0000 (UTC) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7CFA05F404 for ; Fri, 13 Jul 2018 05:31:35 +0000 (UTC) Received: by mail-ed1-f42.google.com with SMTP id g12-v6so23618285edi.9 for ; Thu, 12 Jul 2018 22:31:35 -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=2qPM1oH4qEKhbUh93oJN1kc1oZZy3Opy2qjhUJS4Y7w=; b=Ivgz8VeKoJUpv9L/CZ+bOGUYhhJBYxDQNLnfM+j4PuXLyLfPe/t1ITbZ8ZwuMUeKJO U/ZU6rXC0jSa/G7qur0y9izdNM4kAk85jWqa5Uq8e3V/DjzgPpxW5IGUiLCFTkFNfojG R1fZYVWSiGRsbbv8WFkMnklVr+JKt7U7Sf8udBpxQm84+YBG5EfBxrCk/Oi6O1cH/kyq oq0RZOMaky69IXYt0Hys0JYeVlie5mIIuRGPoI7UVsxpwdAlk9HMLyL7I0mCxPoUIvji 7IXl9X+P3r7CeS135HRw2NJSDIZw0o2ZGiAGc10My8RIn/F6tq4PgHiRs7I/yywhm7Wv HQEg== 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=2qPM1oH4qEKhbUh93oJN1kc1oZZy3Opy2qjhUJS4Y7w=; b=FyKMXvwZszenvk5jM5kQYs4MVneSJcBkXbtqP3TFkYA5cOgkeKc6XMYE+MqWxbJnwn JlcGO7NEpHhRe8SIy/HtV9SwZ3TQowo2200px8zcf9yo19/Jlhu1JIScxOqSzqxHIUVs igq7i3hwVbBIxrsCrrDWraXD8hwXi89jE+nTQ9A0JApX/OHjXZk5tKCCUQFD646muVLA 42fk3iWTAYW51TmHH3lURabDXPdx+gFLBrYZSCP24L2qErgnlmkKIrNfI3lZ8zcA3SpU K8j2ydNt1WGaD9Ngg1mYyRlINvCgZfNGOMrM9sT99TnmdcllFt9AnrPk/lQDA5ZZBmT8 l42g== X-Gm-Message-State: AOUpUlHh5eIgbYnsbDZty6a7QOReDNV3hxip0AuqQPy+HwrPmg9vOXx8 XM2GYNOaMJ/ZIyNtzQ375dB+3pQiZ0wY3tIdKp4glg== X-Google-Smtp-Source: AAOMgpfxviopS3cev8HaRuX8N1Bow/nOzp/5FHH0wDXiBLk6+GrX3cqtolG4ZUXKy+0eObCGEvtJXJwmpw3KGX5+vww= X-Received: by 2002:a50:8607:: with SMTP id o7-v6mr5166700edo.243.1531459894324; Thu, 12 Jul 2018 22:31:34 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:aa7:c5da:0:0:0:0:0 with HTTP; Thu, 12 Jul 2018 22:31:33 -0700 (PDT) X-Originating-IP: [106.51.39.37] In-Reply-To: References: From: Santosh Math Date: Fri, 13 Jul 2018 11:01:33 +0530 Message-ID: Subject: Re: SMS Bridge Configuration on Fineract 1.1 To: Mangal Kumar Cc: user , Dev , mifos-users , Sampath Kumar G , Antony Omeri , Karthik Ananthakrishnan Content-Type: multipart/alternative; boundary="000000000000fd40f60570daca6e" --000000000000fd40f60570daca6e Content-Type: text/plain; charset="UTF-8" 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.java:382) >>>> at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240) >>>> at com.sun.proxy.$Proxy455.sendSmsBridgeConfigRequest(Unknown Source) >>>> at org.apache.fineract.infrastructure.hooks.processor. >>>> TwilioHookProcessor.sendRequest(TwilioHookProcessor.java:96) >>>> at org.apache.fineract.infrastructure.hooks.processor. >>>> TwilioHookProcessor.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 --000000000000fd40f60570daca6e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Mangal,

I think Antony is referrring to this docu= mentation:


Thanks
Santosh

On Fri, Jul 13, 2018 at 10:49 A= M, Mangal Kumar <mangal@bodhiproject.org> wrote:
Thank you ED.

<= div>Anthony could you please share your notes regarding sms=C2=A0gateway im= plementation? It will help us to implement it.

Tha= nk you,


=C2=A0
On Thu, Jul 12, 2018 at 10= :17 PM, Ed Cable <edcable@mifos.org> wrote:
Sampath/Santosh,

Coul= d 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 ot= hers, Antony and Karthik, are attempting to use and inquiring about it.

Ed

On Thu, Jul 12, 2018 at 7:26 AM Mangal Kumar <mangal@bodhiproject.o= rg> wrote:
= Hello,

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

Issue:
Unable to P= OST 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 Cable
President/CEO, Mifos Initiative
edcable@mifos.org=C2=A0| Skype: edcable | Mobile: +1= .484.477.8649
<= br>
Collectively Creating a World of 3 Billion Maries |=C2=A0= http://mifos.org=C2=A03D""=C2=A0




--
Mangal Kumar
Te= ch Lead
Digital Media Initiatives | Bodhi Project
<<= a href=3D"https://glimmer.finance" target=3D"_blank">https://glimmer.financ= e>
Leve= raging technology for social challenges...



--
Thanks &= amp; Regards

Santosh Math

QA Engineer

Conflux Technologies Pvt Ltd

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

=

Address