RE: hidden variable for reply
> As far as I know, the only way you can tell that you are > receiving a reply, is from the mobile number itself. (%s) > I have heard that each SMS message has a unique id, but I > don't think Kannel currently has access to it (??) I think that there's no concept of a message id like in email, but if so great, something to look at. > I have thought about ( not implemented ) this sort of reply > type system before. I can see a way, albeit has problems. If > you where to keep track of the 'to' mobile number that your > user send to, along with a record of their id ( say for a web > reply ) If you then receive an SMS within a certain amount of > time, from this number you can safely say its a reply and send it > along to the user, via the id record ( say as a email ). Only becomes an issue if the transaction has more than one MT and one MO message really. The way around it I thought about before would be for the web application to increment some counter starting at 0 to indicate number of replies (read: inbound messages) received from a given number. But then how do you know when another transaction has started? Maybe reset that counter to 0. You're right, food for thought.
SV: hidden variable for reply
I've heard of a solution where you add a couple of extra digits to the end of the "from" phone number. The mobile phone uses this extra long phone number as the "to" number when you reply to the SMS and the operators' network and the SMSC just ignore the extra digits. Your application can encode an id (like a magic cookie) in these extra digits that can be used to identify an reply. Has anyone else heard about this solution? Supposedly it does at least work with Nokia SMSC. /Patrik > -Ursprungligt meddelande- > Från: Chris Blown [mailto:[EMAIL PROTECTED]] > Skickat: den 10 oktober 2001 06:34 > Till: [EMAIL PROTECTED] > Ämne: Re: hidden variable for reply > > > Hey Ahmad > > I understand where you are coming from with this hidden > variable idea. > > As far as I know, the only way you can tell that you are > receiving a reply, is from the mobile number itself. (%s) > I have heard that each SMS message has a unique id, but I > don't think Kannel currently has access to it (??) > > I have thought about ( not implemented ) this sort of reply > type system before. I can see a way, albeit has problems. If > you where to keep track of the 'to' mobile number that your > user send to, along with a record of their id ( say for a web > reply ) If you then receive an SMS within a certain amount of > time, from this number you can safely say its a reply and send it > along to the user, via the id record ( say as a email ). > > This is not an ideal solution as a few caveats exist with users > sending SMS to the same person within that time frame. But this > would work with a small user group. Forget about this if you > have large amounts of SMS traffic. Also your sms services handlers > might be effected as a reply could contain that keyword your > bearer is expecting and reply with a say a weather report or the > score for the footy. ;-) > > Has anyone got this sort of reply via sms center working ? > > Anyway food for thought... > > -Chris B > > > Ahmad Munif wrote: > > > > Hi, is it possible to include variable / hidden variable > > to message that sent from sms gateway to user ?, and if > > user reply that message that variable still include. > > and when message reply to sms gateway, sms gateway can identify > > that variable. > > > > is it possible, let me know plese ? > > > > thanks. > > >
Re: hidden variable for reply
Hey Ahmad I understand where you are coming from with this hidden variable idea. As far as I know, the only way you can tell that you are receiving a reply, is from the mobile number itself. (%s) I have heard that each SMS message has a unique id, but I don't think Kannel currently has access to it (??) I have thought about ( not implemented ) this sort of reply type system before. I can see a way, albeit has problems. If you where to keep track of the 'to' mobile number that your user send to, along with a record of their id ( say for a web reply ) If you then receive an SMS within a certain amount of time, from this number you can safely say its a reply and send it along to the user, via the id record ( say as a email ). This is not an ideal solution as a few caveats exist with users sending SMS to the same person within that time frame. But this would work with a small user group. Forget about this if you have large amounts of SMS traffic. Also your sms services handlers might be effected as a reply could contain that keyword your bearer is expecting and reply with a say a weather report or the score for the footy. ;-) Has anyone got this sort of reply via sms center working ? Anyway food for thought... -Chris B Ahmad Munif wrote: > > Hi, is it possible to include variable / hidden variable > to message that sent from sms gateway to user ?, and if > user reply that message that variable still include. > and when message reply to sms gateway, sms gateway can identify > that variable. > > is it possible, let me know plese ? > > thanks.
hidden variable
Hi, is it possible to include variable / hidden variable to message that sent from sms gateway to user ?, and if user reply that message that variable still include. and when message reply to sms gateway, sms gateway can identify that variable. is it possible, let me know plese ? thanks.