Save SMS to database

2011-10-16 Thread toshibata
Hello, I currently have Kannel installed and I am using the following service: group = sms-service text = "hello" keyword = register catch-all = yes exec = "/home/kannel/sms_store.pl %p %a" In which sms_store.pl is a perl script to save to a MySQL DB the message and the number. However the

Re: Save SMS to database

2011-10-16 Thread toshibata
I've replaced with get-url by I'm still getting a 500 internal server error. On kannel.conf: group = sms-service keyword = default #keyword-regex = .* catch-all = yes max-messages = 0 get-url = "http://localhost/sms.php?ORIGINATOR=%p&SMS=%a"; And the sms.php file: Where am I going wrong?

RE: Save SMS to database

2011-10-16 Thread toshibata
Got it to work now. My problem is that the msg saved to the database is weird. So if the message is: Hello, on the database it appears as: %00H%00e%00l%00%l%00o Is there any way around this? -- View this message in context: http://old.nabble.com/Save-SMS-to-database-tp32663270p32664082.html Se

Receiving multiple sms at the same time

2011-10-18 Thread toshibata
I have various sms-services defined which has a text response. However if I send an SMS at the same time to the server it only responds to one of them. Is there any way to solve this. -- View this message in context: http://old.nabble.com/Receiving-multiple-sms-at-the-same-time-tp32676447p32676

Re: Receiving multiple sms at the same time

2011-10-18 Thread toshibata
Here is the config file http://old.nabble.com/file/p32676658/smskannel.conf smskannel.conf toshibata wrote: > > I have various sms-services defined which has a text response. > > However if I send an SMS at the same time to the server it only responds > to one of them. Is t