LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-31-2007, 12:04 AM   #1
lsropia
Member
 
Registered: Dec 2002
Distribution: RedHat
Posts: 30

Rep: Reputation: 15
kannel sms-service get-url problem


when typed into browser:
http://localhost/anr/sms.php?sender...his+is+test+SMS

mysql table one row is added in the corresponding table.

kannel is working OK. It can record DLR correctly into mysql. I want to store in/ out SMS in mysql. For this I have defined the service as:

group = sms-service
keyword = "ANR"
max-messages = 3
catch-all = true
get-url = "http://localhost/anr/sms.php?sender=%P&recipient=%p&timestamp=%t&smstext=%a"

group = sms-service
keyword = default
max-messages = 3
text = "All SMS storing"

But when I send SMS to my mobile by typing into my browser:
http://localhost:13013/cgi-bin/send...orld+into+MySQL

+919922229999 is also the number connected to kannel as SMSC, so the message gets delivered back into the mobile. But, the message does not get stored into mysql, the address defined in sms-service and that typed directly in the browser are same.

Please help.
 
Old 07-16-2009, 01:56 AM   #2
amriteshsmsc
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Rep: Reputation: 0
Hi...

Quote:
Originally Posted by lsropia View Post
when typed into browser:
http://localhost/anr/sms.php?sender...his+is+test+SMS

mysql table one row is added in the corresponding table.

kannel is working OK. It can record DLR correctly into mysql. I want to store in/ out SMS in mysql. For this I have defined the service as:

group = sms-service
keyword = "ANR"
max-messages = 3
catch-all = true
get-url = "http://localhost/anr/sms.php?sender=%P&recipient=%p&timestamp=%t&smstext=%a"

group = sms-service
keyword = default
max-messages = 3
text = "All SMS storing"

But when I send SMS to my mobile by typing into my browser:
http://localhost:13013/cgi-bin/send...orld+into+MySQL

+919922229999 is also the number connected to kannel as SMSC, so the message gets delivered back into the mobile. But, the message does not get stored into mysql, the address defined in sms-service and that typed directly in the browser are same.

Please help.

Are you sending the keyword ANR in starting of the sms because that get-url works only if you send that particular key word in the starting of the sms...
can u plz post locaton of ur script sms.php and this script..?

Last edited by amriteshsmsc; 07-16-2009 at 02:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with minicom send SMS message script nickleus Linux - Wireless Networking 3 06-25-2009 05:47 AM
How to send sms with sms-pl ? frenchn00b Linux - Software 0 10-02-2007 10:44 PM
kannel problem: fail sending sms via GPRS modem prad Linux - Software 2 12-05-2006 10:21 AM
Looking for email to sms service dimsh General 2 12-06-2005 03:15 PM
How to send sms with more than 160 characters with Kannel ? skeezo Linux - Wireless Networking 1 03-21-2004 03:34 PM


All times are GMT -5. The time now is 01:38 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration