Hi Devs,

I went through SMPP specification [1]. Under *4.2.1 submit_sm* *Operation*
its mention that
scheduled delivery time -> The short message is to be scheduled by the MC
for delivery. Set to NULL for immediate message delivery.
I suppose connector should provide a facility to set scheduled delivery
time to NULL.

[1] http://opensmpp.org/specs/smppv50.pdf

Thanks,
Gayan

On Thu, Oct 25, 2018 at 7:36 PM gayan gunawardana <[email protected]>
wrote:

> Hi Biruntha,
>
> On Thu, Oct 25, 2018 at 5:45 PM Biruntha Gnaneswaran <[email protected]>
> wrote:
>
>> Hi Gayan,
>>
>> No we can't specify scheduled delivery time as null. Here in [1], we
>> specify delivery time as current time (new Date()) for immediate deliver of
>> the SMS.
>>
>  Thank you very much. Is there any alternate way to deliver messages
> immediately when there is time zone gap between ESB instance and SMS
> gateway ?
>
>>
>> [1]
>> https://github.com/wso2-extensions/esb-connector-smpp/blob/master/src/main/java/org/wso2/carbon/esb/connector/SendSMS.java#L127
>> <https://github.com/wso2-extensions/esb-connector-smpp/blob/master/src/main/java/org/wso2/carbon/esb/connector/SendSMS.java#L127>
>>
>> On Thu, Oct 25, 2018 at 2:29 PM, gayan gunawardana <
>> [email protected]> wrote:
>>
>>> Hi Team,
>>>
>>> Can we set scheduled delivery time to *null* in [1] to immediately
>>> deliver the SMS ? Currently I'm observing some delay due to time zone gap
>>> between SMS gatway and ESB.
>>>
>>> [1]
>>> https://github.com/wso2-extensions/esb-connector-smpp/blob/master/src/main/java/org/wso2/carbon/esb/connector/SendSMS.java#L127
>>> <https://github.com/wso2-extensions/esb-connector-smpp/blob/master/src/main/java/org/wso2/carbon/esb/connector/SendSMS.java#L127>
>>>
>>> --
>>> Gayan
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Biruntha
>>
>> Software Engineer
>> WSO2
>> Email: [email protected]
>> LinkedIn: https://lk.linkedin.com/in/biruntha
>> Mobile : +94773718986
>>
>
>
> --
> Gayan
>


-- 
Gayan
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to