GOOD DAY! i have already installed opensmppbox which, based on my research, would enable kannel to act as SMPP server. Now, i am trying to perform a connection to a client from a different IP address and see if i can successfully transmit a message. My problem is, i keep on getting errors and found no viable result based from the solutions i've searched in the internet.
May i also know if the diagram below shows the correct structure of smppbox alongside with bearerbox and smsbox in server and client sides, respectively? ( SERVER SIDE ) ( CLIENT SIDE ) (connection refused) OPENSMPPBOX <---------------------> BEARERBOX ^ ^ | | BEARERBOX SMSBOX ^ | SMSBOX If the one i've drawn above is absolutely/partially wrong, can you please tell me what should i exactly do so i can configure it properly? Below are my configuration files: feel free to point out what makes the whole thing wrong and kindly tell me what i must do to run in correctly: opensmppbox.conf: group = core dlr-storage = internal group = opensmppbox opensmppbox-id = SMPP opensmppbox-port = 16400 bearerbox-host = 192.168.1.59;192.168.0.29;202.126.47.72 bearerbox-port = 13501 our-system-id = CMT smpp-logins = "/usr/local/src/gateway-1.4.3/smpplogins.txt" use-systemid-as-smsboxid = true route-to-smsc = smpp log-file = "/tmp/smppbox.log" smskannel.conf (server side) group = core admin-port = 13500 smsbox-port = 13501 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/tmp/bearerbox2.log" #log-level = 0 box-deny-ip = "*...*" box-allow-ip = "127.0.0.1;192.168.0.29;202.126.47.72" #unified-prefix = "+358,00358,0;+,00" #access-log = "/tmp/access2.log" #store-file = "/tmp/kannel2.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" # 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;192.168.0.29;202.126.47.72 # SMSC CONNECTIONS -- SMPP group=smsc smsc=smpp smsc-id=SMPP interface-version=34 host= 192.168.1.59;192.168.0.29;202.126.47.72 port= 16400 receive-port = 16400 smsc-username = tester smsc-password = foobar system-type = CMT idle-timeout = 30 transceiver-mode = 1 throughput = 50 address-range = 123 enquire-link-interval = 10 reconnect-delay = 1 keepalive = 55 # SMSBOX SETUP group = smsbox bearerbox-host = 127.0.0.1;192.168.0.29;202.126.47.72 sendsms-port = 18200 global-sender = 18200 #sendsms-chars = "0123456789 +-" log-file = "/tmp/smsbox2.log" #log-level = 0 access-log = "/tmp/access2.log" # SEND-SMS USERS group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = "" # SERVICES group = sms-service keyword = jeck text = "You asked nothing and I did it!" # there should be default always group = sms-service keyword = default text = "No service specified" smskannel.conf (client side) group = core admin-port = 13500 smsbox-port = 13501 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/tmp/bearerbox2.log" #log-level = 0 box-deny-ip = "*...*" box-allow-ip = "127.0.0.1;192.168.0.29;202.126.47.72" #unified-prefix = "+358,00358,0;+,00" #access-log = "/tmp/access2.log" #store-file = "/tmp/kannel2.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" # 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;192.168.0.29;202.126.47.72 # SMSC CONNECTIONS -- SMPP group=smsc smsc=smpp smsc-id=SMPP interface-version=34 host= 192.168.1.59;192.168.0.29;202.126.47.72 port= 16400 receive-port = 16400 smsc-username = tester smsc-password = foobar system-type = CMT idle-timeout = 30 transceiver-mode = 1 throughput = 50 address-range = 123 enquire-link-interval = 10 reconnect-delay = 1 keepalive = 55 # SMSBOX SETUP group = smsbox bearerbox-host = 127.0.0.1;192.168.0.29;202.126.47.72 sendsms-port = 18200 global-sender = 18200 #sendsms-chars = "0123456789 +-" log-file = "/tmp/smsbox2.log" #log-level = 0 access-log = "/tmp/access2.log" # SEND-SMS USERS group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = "" # SERVICES group = sms-service keyword = jeck text = "You asked nothing and I did it!" # there should be default always group = sms-service keyword = default text = "No service specified" I'm running these files according to the following steps: Take note i am using two different servers for testing so i'll just name the connections as IP address A and B. in the client side (using IP address "A") 1) run bearerbox --> smskannel.conf ( client side ) 2) run smsbox --> smskannel.conf (client side) Then, on the server side (using IP address "B") 1) run bearerbox --> smskannel.conf (server side) 2) run smppbox --> opensmppbox.conf (server side) 3) run smsbox --> smskannel.conf (server side) The server side seems to run correctly as i see no errors, but the trouble is mainly found in the client side: SMPP[SMPP]: Couldn't connect to server. 2013-02-18 16:25:22 [3536] [7] ERROR: SMPP[SMPP]: Couldn't connect to SMS center (retrying in 1 seconds). Obviously, i cant establish a connection to the SMPP server.. So there, i hope i was able to provide you with the details and from these may you see what exactly i've been doing wrong and kindly tell me what to do about it... THANKS!!!