Why are you installing multiple instance of bearerbox? You can install single instance of bearerbox which will connect as TX/RX/TRX with your smpp provider and then multiple sqlbox can connect to the same bearerbox.
Regards Tapan Thapa On Wed, Apr 29, 2015 at 5:46 PM, Ammar Ali <[email protected]> wrote: > Hello To All, > > I'm configuring multiple kannel instance on my machine with different port > each. > > But now the problem is that When I'm sending messages then I'm receiving > each message on ESME but I'm not getting delivery reports from smsc. > > My whole architecture is given below: > > Kannel Instance 1: > > > > *APP <==> SQLBOX <==> BEARERBOX <==> SMPP Connections <==> ESME*Kannel > Instance 2: > > *APP <==> SQLBOX <==> BEARERBOX <==> SMPP Connections <==> ESME* > > Kannel Instance 3: > > *APP <==> SQLBOX <==> BEARERBOX <==> SMPP Connections <==> ESME* > > > Please suggest me what is the exact issue in this configuration. > > > > Thanks > Ammar Ali > Pune (M.H.) > > > On Fri, Apr 24, 2015 at 3:53 PM, Tapan Kumar Thapa < > [email protected]> wrote: > >> Hi, >> >> As far as i know, this line "DLR: 29 queued, using mysql storage" says, >> that we have sent 29 messages and waiting for their delivery report. >> >> As soon as we get delivery report from upstream smsc, this number will >> come down. >> >> Thanks & Regards >> Tapan Thapa >> >> On Fri, Apr 24, 2015 at 3:51 PM, Ammar Ali <[email protected]> >> wrote: >> >>> Hello To All, >>> >>> >>> When I'm sending messages on multiple numbers, then I'm not getting all >>> delivery reports. >>> >>> *This is my kannel monitor log:* >>> >>> Kannel bearerbox version `1.4.4'. Build `Feb 20 2015 13:58:20', compiler >>> `4.4.7 20120313 (Red Hat 4.4.7-11)'. System Linux, release >>> 2.6.32-042stab094.7, version #1 SMP Wed Oct 22 12:43:21 MSK 2014, machine >>> x86_64. Hostname 192-168-1-101, IP 192.168.1.101. Libxml version 2.7.6. >>> Using OpenSSL 1.0.1e-fips 11 Feb 2013. Compiled with MySQL 5.6.22, using >>> MySQL 5.6.23. Using native malloc. >>> >>> Status: running, uptime 2d 0h 57m 5s >>> >>> WDP: received 0 (0 queued), sent 0 (0 queued) >>> >>> SMS: received 0 (0 queued), sent 64 (0 queued), store size -1 >>> SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.24,0.03,0.00) msg/sec >>> >>> DLR: received 105, sent 0 >>> DLR: inbound (0.33,0.04,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec >>> DLR: 29 queued, using mysql storage >>> >>> Box connections: >>> smsbox:smsbox1, IP 127.0.0.1 (0 queued), (on-line 2d 0h 56m 34s) >>> smsbox:sqlbox1, IP 127.0.0.1 (0 queued), (on-line 2d 0h 55m 56s) >>> SMSC connections: >>> *TR_SMSC1*[TR_SMSC1] SMPP:10.10.10.10:5775/5775:XXXXXXXX:VMA >>> (online 176224s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 87 (0.33,0.04,0.00), >>> sent: sms 58 (0.24,0.03,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 >>> msgs) >>> *PR_SMSC1*[PR_SMSC1] SMPP:10.10.10.10:5776/5776:XXXXXXXX:VMA >>> (online 176224s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 11 (0.00,0.00,0.00), >>> sent: sms 5 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 1, queued 0 >>> msgs) >>> >>> >>> This log shows me *DLR: 29 queued, using mysql storage. *Can you >>> describe me what is the mean of that? >>> >>> I'm not getting any type error in my log and access files. >>> >>> So please suggest me that this problem is from my side or Operator side. >>> >>> >>> Thanks >>> Ammar Ali >>> >>> >>> >>> On Wed, Apr 22, 2015 at 1:34 PM, Ammar Ali <[email protected]> >>> wrote: >>> >>>> Hello, >>>> >>>> 4TX and 4RX connections are provided by SMPP provider. >>>> >>>> >>>> Thanks >>>> Ammar Ali >>>> >>>> On Wed, Apr 22, 2015 at 12:51 PM, Tapan Kumar Thapa < >>>> [email protected]> wrote: >>>> >>>>> Dear Ammar, >>>>> >>>>> Configuration seems ok. >>>>> >>>>> How many TX and RX or TRX connection is allowed by your smpp provider? >>>>> >>>>> Regards >>>>> Tapan Thapa >>>>> >>>>> On Wed, Apr 22, 2015 at 12:46 PM, Ammar Ali <[email protected]> >>>>> wrote: >>>>> >>>>>> Hello Tapan, >>>>>> >>>>>> >>>>>> This is SMSC configuration for each instances: >>>>>> >>>>>> group = smsc >>>>>> smsc = "smpp" >>>>>> smsc-id = "TR_SMSC1" >>>>>> log-file = "/var/log/TR_SMSC1_lOG1.log" >>>>>> log-level = "0" >>>>>> host = "xxx.xxx.xxx.xxx" >>>>>> port = "xxxx" >>>>>> #receive-port="xxxx" >>>>>> smsc-username = "xxxxxxxx" >>>>>> smsc-password = "xxxxx" >>>>>> allowed-smsc-id = "TR_SMSC1" >>>>>> preferred-smsc-id = "TR_SMSC1" >>>>>> source-addr-ton = "0" >>>>>> source-addr-npi = "1" >>>>>> dest-addr-ton = "1" >>>>>> dest-addr-npi = "1" >>>>>> service-type = "CMT" >>>>>> system-type = "VMA" >>>>>> #address-range = "^$" >>>>>> #bind-addr-ton = "0" >>>>>> #bind-addr-npi = "0" >>>>>> enquire-link-interval = "120" >>>>>> reconnect-delay = "0" >>>>>> transceiver-mode = "true" >>>>>> interface-version = "34" >>>>>> connection-timeout = "0" >>>>>> throughput = "100" >>>>>> reroute-dlr=true >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Thanks >>>>>> Ammar Ali >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Apr 22, 2015 at 12:39 PM, Ammar Ali <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hello >>>>>>> >>>>>>> This is my configurations for each instances: >>>>>>> >>>>>>> *Kannel1* >>>>>>> group = core >>>>>>> admin-port = "13000" >>>>>>> admin-port-ssl="no" >>>>>>> admin-password = "xxxxxxx" >>>>>>> status-password = "xxxxxxx" >>>>>>> admin-deny-ip="*.*.*.*" >>>>>>> admin-allow-ip="*.*.*.*" >>>>>>> smsbox-interface ="127.0.0.1" >>>>>>> smsbox-port = "13001" >>>>>>> log-file = "/var/log/kannel1.log" >>>>>>> log-level = "0" >>>>>>> access-log = "/var/log/access1.access" >>>>>>> dlr-storage = "mysql" >>>>>>> sms-incoming-queue-limit = "-1" >>>>>>> sms-outgoing-queue-limit = "1000000" >>>>>>> smsbox-max-pending = "100" >>>>>>> sms-resend-freq = "60" >>>>>>> sms-resend-retry = "-1" >>>>>>> >>>>>>> group = smsbox >>>>>>> smsbox-id = "smsbox1" >>>>>>> bearerbox-host = "127.0.0.1" >>>>>>> bearerbox-port = "13001" >>>>>>> sendsms-port = "13010" >>>>>>> log-file = "/var/log/smsbox1.log" >>>>>>> log-level = "0" >>>>>>> access-log="/var/log/smsaccess1.access" >>>>>>> sendsms-chars = "0123456789+ " >>>>>>> #max-pending-requests = "512" >>>>>>> sendsms-url="/cgi-bin/sendsms" >>>>>>> #global-sender = "123456" >>>>>>> #ms-length = "140" >>>>>>> #http-request-retry=5 >>>>>>> mo-recode='1' >>>>>>> >>>>>>> *Kannel2* >>>>>>> group = core >>>>>>> admin-port = "13100" >>>>>>> admin-port-ssl="no" >>>>>>> admin-password = "xxxxxxx" >>>>>>> status-password = "xxxxxxx" >>>>>>> admin-deny-ip="*.*.*.*" >>>>>>> admin-allow-ip="*.*.*.*" >>>>>>> smsbox-interface ="127.0.0.2" >>>>>>> smsbox-port = "13101" >>>>>>> log-file = "/var/log/kannel2.log" >>>>>>> log-level = "0" >>>>>>> access-log = "/var/log/access2.access" >>>>>>> dlr-storage = "mysql" >>>>>>> sms-incoming-queue-limit = "-1" >>>>>>> sms-outgoing-queue-limit = "1000000" >>>>>>> smsbox-max-pending = "100" >>>>>>> sms-resend-freq = "60" >>>>>>> sms-resend-retry = "-1" >>>>>>> >>>>>>> group = smsbox >>>>>>> smsbox-id = "smsbox2" >>>>>>> bearerbox-host = "127.0.0.2" >>>>>>> bearerbox-port = "13101" >>>>>>> sendsms-port = "13110" >>>>>>> log-file = "/var/log/smsbox2.log" >>>>>>> log-level = "0" >>>>>>> access-log="/var/log/smsaccess2.access" >>>>>>> sendsms-chars = "0123456789+ " >>>>>>> #max-pending-requests = "512" >>>>>>> sendsms-url="/cgi-bin/sendsms" >>>>>>> #global-sender = "123456" >>>>>>> #ms-length = "140" >>>>>>> #http-request-retry=5 >>>>>>> mo-recode='1' >>>>>>> >>>>>>> *Kannel3* >>>>>>> group = core >>>>>>> admin-port = "13200" >>>>>>> admin-port-ssl="no" >>>>>>> admin-password = "xxxxxxx" >>>>>>> status-password = "xxxxxxx" >>>>>>> admin-deny-ip="*.*.*.*" >>>>>>> admin-allow-ip="*.*.*.*" >>>>>>> smsbox-interface ="127.0.0.3" >>>>>>> smsbox-port = "13201" >>>>>>> log-file = "/var/log/kannel3.log" >>>>>>> log-level = "0" >>>>>>> access-log = "/var/log/access3.access" >>>>>>> dlr-storage = "mysql" >>>>>>> sms-incoming-queue-limit = "-1" >>>>>>> sms-outgoing-queue-limit = "1000000" >>>>>>> smsbox-max-pending = "100" >>>>>>> sms-resend-freq = "60" >>>>>>> sms-resend-retry = "-1" >>>>>>> >>>>>>> group = smsbox >>>>>>> smsbox-id = "smsbox3" >>>>>>> bearerbox-host = "127.0.0.3" >>>>>>> bearerbox-port = "13201" >>>>>>> sendsms-port = "13210" >>>>>>> log-file = "/var/log/smsbox3.log" >>>>>>> log-level = "0" >>>>>>> access-log="/var/log/smsaccess3.access" >>>>>>> sendsms-chars = "0123456789+ " >>>>>>> #max-pending-requests = "512" >>>>>>> sendsms-url="/cgi-bin/sendsms" >>>>>>> #global-sender = "123456" >>>>>>> #ms-length = "140" >>>>>>> #http-request-retry=5 >>>>>>> mo-recode='1' >>>>>>> >>>>>>> >>>>>>> Thanks >>>>>>> Ammar Ali >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Wed, Apr 22, 2015 at 12:32 PM, Ammar Ali <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> When I'm configuring multiple instances of kannel on single machine >>>>>>>> with different ports then I'm not getting delivery reports. But When >>>>>>>> I'm >>>>>>>> using only single instance of kannel then I'm getting delivery reports. >>>>>>>> >>>>>>>> >>>>>>>> So please suggest me. >>>>>>>> >>>>>>>> >>>>>>>> Thanks >>>>>>>> Ammar Ali >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Apr 21, 2015 at 7:24 PM, Ammar Ali <[email protected]> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hello, >>>>>>>>> >>>>>>>>> My SMPP connections are on transceiver mode, i.e. I'm just only >>>>>>>>> configure port. >>>>>>>>> >>>>>>>>> I'm getting delivery reports partially. I;m getting some reports. >>>>>>>>> >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> Ammar Ali >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> >
