Hi, There are several configuration examples under doc/examples. I believe there is also an example configuration in the userguide in the section I mentioned.
Lastly your problem this time is with your sms-service configuration (!read relevant section of guide!). Either use: keyword = nop Or even better use: keyword = default catch-all = yes I believe it is much faster both for you and us if you check the guide beforehand. All these are detailed there. So you can either read it and get the answers right away, or wait for our email. For us it is also a waste of time to rewrite things already in the guide. BR, Nikos ----- Original Message ----- From: Alex Dehaini To: Users mailing list Sent: Friday, August 21, 2009 6:49 PM Subject: Re: Fw: testing fake sms I added the following but I still get the same error group = sms-service keyword = www get-url = "http://%S" Can you give me a generic kannel.conf file to test the fakesmsc feature Regards, Alex On Fri, Aug 21, 2009 at 3:18 PM, Alejandro Guerrieri <[email protected]> wrote: Ok, you're missing the sms-service section. Check the userguide and/or the examples on the source tree. Regards, Alejandro On Fri, Aug 21, 2009 at 5:17 PM, Alex Dehaini <[email protected]> wrote: Here is my kannel.conf group = core admin-port = 13000 admin-password = f00bar status-password = sTat admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1;200.100.0.*" smsbox-port = 13003 #wapbox-port = 13004 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;200.100.0.*" #wdp-interface-name = "*" log-file = "/var/log/kannel/kannel.log" log-level = 1 access-log = "/var/log/kannel/kannel.access" unified-prefix = "+358,00358,0;+,00" white-list = "http://localhost/whitelist.txt" dlr-storage = internal # SMSC Configuration group = smsc smsc = fake port = 10000 connect-allow-ip = "127.0.0.1;41.211.5.178" # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = "0123456789 +-" global-sender = 12345 log-file = "/var/log/kannel/smsbox.log" log-level = 0 #access-log = "access.log" #white-list = #black-list = #reply-couldnotfetch = #reply-couldnotrepresent = #reply-requestfailed = #reply-emptymessage = On Fri, Aug 21, 2009 at 3:13 PM, Alejandro Guerrieri <[email protected]> wrote: You don't have an sms-service for "nop" and there's no default value either. Or maybe you have one, but it's denied for this smsc... Post your kannel.conf and we'll be able to tell better. Regards, Alejandro On Fri, Aug 21, 2009 at 4:33 PM, Alex Dehaini <[email protected]> wrote: Hi Nikos, It appears to be working now but I have some output error I do not understand. I used the following command test/fakesmsc -i 0.1 -m 5 "100 200 text nop" I know this is to send 5 msgs from number 100 to 200. This is my output [r...@lanbwmanager kannel]# test/fakesmsc -i 0.1 -m 5 "100 200 text nop" 2009-08-21 14:32:56 [17029] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2009-08-21 14:32:56 [17029] [0] INFO: Host localhost Port 10000 interval 0.100 max-messages 5 2009-08-21 14:32:56 [17029] [0] INFO: fakesmsc starting 2009-08-21 14:32:56 [16971] [8] INFO: Fakesmsc client connected from 127.0.0.1 2009-08-21 14:32:56 [16972] [4] WARNING: No translation found for <nop> from <100> to <200> 2009-08-21 14:32:56 [16972] [4] ERROR: request failed 2009-08-21 14:32:56 [17029] [0] DEBUG: fakesmsc: sent message 1 2009-08-21 14:32:56 [17029] [0] DEBUG: Got message 1: <200 100 text Request Failed> 2009-08-21 14:32:56 [16972] [4] WARNING: No translation found for <nop> from <100> to <200> 2009-08-21 14:32:56 [16972] [4] ERROR: request failed 2009-08-21 14:32:56 [17029] [0] DEBUG: fakesmsc: sent message 2 2009-08-21 14:32:56 [17029] [0] DEBUG: Got message 2: <200 100 text Request Failed> 2009-08-21 14:32:56 [16972] [4] WARNING: No translation found for <nop> from <100> to <200> 2009-08-21 14:32:56 [16972] [4] ERROR: request failed 2009-08-21 14:32:56 [17029] [0] DEBUG: fakesmsc: sent message 3 2009-08-21 14:32:56 [17029] [0] DEBUG: Got message 3: <200 100 text Request Failed> 2009-08-21 14:32:56 [16972] [4] WARNING: No translation found for <nop> from <100> to <200> 2009-08-21 14:32:56 [16972] [4] ERROR: request failed 2009-08-21 14:32:56 [17029] [0] DEBUG: fakesmsc: sent message 4 2009-08-21 14:32:56 [17029] [0] DEBUG: Got message 4: <200 100 text Request Failed> 2009-08-21 14:32:56 [16972] [4] WARNING: No translation found for <nop> from <100> to <200> 2009-08-21 14:32:56 [16972] [4] ERROR: request failed 2009-08-21 14:32:56 [17029] [0] INFO: fakesmsc: sent message 5 2009-08-21 14:32:56 [17029] [0] INFO: Got message 5: <200 100 text Request Failed> What do you think could be the problem. Regards, Alex On Fri, Aug 21, 2009 at 9:01 AM, Alex Dehaini <[email protected]> wrote: oops - :) 2009/8/20 Nikos Balkanas <[email protected]> ----- Original Message ----- From: Nikos Balkanas To: mailto:[email protected] Cc: [email protected] Sent: Thursday, August 20, 2009 9:44 PM Subject: Re: testing fake sms Hi, You mean you missed the whole section: Appendix C: Using the fake SMS center??? Nikos ----- Original Message ----- From: Alex Dehaini To: Users mailing list Sent: Thursday, August 20, 2009 7:55 PM Subject: Re: testing fake sms Alejandro, I am reading the doc - all I see concerning fakesms is this section group = smsc smsc = fake port = 10000 connect-allow-ip = 127.0.0.1 I have added that to my kannel.conf file and restart it. What next? How do I test it? Regards, Alex On Thu, Aug 20, 2009 at 4:21 PM, Alejandro Guerrieri <[email protected]> wrote: Start by reading the userguide http://www.kannel.org/userguide.shtml Regards, Alejandro On Thu, Aug 20, 2009 at 6:02 PM, Alex Dehaini <[email protected]> wrote: Hi guys, Finally installed kannel via rpm this after noon - look like it's installed. I want to test the fake sms feature. Can anyone point me in the right direction. Regards, Alex -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [email protected] -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [email protected] -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [email protected] -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [email protected] -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [email protected]
