These are chat archives for ushahidi/Community

Apr 2016
Apr 26 2016 16:24
[Mariah, Ushahidi] hi guys
[Will, Ushahidi] Hi @MariahGuest4, did @DavidGuest pass on our recommendation for Twilio setup?
Apr 26 2016 16:29

[Will, Ushahidi] for context
Hi David, for Twilio support the platform requires that it be configured as a callback url for Twilio. To do this you need to tell Twilio to direct its inbound messages to the platform, the url to point the messages at is:


[Mariah, Ushahidi] Yup it works @Will ! thanks
[Mariah, Ushahidi] At least we're progressing
[Will, Ushahidi] ok great
[Mariah, Ushahidi] I think there's really something wrong with Nexmo
[Will, Ushahidi] what is the issue you are having?
[Mariah, Ushahidi] Hold on
[Will, Ushahidi] ok
Apr 26 2016 16:55
[Mariah, Ushahidi] This is now working
[Will, Ushahidi] wonderful
[Mariah, Ushahidi] Btw, how about Nexmo? @Will
[Will, Ushahidi] how do you mean?
[Mariah, Ushahidi] I tried your suggestion <your\_deployment\_of\_platfomr\_api>/sms/nexmo/reply but not getting the response?
[Mariah, Ushahidi] We've been trying to send SMS to our Nexmo number but we always don't get the default reply
[Will, Ushahidi] ok so there are two elements
[Mariah, Ushahidi] okay
[Will, Ushahidi] for nexmo you actually need to include the secret when forwarding the request
[Will, Ushahidi] and the ushahidi platform can't do autoreply for nexmo
[Mariah, Ushahidi] okay
[Will, Ushahidi] so you'd have to forward it through your request script
[Will, Ushahidi] hang on let me get the right callback url for you
[Mariah, Ushahidi] okay thanks
[Mariah, Ushahidi] maybe in the future, can you guys do something like what you did in Twilio for Nexmo?
Apr 26 2016 17:00
[Will, Ushahidi] Yeah we almost certainly can, the best thing to do would be to add it as an issue on github with a feature request tag, we'll triage it and add it to a future release
[Mariah, Ushahidi] okay how do I add that on github?
[Mariah, Ushahidi] Also, for other users can you update your documentation for SMS integration?
[Mariah, Ushahidi] Honestly we're at a loss without your help
[Mariah, Ushahidi] We truly appreciate your help @Will
[Will, Ushahidi] ok to add an issue you can use this:
on the right hand side you can select a label: Feature request
[Will, Ushahidi] Yep, we've massively overhauled our docs and will hopefully be re-releasing them soon
[Will, Ushahidi] I've added significant updates for Nexmo and Twilio based on our comms
Apr 26 2016 17:05
[Will, Ushahidi] we're happy to help
[Will, Ushahidi] I'm just checking on Nexmo to see what needs to be sent
[David, Ushahidi] i agree mariah... thanks a ton Will. If we could give you a metal, we would. +1
[Will, Ushahidi] ok @MariahGuest4 for nexmo it should be:
set callback url to <your\_deployment\_of\_platfomr\_api>/sms/nexmo/reply
the same as the one for twilio except with nexmo in place of twilio
and set the http method to post, can you try that and tell me if it works?
[Will, Ushahidi] twilio has logging I wonder if nexmo does to see if it's failing to contact the server
Apr 26 2016 17:11
[Mariah, Ushahidi] Okay we were doing this before but not successfully getting the data
[Will, Ushahidi] ok, I'm looking to see if nexmo has an debug messages
[Will, Ushahidi] oh interesting
[Will, Ushahidi] where are you setting the callback url?
[Mariah, Ushahidi] yes please
[Mariah, Ushahidi] in the Nexmo dashboard
[Will, Ushahidi] there is one in account but there is also one for the number itself, if you click edit next to the number
[Mariah, Ushahidi] I have added the callback url for the number
[Mariah, Ushahidi] yep I've done that @Will
[Will, Ushahidi] ok on the sms tab there appears to be debugging reporting
[Will, Ushahidi] can you check that
[Mariah, Ushahidi] hold on
[Will, Ushahidi] on this page
there also appears to be a callback url that is settable I wonder if it overrides the main
[Will, Ushahidi] ok
[Mariah, Ushahidi] I added the same callback url for the entire setting and for the specific number
[Will, Ushahidi] ok cool
Apr 26 2016 17:17
[Will, Ushahidi] does the debug reporting show anything interesting?
[Will, Ushahidi] @MariahGuest4 on the plus side, when we have time to add it, adding autoreply should be straightforward from looking at the code.
[Mariah, Ushahidi] in the debug, I see the inbound msg
[Will, Ushahidi] ok cool, do you see nexmo sending a request to platform by any change?
[Will, Ushahidi] and
[Will, Ushahidi] on platform in application/logs/2016/04 do you see a log for today?
Apr 26 2016 17:25
[Mariah, Ushahidi] sorry there's something wrong with our server so we cannot check right now
[Will, Ushahidi] ah ok, let me know when you know
[Mariah, Ushahidi] Btw, thank you once again @Will . I will get back to you once our server is up again
[Will, Ushahidi] if I'm not here robbie or jason will be around, I have some meetings for the next two hours and then I'll be back
of course no problem, we're happy that you want to use ushahidi :)