[prev in list] [next in list] [prev in thread] [next in thread] 

List:       esb-java-dev
Subject:    Re: [Dev] Delay in sending SMS from ESB SMPP connector
From:       gayan gunawardana <gmgunawardana () gmail ! com>
Date:       2018-10-27 19:31:12
Message-ID: CAGd=jRkZX3kv762JAGUJHj=Q5=dKOf_yvdykF5f2wCnM-A-RVQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 <gmgunawardana@gmail.com>
wrote:

> Hi Biruntha,
> 
> On Thu, Oct 25, 2018 at 5:45 PM Biruntha Gnaneswaran <biruntha@wso2.com>
> 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 <
> > gmgunawardana@gmail.com> 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
> > > Dev@wso2.org
> > > http://wso2.org/cgi-bin/mailman/listinfo/dev
> > > 
> > > 
> > 
> > 
> > --
> > Biruntha
> > 
> > Software Engineer
> > WSO2
> > Email: biruntha@wso2.com
> > LinkedIn: https://lk.linkedin.com/in/biruntha
> > Mobile : +94773718986
> > 
> 
> 
> --
> Gayan
> 


-- 
Gayan


[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><div>Hi Devs,</div><div><br></div><div>I went through \
SMPP specification [1]. Under <b>4.2.1 submit_sm</b> <b>Operation</b> its mention \
that <br></div><div>scheduled delivery time -&gt; The short message is to be \
scheduled by the MC for delivery. Set to NULL for immediate message delivery.  \
</div><div>I suppose connector should provide a facility to set scheduled delivery \
time to NULL.</div><div><br></div><div>[1] <a \
href="http://opensmpp.org/specs/smppv50.pdf">http://opensmpp.org/specs/smppv50.pdf</a></div><div><br></div><div>Thanks,</div><div>Gayan<br></div></div></div><br><div \
class="gmail_quote"><div dir="ltr">On Thu, Oct 25, 2018 at 7:36 PM gayan gunawardana \
&lt;<a href="mailto:gmgunawardana@gmail.com">gmgunawardana@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi \
Biruntha,<br><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 25, 2018 at \
5:45 PM Biruntha Gnaneswaran &lt;<a href="mailto:biruntha@wso2.com" \
target="_blank">biruntha@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Hi Gayan,</div><div><br></div><div>No we \
can&#39;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.</div></div></blockquote><div>  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 ? <br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><b> \
</b></div><div><br></div><div><span style="color:black"><a \
href="https://github.com/wso2-extensions/esb-connector-smpp/blob/master/src/main/java/org/wso2/carbon/esb/connector/SendSMS.java#L127" \
target="_blank">[1] https://github.com/wso2-extensions/esb-connector-smpp/blob/master/ \
src/main/java/org/wso2/carbon/esb/connector/SendSMS.java#L127</a></span><br></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 25, 2018 at 2:29 PM, \
gayan gunawardana <span dir="ltr">&lt;<a href="mailto:gmgunawardana@gmail.com" \
target="_blank">gmgunawardana@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Hi Team,</div><div><br></div><div>Can we \
set scheduled delivery time to <b>null</b> in [1] to immediately deliver the SMS ? \
Currently I&#39;m observing some delay due to time zone gap between SMS gatway and \
ESB.<br></div><div>   <br></div><div><span style="color:black"><a \
href="https://github.com/wso2-extensions/esb-connector-smpp/blob/master/src/main/java/org/wso2/carbon/esb/connector/SendSMS.java#L127" \
target="_blank">[1] https://github.com/wso2-extensions/esb-connector-smpp/blob/master/ \
src/main/java/org/wso2/carbon/esb/connector/SendSMS.java#L127</a></span></div><span \
class="m_-2368976659771223310m_310635991113666968HOEnZb"><font color="#888888"><br>-- \
<br><div dir="ltr" data-smartmail="gmail_signature">Gayan</div></font></span></div> \
<br>_______________________________________________<br> Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> \
<br></blockquote></div><br><br clear="all"><br>-- <br><div \
class="m_-2368976659771223310m_310635991113666968gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><span \
style="font-family:georgia,serif">Biruntha<br></span><br><div><div>Software \
Engineer<br></div>WSO2<br></div>Email:<span><span style="font-family:georgia,serif"> \
<a href="mailto:biruntha@wso2.com" \
target="_blank">biruntha@wso2.com</a></span></span><font \
color="#666666"><br></font></div><div><font color="#666666"><span \
style="color:rgb(0,0,0)">LinkedIn: </span></font><a \
href="https://lk.linkedin.com/in/biruntha" \
target="_blank"><span>https://lk.linkedin.com/in/biruntha</span></a></div><div><span><span \
style="font-family:georgia,serif">Mobile : \
+94773718986<br></span></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
 </div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" \
class="m_-2368976659771223310gmail_signature" \
data-smartmail="gmail_signature">Gayan</div></div></div> </blockquote></div><br \
clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature">Gayan</div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic