Hello Seik, Thank you for your response. Please have a look at my Kannel.conf and let me know what I am missing. group = core admin-port = 13000 admin-password = bar admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1;x.x.x.x;y.y.y.y" smsbox-port = 13001 #wapbox-port = 13004 box-deny-ip = "*.*.*.*" box-allow-ip = " 127.0.0.1;x.x.x.x;y.y.y.y;z.z.z.z" #wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" log-level = 0 group = smsbox #bearerbox-host = localhost bearerbox-host = x.x.x.x sendsms-port = 13013 smsbox-id = myfoda global-sender = 15920 sendsms-chars = "0123456789 +-" access-log = "/var/log/kannel/smsbox.access" log-file = "/var/log/kannel/smsbox.log" log-level = 0 #sendsms-url = /var/www/
# SERVICESgroup = sms-service keyword = nop text = "You asked nothing and I did it!" group = sms-service keyword = default text = "No service specified" group = sms-service keyword = nimac get-url = "http://kannel_box_ip/nmc/test.txt #get-url = " http://kannel_box_ip/nmc/app.php?sa=%p&msg=%a<http://kannel_box_ip/nmc/app.php?sa=%25p&msg=%25a> " max-messages = 3 catch-all = true #text = Response default group = sendsms-user username = f00 password = b4r default-sender = "Wxrd" default-smsc = foda concatenation = true group = smsc smsc = smpp host = x.x.x.x port = 11111 #receive-port = 13004 smsc-username = "f00" smsc-password = "b4r" system-type = "VMA" address-range = "" transceiver-mode = true source-addr-ton = 1 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 bind-addr-ton = 1 bind-addr-npi = 1 validityperiod = 2880 smsc-id = foda The smsbox logs show that Kannel gets the request, but responds with a 404 Answer: 2008-01-22 11:54:15 [12078] [2] DEBUG: HTTP: Creating HTTPClient for `z.z.z.z' 2008-01-22 11:54:15 [12078] [2] DEBUG: HTTP: Created HTTPClient area 0x814ad40. 2008-01-22 11:54:15 [12078] [3] INFO: smsbox: Got HTTP request </nmc/app.php> from <z.z.z.z> 2008-01-22 11:54:15 [12078] [3] DEBUG: Status: 404 Answer: <Unknown request.> 2008-01-22 11:54:15 [12078] [3] DEBUG: HTTP: Resetting HTTPClient for `z.z.z.z'. 2008-01-22 11:55:15 [12078] [1] DEBUG: Timeout for fd:24 appeares. 2008-01-22 11:55:15 [12078] [1] DEBUG: HTTP: Destroying HTTPClient area 0x814ad40. 2008-01-22 11:55:15 [12078] [1] DEBUG: HTTP: Destroying HTTPClient for `z.z.z.z' > On Jan 22, 2008 2:07 PM, seik <[EMAIL PROTECTED]> wrote: > > > Hi, Engel, > > > > the problem is not the wrong path etc. > > > > you need to understand that the send-sms url set in the kannel config is > > virtual > > kannel do not serve any requests not described into the config. > > The sms-service GET/POST/XML url needs to be created by you though. > > > > So, just use the example config files of kannel first. > > > > > > > > > > > > > > > > -----Original Message----- > > From: [email protected] [ [EMAIL PROTECTED] > > Sent: 22 ?????? 2008 ?. > > To: seik > > Subject: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] > > > > > >
