← Back to team overview

dhis2-devs team mailing list archive

Re: Generic http SMS Gateway for Inbound & Outbound

 

Sorry Zubair
I want to setup a generic hhtp sms gateway in dhis2, but in documentation I
can't find exemple or use case doing that.
Some of sms national providers have differentes endpoint for sending or
receving sms.

1.So my first question is have an example of URL template doing the both
way task
2.if we have differentes endpoint , it is possible to setup 2 gateways and
work with them?
3. My provider ask us to provide our domain url exemple: *http://mydomaine/test
<http://mydomaine/test>* so they will triggered sms like this

*http://mydomaine/test?id111&sc=21000&msisdn=221779998877&key=TEST&msg=messagetest
<http://mydomaine/test?id111&sc=21000&msisdn=221779998877&key=TEST&msg=messagetest>*
    where
- id: identifier of the message;
- sc: short number used;
- msisdn: telephone number of the subscriber who sent the message;
- key: keyword used
- msg: message content
How can we deal with that ?

Thank you

2018-06-06 6:24 GMT+00:00 Zubair Asghar Raja <zubair@xxxxxxxxx>:

> Hi Hakim
> Can you please re-phrase your question.
>
> Zubair
>
>
> On Wed, 6 Jun 2018, 8:15 am DJIBRIL Hakim, <djib.hakim@xxxxxxxxx> wrote:
>
>> Hi all,
>> Please Is it possible to have ideas on how can be *URL template*  when
>> setting Generic http SMS Gateway in DHIS2 both for inbound and outbound sms?
>>
>> Thank you
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>

References