Try changing the Keyword parameter to Keyword=default to catch all incoming messages.
Regards, Remon ________________________________ From: Engel L [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 22, 2008 1:41 PM To: [email protected] Subject: Re: Fwd: Need Help Configuring Kannel for SMS Pull Hi Peter, Yes I defined get-url in sms-service group = sms-service keyword = nmc get-url = "http://10.10.6.42/nmc/test.txt #get-url = " http://10.10.6.42/nmc/app.php?sa=%p&msg=%a <http://10.10.6.42/nmc/app.php?sa=%25p&msg=%25a> " max-messages = 3 catch-all = true I am not sure why I need the 'to' parameter in my URL since all I need from the SMSC is the message content and the sender of the Message (So I can process the content and respond with the result to the sender). What do you mean the URL is of the client or mine? The person in charge of the SMSC (Provider's) told me they can route the sms to me via HTTP (as a HTTP request). So that is the format of the URL I expect them to use. The only information I need from them is the sender of the message (a pull message) and the text (content), I will respond straight to the sender with a response. Hope that helps. Kind Regards, Engel Linus On Jan 22, 2008 12:27 PM, Otandeka Peter <[EMAIL PROTECTED]> wrote: Hi Engel, Did you define anything in sms-service(get-url)? Also look at http relay in kannel userguide, it can help you alot Is that URL for the client or yours? I think your URL should be like 'http://localhost:13003/nmc/app.php?from=<shortcode>&to=<phone_no>&msg=T est+message' <http://localhost:13003/nmc/app.php?from=%3Cshortcode%3E&to=%3Cphone_no% 3E&msg=Test+message%27> . We need more information from you so that we can be able to diagnose your problem. Cheers Peter ----- Original Message ----- From: Engel L <mailto:[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, January 22, 2008 11:57 AM Subject: Re: Fwd: Need Help Configuring Kannel for SMS Pull Hi, I think the problem is that Kannel is looking for the wed document in the wrong place. Is there a way to tell it where to start looking? The document is currently in the Apache root (/var/www/), I thought that is where Kannel would start looking but obviously I was wrong. Regards, Engel Linus On Jan 22, 2008 9:39 AM, Engel L <[EMAIL PROTECTED]> wrote: Hi Guys, I am still struggling with with Kannel pull messages. My provider's SMSC guys are still working on routing sms's to my box. They seem to be taking time with that so I am simulating that part by doing a HTTP request via a web browser from another client as follows: http://x.x.x.x:13003/nmc/app.php?sender=1234567&msg=Test+message where x.x.x.x is my Kannel box IP address. The Kannel smsbox logs show the following: 2008-01-22 09:22:38 [10403] [3] INFO: smsbox: Got HTTP request </nmc/app.php> fr om <10.10.32.34> 2008-01-22 09:22:38 [10403] [3] DEBUG: Status: 404 Answer: <Unknown request.> 2008-01-22 09:22:38 [10403] [3] DEBUG: HTTP: Resetting HTTPClient for `10.10.32. 34'. Please explain why I am getting a 404 (unknown request) while the file exists. Regards, Engel Linus On Jan 18, 2008 12:49 PM, Mike Nwaogu <[EMAIL PROTECTED]> wrote: Hello Engel/Peter, Below is a sample configuration. this configuration will accept messages from the connectors and route the message to the php script also stated in the configuration. Now, to respond the php script will have to originate the message using perhaps the http sending method. group = smsc smsc = smpp smsc-id=sms2 host = 192.168.0.11 port = 9900 transceiver-mode = true smsc-username = u53r smsc-password = p455w07d system-type = "" address-range = "" source-addr-ton = 2 source-addr-npi = 1 group = sendsms-user username = usr password = pwd default-sender="WORD" default-smsc concatenation = true group = sms-service keyword = default get-url = " http://localhost/path/to/app.php?SOURCEADDR=%p&DESTADDR=%P&KEYWORD=%k&ID =%I&ORIGIN=%i&MESSAGE=%a <http://localhost/path/to/app.php?SOURCEADDR=%25p&DESTADDR=%25P&KEYWORD= %25k&ID=%25I&ORIGIN=%25i&MESSAGE=%25a> " max-messages = 1 catch-all=true Regards, Mike Nwaogu Tel: 234_802_325_6437 Eml: [EMAIL PROTECTED] ----- Original Message ---- From: Engel L <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, January 18, 2008 8:33:50 AM Subject: Fwd: Need Help Configuring Kannel for SMS Pull ---------- Forwarded message ---------- From: Engel L <[EMAIL PROTECTED]> Date: Jan 18, 2008 8:41 AM Subject: Re: Need Help Configuring Kannel for SMS Pull To: Otandeka Simon Peter <[EMAIL PROTECTED]> Hi Peter, Your config file is almost similar to mine, except that I do not have a receive-port. I read on the user guide if this is not set the port parameter is assumed. Yes what I need now is a way for the SMSC to route my SMS's to my Kannel server (SMS's meant to my Kannel box via a short code the operators provided me). So yes, how can the SMSC talk to Kannel (via SMPP or any other protocols Kannel makes provisions for)?
