Hello Santosh,

I finally found the problem only after visiting the site
https://mobile.openmf.org/ after logging in i looked at the configuration
of the external services

host_name 192.168.0.1 ( Here you place the external IP so that twilio can
send a callback otherwise localhost is not a valid name or IP error pops)
port_number 9191 ( this is the Port on your application.yml for the gateway)
end_point message-gateway-0.0.1/   ( this is the killer issue - there is
not clear documentation what to put there ) the link gives wrong
information
https://mifosforge.jira.com/wiki/spaces/docs/pages/165871671/SMS+Campaigns
-- it must be " message-gateway-0.0.1/"  if you change anything here you
will get
 error.msg.unable.to.connect.to.intermediate.server  message when trying to
configure the sms campaigns
tenant_app_key    fa085b5e-8194-4ff4-b308-07d175456648 -- this is obvious
so no issues here

Nevertheless, when all is well set, only the SMS campaigns are working. The
Webhooks gives an error below

WARN 3084 --- [bio-9191-exec-8] o.s.web.servlet.PageNotFound             :
Request method 'POST' not supported
Exception in thread "SimpleAsyncTaskExecutor-174" 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.$Proxy454.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.FineractHookListener.onApplicationEvent(FineractHookListener.java:75)
        at
org.apache.fineract.infrastructure.hooks.listener.FineractHookListener.onApplicationEvent(FineractHookListener.java:36)
        at
org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:93)
        at java.lang.Thread.run(Thread.java:748)



My Kind Regards

Francis Guchie Kirago








On Mon, Mar 25, 2019 at 4:43 AM Santosh Math <
sant...@confluxtechnologies.com> wrote:

> Hi Francis,
>
> Yes, let me know your doubts.
>
> On Sun, Mar 24, 2019 at 4:27 PM Francis Guchie <francisguc...@gmail.com>
> wrote:
>
>> Dear all,
>>
>> Any one has used openMF message-gateway?
>>
>> My Kind Regards
>>
>> Francis Guchie Kirago
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Mifos-users mailing list
>> Mifos-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mifos-users
>>
>
>
> --
> 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
> _______________________________________________
> Mifos-users mailing list
> Mifos-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mifos-users
>
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to