Hi all, Sorry by this newbie question. I´m jsut trying to start usung Kannel. I have one SMPP conecctio nwith a operator. I would like to teste thsi connection. To do this, I´m trying to send messages to the smsbox using the fakesmsc. What I want the smsbox to do is, take this message, and deliver through the operator connection, so I can expect the message to arrive in my cell phone ;-)
But I dont know "how to say" to the smsbox to do that!! :-( I dont know how to "activate" one or other SMSC.... maybe by the destination number? origination number? Soory, I´m misising something... Please ,somebody hel this poor child!! Thanks in advance!! Follow my smscbox.conf file: #--------------------------------------------- # 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 = 13000 smsbox-port = 13001 admin-password = letsrock #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/var/log/kannel/sms.log" #log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" unified-prefix = "+5511,005511,0;+,00" access-log = "/var/log/accesskannel.log" store-file = "/etc/kannel/kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" #--------------------------------------------- # 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 = fake smsc-id = FAKE port = 10000 connect-allow-ip = 127.0.0.1 group = smsc smsc = smpp smsc-id = OPERATOR host = 172.31.2.2 port = 6402 #receive-port = 700 transceiver-mode = 1 smsc-username = "TEST" smsc-password = "testpwd" system-type = "smpp" address-range = "79010000-79019999" enquire-link-interval = "600" #--------------------------------------------- # 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 = "/tmp/smsbox.log" #log-level = 0 #access-log = "/tmp/access.log" # ROUTS #group = smsbox-route #smsbox-id = operator #smsc-id = operator #shortcode = "969" #--------------------------------------------- # 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 = operator password = thepasswd #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 = test 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 = "Default - No service specified"
