Hi Alejandro, I did study the guide but I am thoroughly confused with all the parameters. I tried to put in a conf file:-
group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/sid.log" log-level = 1 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #unified-prefix = "+358,00358,0;+,00" access-log = "/access.log" #store-file = "kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" #--------------------------------------------- # SMSC CONNECTIONS group = smsc smsc = http system-type=generic smsc-id = city port = 13009 smsc-username='sid' smsc-password='check' connect-allow-ip = 127.0.0.1 send-url="http://localhost:13009/Test/readCity.jsp?city=%r" status-success-regex = "ok" status-permfail-regex = "failure" status-tempfail-regex = "retry later" group = smsc smsc = at smsc-id=nokia5310 modemtype = nokiaphone device = /dev/COM34 speed = 9600 #smsc-center="+9049009861" include="modems.conf" #--------------------------------------------- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" log-file = "/smsbox.log" log-level = 1 access-log = "/access.log" #--------------------------------------------- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar. .. group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = "" #--------------------------------------------- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = default get-url = "http://localhost:13009/Test/readCity.jsp?city=%r" group = sms-service keyword = nop text = "You asked nothing and I did it!" # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. #group = sms-service #keyword = default #text = "No service specified" However I am confused as to how Kannel would pass the parameters at runtime and how would i catch the response back from the application in Kannel (through which parameter)? Please help. I am completely new to the web technologies and thus a bit lost right now. Thanks and Regards Siddhartha Adhikari On Sun, Sep 6, 2009 at 5:08 PM, Alejandro Guerrieri < [email protected]> wrote: > Have you _really_ read the userguide? > > > On Sun, Sep 6, 2009 at 9:35 AM, Siddhartha` Adhikari <[email protected]>wrote: > >> Hi, >> >> I have a simple application which accepts city as a parameter:- >> >> http://localhost:8080/Test/readCity.jsp?City=??? >> >> I need to pass the parameter at run time from Kannel. >> The application would return a response back. >> >> a) How would the parameter be passed at runtime? >> b) How would I capture the response back in Kannel? >> >> Please help me out, I am really stuck with this. >> >> Regards >> Siddhartha >> >> >> > >
