nitingautam / smslib

Automatically exported from code.google.com/p/smslib
0 stars 0 forks source link

HTTPServer interface should support the "delete message" functionality #346

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The SMSServer/HttpServer interface should support the deletion of messages

Original issue reported on code.google.com by T.Delenikas on 22 Apr 2010 at 7:49

GoogleCodeExporter commented 9 years ago
For delete it´s necesary : first client call read http://smsserver-ip/read and 
response like:

<?xml version='1.0' encoding='UTF-8'?>
<messages>
    <message>
        <id>1</id>
    <message_type>Inbound</message_type>
    <message_date>2008-09-15T20:23:05+03:00</message_date>
    <originator>306974xxxx</originator>
    <text>Test</text>
    <encoding>ENC7BIT</encoding>
    <gateway>modem1</gateway>
    </message>
    ...
</messages>

internal id asociate with index memory of modem.

and DELETE
http://smsserver/delete?password=1111&id=1

any suggestion?

Original comment by dayna...@gmail.com on 24 May 2010 at 4:15

GoogleCodeExporter commented 9 years ago
don't forget to add parameter for deleting from gateway

http://smsserver/delete?password=1111&id=1&gateway=modem1

Original comment by hendrace...@gmail.com on 23 Jun 2010 at 8:23

GoogleCodeExporter commented 9 years ago

Original comment by admin@smslib.org on 1 Jan 2014 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by thana...@smslib.org on 26 Apr 2014 at 10:09