Hello Stipe,

Yes, I am using SMPP. I think the difficulty here is that you would have to 
return some sort of unique message ID in the sendsms response (correct me if 
you are already doing this and I have not seen it). Without this unique message 
ID, I cannot specify which message to cancel. For example, I could have 10 
messages pending for a single MSISDN and I may only want to cancel one of them. 
You are correct that it would need to use the cancel_sm PDU.

All of my messages are passed to the SMSC in real-time and would not be held in 
the bearerbox. The flow would have to be that my Perl script sends some sort of 
cancelsms HTTP request and the smsbox/bearerbox format an appropriate cancel_sm 
to the SMSC.

Thanks,

Kent

-----Original Message-----
From: Stipe Tolj [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 30, 2008 3:08 PM
To: Kent Walker
Cc: [email protected]
Subject: Re: Is it possible to cancel an SMS using the HTTP command?

Kent Walker schrieb:
> Hello,
> 
> I am using the Kannel software along with some Perl scripts to perform
> SIM card over-the-air updates. I use the HTTP sendsms command to send
> the downloads and it has been working well. Is there anyway that I can
> use the Kannel HTTP commands to cancel a previously sent SMS? Currently,
> I have to do it manually on my SMSC.

which upstream SMSC protocol? SMPP?

In fact we "could" add this by a semantical add to smsbox, providing a
"cancelsms" call as counterpart of "sendsms" ;)

At least SMPP allows "cancellation" of pending MTs via it's cancel_sm PDU. Not
sure how our other protocols see it. At least AT (GSM modem) is out of scope by
it's nature.

The "benefit" from the cancelsms URI at smsbox is that we would pass a
corresponding msg to bearerbox of new type, i.e. mt_cancel. And we then can
lookup first our internal queues if the messages is yet not passed to the SMSC,
and if it has then escalate to the SMSC.

Opinions please?!

Stipe

-- 
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to