Hi, I want to send messages using Kannel SMS Gateway.
This is my initial configuration of smskannel.conf. //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------// # # THIS IS A CONFIGURATION FOR SMS KANNEL # # This basic version is used for system testing. It expects 'fakesmsc' to # send messages which are replied with simple fixed text message. # It is run like this: #--------------------------------------------------------------------------------------------------------------------------------------- # CORE # # There is only one core group and it sets all basic settings # of the bearerbox (and system). You should take extra notes on # configuration variables like 'store-file' (or 'store-dir'), # 'admin-allow-ip' and 'access.log' group = core admin-port = 14000 #admin-port-ssl="no" admin-password = "mypwd" #status-password ="mypwd" #admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" smsbox-port = 15000 #smsbox-port-ssl="no" #wapbox-port=13000 #wapbox-port-ssl="no" #box-deny-ip = "*.*.*.*" #box-allow-ip = "127.0.0.1" #udp-deny-ip="*.*.*.*" #udp-allow-ip= "127.0.0.1" #wdp-interface-name="*" log-file = "bearerbox.log" log-level =1 #access-log = "access.log" #access-log-clean="true" #access-log-format="%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [FID:%F] [META:%D] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]" #unified-prefix = "+358,00358,0;+,00" #white-list #black-list #store-type #store-location #store-dump-freq http-proxy-host="127.0.0.1" http-proxy-port="12345" #http-proxy-exceptions #http-proxy-exceptions-regex #http-proxy-username #http-proxy-password #ssl-client-certkey-file #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" #ssl-server-key-file #ssl-trusted-ca-file dlr-storage= "internal" #maximum-queue-length=1000 sms-incoming-queue-limit=1000 #sms-outgoing-queue-limit=1 #white-list-regex #black-list-regex smsbox-max-pending=100 sms-resend-freq="60 Seconds" sms-resend-retry=10 #sms-combine-concatenated-mo #sms-combine-concatenated-mo-timeout #http-timeout #--------------------------------------------------------------------------------------------------------------------------------------- # SMSC CONNECTIONS # # SMSC connections are created in bearerbox and they handle SMSC specific # protocol and message relying. You need these to actually receive and send # messages to handset, but can use GSM modems as virtual SMSCs # This is a fake smsc connection, _only_ used to test the system and services. # It really cannot relay messages to actual handsets! group = smsc smsc = smpp smsc-id="mysmpp" #smsc-admin-id="" #throughput= #host="121.241.242.121" #port=2351 host = 127.0.0.1 port = 1111 #use-ssl="" transceiver-mode="true" receive-port = 1111 #smsc-username = "bulkt" #smsc-password = "qkh85dvx" smsc-username = "root" smsc-password = "root" system-type = "VMA" #service-type="VMA" interface-version=34 my-number="123456" source-addr-ton=0 source-addr-npi=1 dest-addr-ton=0 dest-addr-npi=1 #address-range = "" #max-pending-submits #reconnect-delay #source-addr-ton #source-addr-npi #source-addr-autodetect #dest-addr-ton #dest-addr-npi #bind-addr-npi #msg-id-type #alt-charset #alt-addr-charset #connection-timeout #wait-ack #wait-ack-expire #validityperiod #--------------------------------------------------------------------------------------------------------------------------------------- # 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 bearerbox-port= 15000 sendsms-port = 1111 #global-sender = #sendsms-chars = "0123456789 +-" log-file = "smsbox.log" log-level = 1 #access-log = "access.log" #--------------------------------------------------------------------------------------------------------------------------------------- # SMSBOX-ROUTE # group = smsbox-route smsbox-id = mysmsc smsc-id = "mysmpp" shortcode = "1234" #--------------------------------------------------------------------------------------------------------------------------------------- # 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 = test password = test concatenation= true max-messages = 10 #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 = 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" #--------------------------------------------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------// Please let me check my configuration and suggest me that where I'm mistaking. On Wed, Jun 25, 2014 at 1:45 AM, spameden <spame...@gmail.com> wrote: > > > > 2014-06-24 17:15 GMT+04:00 Fakirchand Patidar < > bulk24sms.fcpati...@gmail.com>: > > Hi, >> >> I'm new with Kannel, so please help me. >> >> When I'm configuring initial setup of Kannel (Bearerbox, smsbox) then I'm >> not getting values of there group variables from user guide. >> > > Nobody's gonna do for you your work of reading, understanding User Guide > and configuring kannel. > > If you want this made by someone else, hire someone for decent amount of > money. > > >> >> Can you explain this in details and send me some dummy application for >> sending short message. >> > > Without speicific *concrete* questions nobody gonna help you here. Post > your configuration and exactly what you want to achieve. > > >> >> I'm waiting for your valuable response. >> >> >> >> >> On Tue, Jun 24, 2014 at 11:37 AM, MOSES KARIUKI <kariuk...@gmail.com> >> wrote: >> >>> If it shows no error, it should be running fine. >>> >>> Moses >>> >>> >>> On Tue, Jun 24, 2014 at 8:52 AM, Fakirchand Patidar < >>> bulk24sms.fcpati...@gmail.com> wrote: >>> >>>> Hello, >>>> >>>> When I'm configuring *"kannel.conf"* file for Core group and start >>>> bearerbox then I'm getting this below output: >>>> >>>> $ ./bearerbox -v 0 kannel.conf >>>> 2014-06-24 11:13:37 [5784] [0] INFO: Debug_lvl = 0, log_file = <none>, >>>> log_lvl = 0 >>>> 2014-06-24 11:13:37 [5784] [0] INFO: DLR using storage type: internal >>>> 2014-06-24 11:13:37 [5784] [0] DEBUG: Kannel bearerbox version `1.4.3'. >>>> Build `Jun 21 2014 20:01:15', compiler `4.8.3'. >>>> System CYGWIN_NT-6.1, release 1.7.30(0.272/5/3), version 2014-05-23 >>>> 10:36, machine i686. >>>> Hostname Patidar.it.bulk24sms.net, IP 192.168.1.2. >>>> Libxml version 2.9.1. >>>> Using OpenSSL 1.0.1h 5 Jun 2014. >>>> Using native malloc. >>>> >>>> 2014-06-24 11:13:37 [5784] [0] INFO: Added logfile `kannel.log' with >>>> level `1'. >>>> 2014-06-24 11:13:37 [5784] [0] INFO: HTTP: Opening server at port 14000. >>>> 2014-06-24 11:13:37 [5784] [0] DEBUG: Started thread 1 >>>> (gwlib/fdset.c:poller) >>>> 2014-06-24 11:13:37 [5784] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) >>>> maps to pid 5784. >>>> 2014-06-24 11:13:37 [5784] [0] DEBUG: Started thread 2 >>>> (gwlib/http.c:server_thread) >>>> 2014-06-24 11:13:37 [5784] [2] DEBUG: Thread 2 >>>> (gwlib/http.c:server_thread) maps to pid 5784. >>>> 2014-06-24 11:13:37 [5784] [3] DEBUG: Thread 3 >>>> (gw/bb_http.c:httpadmin_run) maps to pid 5784. >>>> 2014-06-24 11:13:37 [5784] [0] DEBUG: Started thread 3 >>>> (gw/bb_http.c:httpadmin_run) >>>> 2014-06-24 11:13:37 [5784] [0] INFO: >>>> ---------------------------------------- >>>> 2014-06-24 11:13:37 [5784] [0] INFO: Kannel bearerbox II version 1.4.3 >>>> starting >>>> 2014-06-24 11:13:42 [5784] [0] INFO: MAIN: Start-up done, entering >>>> mainloop >>>> 2014-06-24 11:13:42 [5784] [0] DEBUG: Shutting down Kannel... >>>> 2014-06-24 11:13:42 [5784] [0] DEBUG: shutting down smsc >>>> 2014-06-24 11:13:42 [5784] [0] DEBUG: shutting down udp >>>> 2014-06-24 11:13:42 [5784] [0] INFO: All flow threads have died, >>>> killing core >>>> 2014-06-24 11:13:42 [5784] [0] DEBUG: Waiting for 2 >>>> (gwlib/http.c:server_thread) to terminate >>>> 2014-06-24 11:13:42 [5784] [3] DEBUG: HTTP: No clients with requests, >>>> quitting. >>>> 2014-06-24 11:13:42 [5784] [3] DEBUG: Thread 3 >>>> (gw/bb_http.c:httpadmin_run) terminates. >>>> 2014-06-24 11:13:42 [5784] [2] DEBUG: Thread 2 >>>> (gwlib/http.c:server_thread) terminates. >>>> 2014-06-24 11:13:42 [5784] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) >>>> terminates. >>>> 2014-06-24 11:13:42 [5784] [0] INFO: Total WDP messages: received 0, >>>> sent 0 >>>> 2014-06-24 11:13:42 [5784] [0] INFO: Total SMS messages: received 0, >>>> sent 0 >>>> 2014-06-24 11:13:42 [5784] [0] DEBUG: Immutable octet strings: 129. >>>> >>>> >>>> Is this correct that bearerbox has been start or not? >>>> >>>> Please suggest me as soon as possible. >>>> >>>> >>>> --------------------------------- >>>> >>>> *Thanks & Regards, * >>>> *Fakirchand Patidar* >>>> Software Developer >>>> Bulk24SMS Networks >>>> Cell: +919754178790 >>>> >>> >>> >> >> >> -- >> --------------------------------- >> >> *Thanks & Regards, * >> *Fakirchand Patidar* >> Software Developer >> Bulk24SMS Networks >> Cell: +919754178790 >> > > -- --------------------------------- *Thanks & Regards,* *Fakirchand Patidar* Software Developer Bulk24SMS Networks Cell: +919754178790