Hello Cipher, Yeah, I have the same problem most of the time. To much idea's to less time. :-)
That could also work, but you would have to implement all possible formats of records written in the log file. Maybe you could add something to the Kannel code with an extra option of inserting MO messages into the DB (the same as with the store) Regards, Edwin -----Original Message----- From: Cipher Strength [mailto:[EMAIL PROTECTED] Sent: woensdag 30 juli 2003 19:51 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: parsing kannel log file Hi Edwin, I dont have time to shift my all services under default application. I would suggest a mysql logging feature that directly inserts incoming MO into table. One way i thinking for the time being is tail -f /var/log/coreaccess.log | some perl script regards CIPHER >Hi Cipher, > >Yes that's right, make sure your script/program catches all incoming >sms-es. If you write your application well, e.g. also include correct >errorhandling and use monitoring software like Big Brother. Than you do >not have to worry about something going wrong or your services not >being available. It is more common that Kannel in combination with a >GSM modem fails than that your program or script will. > >Kind regards, > >Edwin Poot > >-----Original Message----- >From: Cipher Strength [mailto:[EMAIL PROTECTED] >Sent: woensdag 30 juli 2003 6:54 >To: [EMAIL PROTECTED]; [EMAIL PROTECTED] >Subject: RE: parsing kannel log file > > >Hello Edwin, > >What i understand is that all sms-services would be handle by default >service scriptand all sms-services will be cater in this script. By >this way if something went wrong with the application all services will >go down. >Just for logging purpose do you think its appropriate soloution. > >regards, >CIPHER > > > > > > >Hello Cipher, > > > >Build a perl script and configure one sms service in the kannel.conf > >with the keyword default, so it always sends al incoming sms trafic > >to your perl script (or any other program in any other language). In > >your program read out the variables you set in the > >post-url/post-xml/get-url > > >in the sms service section where you previously set the keyword with > >default. Insert the read values into a database, e.g. originator, > >recipient, timestamp, data, udh, etc. (see kannel docs for all > >available > >parameters) and forward the request to your sms service. So this > >program acts as a proxy between kannel and your sms service. > > > >You can also do this for the outgoing sms-es. > > > >Hope this helps a bit. > > > > > >Kind regards, > > > >Edwin Poot > > > >-----Original Message----- > >From: Cipher Strength [mailto:[EMAIL PROTECTED] > >Sent: dinsdag 29 juli 2003 17:55 > >To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > >Subject: RE: parsing kannel log file > > > > > >Hello, > > > >Can you explain proxy script. how i can do it > > > > > > > > > >regards > >CIPHER > > > > > > > > > > > > >Hello, > > > > > >You could build a proxy script between kannel and the sms service > > >script/program, which inserts the messages into a database. > > > > > >Regards, > > > > > >Edwin Poot > > > > > >-----Original Message----- > > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > >Behalf Of Cipher Strength > > >Sent: dinsdag 29 juli 2003 12:00 > > >To: [EMAIL PROTECTED] > > >Subject: parsing kannel log file > > > > > > > > > > > > > > >Dear all, > > > > > >I want a MO "received messages" parser for kannel log file. The > > >parser i > > > > > >have written could not parse messages recieved in binary. > > > > > >Hope to listen from somone soon. > > >regards > > >CIPHER > > > > > >_________________________________________________________________ > > >Help STOP SPAM with the new MSN 8 and get 2 months FREE* > > >http://join.msn.com/?page=features/junkmail > > > > > > > > > >_________________________________________________________________ > >The new MSN 8: advanced junk mail protection and 2 months FREE* > >http://join.msn.com/?page=features/junkmail > > > > > >_________________________________________________________________ >Add photos to your e-mail with MSN 8. Get 2 months FREE*. >http://join.msn.com/?page=features/featuredemail > _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
