connecting new kannel box to opensmppbox -
i have been trying connect new box (17.x.x.x)which installed kannel on it. have running kannel on box (19.x.x.x) can send sms , recieve. installed opensmppbox on 19.x.x.x . when start opensmppbox shows waiting incomming connections. when start kannel on 17.x.x.x connects smsbox gives error connecting opensmppbox. have spend ling time on this.
how can solve problem. here kannel.conf 17.x.x.x
# core group = core admin-port=9000 wapbox-port=9001 smsbox-port=9002 admin-password=wass status-password=wing dlr-storage=mysql log-file="/var/log/kannel/bearerbox.log" log-level=0 access-log="/var/log/kannel/access.log" access-log-clean=true access-log-format="%t %l [smsc:%i] [svc:%n] [act:%a] [binf:%b] [fid:%f][from:%p] [to:%p] [flags:%m:%c:%m:%c:%d] [msg:%l:%b] [udh:%u:%u]" box-allow-ip="*.*.*.*" unified-prefix="0234,+234,00234" ####################################### # wapbox box group = wapbox bearerbox-host = 127.0.0.1 log-file = "/var/log/kannel/wapbox.log" ####################################### #smsc group - 38276 group = smsc smsc = smpp smsc-id = smppbox host = 192.101.17.30 port = 2775 transceiver-mode = true smsc-username = "hot" smsc-password = "kkkk" interface-version = 34 system-type = my-number=38260 msg-id-type = 0x03 alt-charset = gsm #denied-smsc-id = #source-addr-ton = 0 #source-addr-npi = 0 #dest-addr-ton = 0 #dest-addr-npi = 0 allowed-prefix-regex = ^\+?(0|234)((8[01]2)|(808)|(7[01]8)) ####################################### # smsbox group = smsbox bearerbox-host = localhost smsbox-id = vsmsc sendsms-port = 9009 sendsms-url = "/cgi-bin/sendsms" global-sender = cingular reply-couldnotfetch = "could not temporarily content...please try again" sendsms-chars = "0123456789 +-" http-request-retry = 1 reply-emptymessage = "" http-queue-delay = 30 max-pending-requests = 1000 log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/smsbox-access.log" ####################################### # database group = mysql-connection id=mydlr host=localhost username=root password=wind database=inm max-connections=1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc below opensmppbox.conf # group = core dlr-storage = internal group = opensmppbox opensmppbox-id = smppbox opensmppbox-port = 2775 bearerbox-host = localhost bearerbox-port = 9000 log-level = 0 log-file = /var/log/kannel/opensmppbox/opensmppbox.log our-system-id = use-systemid-as-smsboxid = true route-to-smsc =singtel smpp-logins = "/etc/kannel/smpplogins.txt" #route-to-smsc = emitsms group = mysql-connection id = mydlr host = localhost username = root password = wing database = inm max-connections = 1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxcid below smpplogins.txt system-id-01 password-01 system-type-01 client-02 password-02 vma 127.0.0.1 client-03 password-03 vma *.*.*.* hot cingul12 vma 17.x.x.x
in opensmppbox change bearerbox-port smsbox-port of core group in kannel conf ie change 9000 9002 in opensmppbox conf
Yeah!! SMPP server has proved to be more advantageous to businesses serving the telecommunications industry. SMPP servers are useful for aggregators who are serving the industry for bulk SMS especially when it comes to developing independent SMPP SMSC and using them to re-selling.
ReplyDelete