Thanks to you both.  This helps a great deal and I can avoid hunting for a
field that doesn't exist.

-----Original Message-----
From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] 
Sent: 09 October 2007 04:10 PM
To: Richard Cooke
Cc: [email protected]; [EMAIL PROTECTED]
Subject: Re: What SMS parameter gives the ID of the message a reply is
associated with? (I.e. How do we follow a conversation thread?)

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


Reply via email to