Re: timestamps, scripts and nokia 7110
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wapme Systems AG |
| Message-ID | <[email protected]> |
"Malmström, Dennis" wrote: > > The changes I made are: > > 1) Added three escape codes: > %z, skips a word. I guess this may be replicated using %s for the next word but without processing it actually in the CGI environment. > %A, same as %a but without url encoding. > %R, same as %r but without url encoding. whhhuuaa, this will break HTTP protocoll in case the user does not send URL encoded text?! > 2) Added the possibility of executing a command line instead of fetching an url. > Configuration file example: > group = sms-service > keyword = default > execute = <command line> that's usefull, at least if it's done in a serious and secure manner. I'll review this. > > 3) Added modemtype nokia7110. > I started out using the modemtype premicell (which I somehow gathered was nokia related). > Getting it to work required a few changes to the GSM modem handling code (gw/smsc_at.c). > I created a new modemtype so I wouldn't change the definition of an existing one. modemtype = nokiaphone is already available in the development branch and CVS. AFAIK, it was yet not available in the stable tree, so this may be skipped. > 4) Fixed broken timestamp parser. > I am not sure wether this is a general issue or specific to nokia 7110. > Anyway, the existing code produced nonsense values for the data sent from a nokia 7110. Is this reproducable using the current cvs tree? Stipe [email protected] ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [email protected] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are