On 6/27/05, Bopolissimus Platypus Jr <[EMAIL PROTECTED]> wrote:
> hello all (for those on the ph-mobileapps list, sorry for the crosspost),
> 
> i'm working with kannel and a GSM modem.  I'm able to successfully send
> sms out (push, through http://[host]:13013/cgi-bin/sendsms?....) with a
> browser.  I can also do it through php (using fopen, so i do something like:
> 
> $in=fopen("http://[host]:13013/cgi-bin/sendsms...","r";);
> 
> the SMS is successfully sent.  however, i'd like to know the
> status of the send.  in the browser, "Sent" is printed, so I
> think I should be able to read that from the stream,  but if
> I try to read the stream, e.g., with something like:

[snip]

Alternatively, you might want to use Kannel's DLR (Delivery Report) instead. 

http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AEN2714

Use the sendsms interface, then have Kannel do DLR.

-- 
JM Ibanez --
        "You know, it's at times like this when I'm trapped in a Vogon
airlock with a man from Betelgeuse and about to die of asphyxiation in
deep space that I really wish I'd listened to what my mother told me
when I was young!"
        "Why, what did she tell you?"
        "I don't know, I didn't listen."
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
-----
http://www.livejournal.com/~jmibanez/
http://www.mycgiserver.com/~butiki/
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to