Opensmppbox not comunicating with bearer box

Joy Larnyoh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <CAD+Z+zCnNTKg8MbQkXOg2gHMG86AKFRzhM3vU09ORB2mN18+ew@mail.gmail.com>
Hello,

I ave opensmppbox configured. When i connect to it with an ESME, it accepts
the SMS allright but i realised  that the SMS is not send to the bearer bos
to be delivered. Below is the opensmppbox  logs

2014-06-20 13:53:00 [3641] [4] DEBUG:   command_id: 4 = 0x00000004
2014-06-20 13:53:00 [3641] [4] DEBUG:   command_status: 0 = 0x00000000
2014-06-20 13:53:00 [3641] [4] DEBUG:   sequence_number: 1107 = 0x00000453
2014-06-20 13:53:00 [3641] [4] DEBUG:   service_type: NULL
2014-06-20 13:53:00 [3641] [4] DEBUG:   source_addr_ton: 5 = 0x00000005
2014-06-20 13:53:00 [3641] [4] DEBUG:   source_addr_npi: 1 = 0x00000001
2014-06-20 13:53:00 [3641] [4] DEBUG:   source_addr: "test"
2014-06-20 13:53:00 [3641] [4] DEBUG:   dest_addr_ton: 1 = 0x00000001
2014-06-20 13:53:00 [3641] [4] DEBUG:   dest_addr_npi: 1 = 0x00000001
2014-06-20 13:53:00 [3641] [4] DEBUG:   destination_addr: "233263019156"
2014-06-20 13:53:00 [3641] [4] DEBUG:   esm_class: 0 = 0x00000000
2014-06-20 13:53:00 [3641] [4] DEBUG:   protocol_id: 0 = 0x00000000
2014-06-20 13:53:00 [3641] [4] DEBUG:   priority_flag: 0 = 0x00000000
2014-06-20 13:53:00 [3641] [4] DEBUG:   schedule_delivery_time: NULL
2014-06-20 13:53:00 [3641] [4] DEBUG:   validity_period: NULL
2014-06-20 13:53:00 [3641] [4] DEBUG:   registered_delivery: 1 = 0x00000001
2014-06-20 13:53:00 [3641] [4] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2014-06-20 13:53:00 [3641] [4] DEBUG:   data_coding: 0 = 0x00000000
2014-06-20 13:53:00 [3641] [4] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2014-06-20 13:53:00 [3641] [4] DEBUG:   sm_length: 4 = 0x00000004
2014-06-20 13:53:00 [3641] [4] DEBUG:   short_message: "test"
2014-06-20 13:53:00 [3641] [4] DEBUG: SMPP PDU dump ends.
2014-06-20 13:53:00 [3641] [4] DEBUG: Msg object at 0x7f0c44005bb0:
2014-06-20 13:53:00 [3641] [4] DEBUG:  type: sms
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.sender:
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string at 0x7f0c440066d0:
2014-06-20 13:53:00 [3641] [4] DEBUG:    len:  4
2014-06-20 13:53:00 [3641] [4] DEBUG:    size: 5
2014-06-20 13:53:00 [3641] [4] DEBUG:    immutable: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:    data: 74 65 73 74
                      test
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string dump ends.
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.receiver:
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string at 0x7f0c440011f0:
2014-06-20 13:53:00 [3641] [4] DEBUG:    len:  13
2014-06-20 13:53:00 [3641] [4] DEBUG:    size: 1024
2014-06-20 13:53:00 [3641] [4] DEBUG:    immutable: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:    data: 2b 32 33 33 32 36 33 30 31
39 31 35 36            +233263019156
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string dump ends.
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.udhdata:
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.msgdata:
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string at 0x7f0c44000d50:
2014-06-20 13:53:00 [3641] [4] DEBUG:    len:  4
2014-06-20 13:53:00 [3641] [4] DEBUG:    size: 5
2014-06-20 13:53:00 [3641] [4] DEBUG:    immutable: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:    data: 74 65 73 74
                      test
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string dump ends.
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.time: 1403272380
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.smsc_id:
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string at 0x7f0c440069d0:
2014-06-20 13:53:00 [3641] [4] DEBUG:    len:  8
2014-06-20 13:53:00 [3641] [4] DEBUG:    size: 9
2014-06-20 13:53:00 [3641] [4] DEBUG:    immutable: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:    data: 61 69 72 74 65 6c 67 68
                      airtelgh
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string dump ends.
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.smsc_number:
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.foreign_id:
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.service:
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string at 0x7f0c44001180:
2014-06-20 13:53:00 [3641] [4] DEBUG:    len:  4
2014-06-20 13:53:00 [3641] [4] DEBUG:    size: 5
2014-06-20 13:53:00 [3641] [4] DEBUG:    immutable: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:    data: 76 6c 76 72
                      vlvr
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string dump ends.
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.account:
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.id:
4f1bc170-aaab-442c-8af3-a811c0bce8d4
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.sms_type: 2
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.mclass: -1
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.mwi: -1
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.coding: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.compress: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.validity: -1
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.deferred: -1
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.dlr_mask: 19
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.dlr_url:
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.pid: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.alt_dcs: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.rpi: -1
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.charset:
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.boxc_id:
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string at 0x7f0c44000da0:
2014-06-20 13:53:00 [3641] [4] DEBUG:    len:  4
2014-06-20 13:53:00 [3641] [4] DEBUG:    size: 5
2014-06-20 13:53:00 [3641] [4] DEBUG:    immutable: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:    data: 72 73 6d 73
                      rsms
