Re: HELP!! regarding smpp server - client proper configuration
Thanks Ali for your response. I actually tried your suggestions, but unfortunately, there were still persistent errors. In addition to what i've stated earlier, i am able to send a message from a browser via this url: http://192.168.1.59:18200/cgi-bin/sendsms?username=testerpassword=foobarfrom=12345to=09164809770text=hello+world where the output reflects accordingly to the server side. my problem is, i want to send a message from the client to the server using that url above. the client seems to be absolutely not involved in the entire process... may i also know if the url above contains appropriate parameters (like is there something that i missed, etc)..? From: Ali Kashif syedalikas...@gmail.com To: Gilbert Perez p_gilb...@rocketmail.com Cc: users@kannel.org users@kannel.org Sent: Monday, February 18, 2013 3:51 PM Subject: Re: HELP!! regarding smpp server - client proper configuration Hi things seems fine to me, though you can try changing the order of starting the openSMPP. to my knowledge it should be bearerBox , smsBox, sqlBox , smppBox (in order) 1) run bearerbox -- smskannel.conf (server side) 2) run smsbox -- smskannel.conf (server side) 3) run smppbox -- opensmppbox.conf (server side) 2nd thing , enable log-level on server side (opensmpp box) and see if you are really receiving any request. last thing i am sure /usr/local/src/gateway-1.4.3/smpplogins.txt exists and have user definitions like .. tester foobar VMA *.*.*.* if you have specfied some IP address as the last parameter try replacing it with *.* just to check what is causing the issue. over all your configurations seems fine to me, (may be i have missed something.) Thanks Ali On Mon, Feb 18, 2013 at 10:02 AM, Gilbert Perez p_gilb...@rocketmail.com wrote: 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 = 1 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
HELP!! regarding smpp server - client proper configuration
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 = 1 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 = 1 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
Re: HELP!! regarding smpp server - client proper configuration
Hi things seems fine to me, though you can try changing the order of starting the openSMPP. to my knowledge it should be bearerBox , smsBox, sqlBox , smppBox (in order) 1) run bearerbox -- smskannel.conf (server side) 2) run smsbox -- smskannel.conf (server side) 3) run smppbox -- opensmppbox.conf (server side) 2nd thing , enable log-level on server side (opensmpp box) and see if you are really receiving any request. last thing i am sure /usr/local/src/gateway-1.4.3/**smpplogins.txt exists and have user definitions like .. tester foobar VMA *.*.*.* if you have specfied some IP address as the last parameter try replacing it with *.* just to check what is causing the issue. over all your configurations seems fine to me, (may be i have missed something.) Thanks Ali On Mon, Feb 18, 2013 at 10:02 AM, Gilbert Perez p_gilb...@rocketmail.comwrote: 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 = 1 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 = 1 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