I've wrote a very simple PHP function that does the binary encoding
for you. It's on the list archive, try here:

http://article.gmane.org/gmane.comp.mobile.kannel.user/6631

Hope it helps,

Alejandro Guerrieri


On 8/16/05, Stephane Rosa <[EMAIL PROTECTED]> wrote:
> Hi Alejandro,
> 
> Thanks for your reply. I'm a bit disappointed as I really thought that
> there
> would be some sort of persistent information between a message sent to a
> mobile and its reply.
> 
> I think I can handle this missing feature by asking users to include the
> original message in their reply. A quick investigation showed up that on
> Nokia phones this functionality exists. On Ericsson it doesn't but the
> user
> can forward the message "back", that should be ok to start with.
> 
> Thus said, I would be very interested in investigating wap push for a
> near future, unfortunately I have pretty much no idea of how to set that
> up and the documentation is more a technical reference than a tutorial :-)
> 
> If somebody would have a truly basic example of wap config and wap scripts
> that does any kind of simple job (even unrelated to the alerting system
> that I try to setup) to help me understand I would be glad.
> 
> Thanks
> Stephane
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Tuesday, August 16, 2005 13:53
> To: [email protected]
> Subject: Re: Question about tracking messages (maybe using UDH ?)
> 
> Stephane,
> 
> SMS protocol does not have any transaction-oriented capabilities built
> in. I'm afraid you'll have to come up with a solution more or less
> "painful" for your users:
> 
> 1. You could, as mentioned, ask the client to include a tracking number.
> 
> 2. If you don't expect to send many requests at the same time to the
> same guy, You could implement some "time-window oriented" mechanism,
> that is: any reply you get during the X minutes after sending message
> #432 to number 123 is supossedly regarding message #432. After X
> minutes, you consider the #432 abandoned even if 123 replies to it.
> This works as long as you don't have more than one "open" message with
> a particular ANI. In that case you could indicate that he must include
> the tracking number... (here the painful part comes to developing the
> logic for this, nbut it's absolutely doable).
> 
> 3. You could implemente the messages as wap pushes (with the tracking
> number encoded) and redirect the client to a wap form where he can
> reply ot them.
> 
> Hope it helps,
> 
> Alejandro Guerrieri
> 
> 
> 
> On 8/16/05, Stephane Rosa <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> >
> >
> > What I'm trying to do is to track messages when they are replied to. The
> > goal is to use Kannel to send alerts to people and let them a chance to
> > acknowledge them (will be used With Nagios for those who know it). How
> can I
> > put some kind of transaction number in a message sent, so that I can
> track
> > it back when it is replied to. For example :
> >
> >
> >
> > Send message "HOST X IS DOWN" to number 123
> >
> > Send message "HOST Z IS DOWN" to number 456
> >
> > Guy with number 123 replies "ACK I will take care of it"
> >
> > Guy with number 456 replies "NACK got no time now"
> >
> >
> >
> > I want to create two sms-services, ACK and NACK and log their answer in
> the
> > system, but how can I match messages sent with replies ? I could add an
> > alert number to the text, but users would have to retype that number
> when
> > replying, that's painful.
> >
> >
> >
> > Hope I'm clear enough.
> >
> > Thanks for any hint.
> >
> >
> >
> > Cheers
> >
> > Stephane
> 
> 
> --
> Alejandro Guerrieri
> Magicom
> http://www.magicom-bcn.net/
> 
> 


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/

Reply via email to