We are new to Kannel and we trying to configure Kannel to send and receive sms through another SMSC. Let me explain you what we need.
When an sms is sent to a particular phone number or short code (ours), the SMSC will forward it to our Kannel server and we will have to process the message and return a sms back to the mobile phone number through that SMSC. Should it happen synchronously or can it be done asynchronously? Similarly, we will have to send sms through this SMSC to mobile phone numbers when needed. We are trying to install and configure Kannel for the same. We are currently using SMPP simulator and SMPP send sms program to verify the configuration. We are able to make call to Kannel through HTTP protocol and make it send the sms to SMSC simulator. But when we try to send sms using SMPP client program, Kannel is not calling the get-url. Each time we make a call, from the Kannel log, we can see Kannel creating HTTP client but only to time out and get destroyed. We have tried different URLs from localhost to external one but nothing seems to make Kannel call the given URL. Find below our Kannel conf file and the kannel log. Can any one please help us in resolving this issue? Kannel.conf: ----------------------- # 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 = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/tmp/kannel.log" log-level = 0 #box-deny-ip = "*.*.*.*" #box-allow-ip = "127.0.0.1" #unified-prefix = "+358,00358,0;+,00" #access-log = "/tmp/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 # # 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! #---- This is connection to smpp simulater group = smsc smsc = smpp smsc-id = testsmsc host = 202.65.131.77 port = 5053 receive-port = 5053 smsc-username = smppclient smsc-password = password system-type = VMA service-type = test interface-version = 34 address-range = '' msg-id-type = 0 #--------------------------------------------- # 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 = 192.168.0.180 sendsms-port = 6013 global-sender = 6013 #--------------------------------------------- # 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 = user1 password = password default-smsc = testsmsc #--------------------------------------------- # 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 catch-all = yes get-url = http://192.168.0.180 text = "No service specified" ------------------------------------------------------------------------------------------------------------------------------ Kannel log: 2011-07-16 18:46:00 [16165] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2011-07-16 18:46:00 [16165] [2] DEBUG: HTTP: Created HTTPClient area 0x9e16a18. 2011-07-16 18:46:00 [16165] [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. 2011-07-16 18:46:00 [16165] [1] DEBUG: HTTP: Destroying HTTPClient area 0x9e16a18. 2011-07-16 18:46:00 [16165] [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2011-07-16 18:46:08 [16165] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2011-07-16 18:46:08 [16165] [2] DEBUG: HTTP: Created HTTPClient area 0x9e169a0. 2011-07-16 18:46:08 [16165] [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. 2011-07-16 18:46:08 [16165] [1] DEBUG: HTTP: Destroying HTTPClient area 0x9e169a0. 2011-07-16 18:46:08 [16165] [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2011-07-16 18:46:18 [16165] [7] DEBUG: SMPP[testsmsc]: Sending enquire link: 2011-07-16 18:46:18 [16165] [7] DEBUG: SMPP PDU 0xb1a00468 dump: 2011-07-16 18:46:18 [16165] [7] DEBUG: type_name: enquire_link 2011-07-16 18:46:18 [16165] [7] DEBUG: command_id: 21 = 0x00000015 2011-07-16 18:46:18 [16165] [7] DEBUG: command_status: 0 = 0x00000000 2011-07-16 18:46:18 [16165] [7] DEBUG: sequence_number: 7 = 0x00000007 2011-07-16 18:46:18 [16165] [7] DEBUG: SMPP PDU dump ends. ------------------------------------------------------------------------------------------------------------ -- View this message in context: http://old.nabble.com/Kannel-not-calling-get-url-tp32074542p32074542.html Sent from the Kannel - User mailing list archive at Nabble.com.
