That's not directly achievable with SMS in general. There's no "message-id" on the SMS protocol at all, so there's no way to tell if a message is a response to another.
Usually this is achieved with some sort of sessions implementation by using a time window: If you send a message to a given number and that number sends a message back before a predefined time window, that message is considered an "answer". Hope it helps, Alejandro On 10/9/07, Richard Cooke <[EMAIL PROTECTED]> wrote: > > > > > Say we send a message with a given ID to a phone using Kannel and that phone > sends a message back. It arrives at Kannel and is delivered to a program > waiting at a URL. > > > > How does that program know the message is a reply to the original message? > > Can we get the original message ID back somehow, like we can for delivery > reports? -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