2014-06-20 13:53:00 [3641] [4] DEBUG:  Octet string dump ends.
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.binfo:
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.msg_left: -1
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.split_parts: (nil)
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.priority: 0
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.resend_try: -1
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.resend_time: -1
2014-06-20 13:53:00 [3641] [4] DEBUG:  sms.meta_data:
2014-06-20 13:53:00 [3641] [4] DEBUG: Msg object ends.
2014-06-20 13:53:00 [3641] [4] DEBUG: DLR[internal]: Adding DLR smsc=rsms,
ts=4f1bc170, src=test, dst=+233263019156, mask=19, boxc=rsms
2014-06-20 13:53:00 [3641] [3] DEBUG: SMPP[rsms]: Sending PDU:
2014-06-20 13:53:00 [3641] [3] DEBUG: SMPP PDU 0x7f0c44005d80 dump:
2014-06-20 13:53:00 [3641] [3] DEBUG:   type_name: submit_sm_resp
2014-06-20 13:53:00 [3641] [3] DEBUG:   command_id: 2147483652 = 0x80000004
2014-06-20 13:53:00 [3641] [3] DEBUG:   command_status: 0 = 0x00000000
2014-06-20 13:53:00 [3641] [3] DEBUG:   sequence_number: 1107 = 0x00000453
2014-06-20 13:53:00 [3641] [3] DEBUG:   message_id: "4f1bc170"
2014-06-20 13:53:00 [3641] [3] DEBUG: SMPP PDU dump ends.
2014-06-20 13:53:10 [3641] [4] DEBUG: SMPP[rsms]: Got PDU:
2014-06-20 13:53:10 [3641] [4] DEBUG: SMPP PDU 0x7f0c44000fc0 dump:
2014-06-20 13:53:10 [3641] [4] DEBUG:   type_name: enquire_link
2014-06-20 13:53:10 [3641] [4] DEBUG:   command_id: 21 = 0x00000015
2014-06-20 13:53:10 [3641] [4] DEBUG:   command_status: 0 = 0x00000000
2014-06-20 13:53:10 [3641] [4] DEBUG:   sequence_number: 1108 = 0x00000454

Below are the other config files

OPENSMPP.CONF
group=core
#dlr-storage = internal

group = opensmppbox
opensmppbox-id = smppbox1
opensmppbox-port = 2775
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
our-system-id = SMPP
#our-system-id = Inaccess
smpp-logins = /home/gateway-1.5.0/gw/logs/smpplogins.txt
#use-systemid-as-smsboxid = true
route-to-smsc = airtelgh
log-file = /home/gateway-1.5.0/gw/logs/lg/smppbox.log
log-level=0
#log-file =
/download/gateway-1.4.3/gw/smppserver/kannel-opensmppbox-master/logs/smppbox.log

group = mysql-connection
id = mydlr
host = localhost
username = usrnalo
password = pssnalo
database = dlr
# you can increase this upon a higher load
max-connections = 1


SMPPLOGINS.CONF
vlvr dbbvrsm rsms *.*.*.*

KANNEL.CONF
group = smsc
#denied-smsc-id = SIMSWAP
smsc-id = airtelgh
smsc = smpp
host = *.*.*.*
port = ****
receive-port = ****
smsc-username = *********
smsc-password = *********
system-type = ""
address-range = ""
my-number = 212
enquire-link-interval = 10
max-pending-submits = 10
reconnect-delay = 10
source-addr-ton = 5
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
msg-id-type = 2
wait-ack = 60
#log-file = "/emcdisk1/kannel_logs/smsc_ftbundle.log"
#access-log = "/var/log/kannel/2222.log"
log-level = 0
alt-charset = UTF-8
allowed-prefix = "23326;23324;23354;23328"

#SMS routing setup
group = smsbox-route
smsbox-id = rsms
smsc-id = "airtelgh"

Best Regards

Joy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.