change your smsbox group to be like this: group = smsbox bearerbox-host = localhost #smsbox-id = smsbox #bearerbox-port = 13010 sendsms-port = 14001 global-sender = 1234456 #sendsms-chars = "," access-log = "/var/log/kannel/kannel.smsbox.access-log" log-file = "/var/log/kannel/kannel.smsbox.log" log-level = 0
Benaiad On Wed, Sep 9, 2009 at 5:37 AM, Jinson <[email protected]> wrote: > Please find the complete status page. > > Kannel bearerbox version `1.4.3'. Build `Jul 7 2009 12:14:07', compiler > `4.2.4 (Ubuntu 4.2.4-1ubuntu4)'. System Linux, release 2.6.18-xen, version > #1 SMP Tue Feb 12 06:40:50 UTC 2008, machine x86_64. Hostname fa-gateway, IP > 127.0.0.1. Libxml version 2.6.31. Compiled with MySQL 5.0.51a, using MySQL > 5.0.51a. Using native malloc. > > Status: running, uptime 0d 14h 37m 24s > > WDP: received 0 (0 queued), sent 0 (0 queued) > > SMS: received 9479 (41 queued), sent 8435 (0 queued), store size -1 > > SMS: inbound (0.07,0.33,0.18) msg/sec, outbound (0.07,0.33,0.16) msg/sec > > DLR: 80729 queued, using mysql storage > > Box connections: > smsbox:fabox, IP 127.0.0.1 (0 queued), (on-line 0d 14h 37m 21s) > > SMSC connections: > A SMPP:xxx.xxx.xxx.xxx:xxx/xxx:xxxxx:xxxx (online 31747s, rcvd 1775, > sent 1775, failed 0, queued 0 msgs) > B SMPP:xxx.xxx.xxx.xxx:xxx/xxx:xxxxx:xxxx (online 52644s, rcvd 5683, > sent 5683, failed 0, queued 0 msgs) > * C SMPP:xxx.xxx.xxx.xxx:xxx/xxx:xxxxx:xxxx (online 52644s, rcvd > 2021, sent 977, failed 5, queued 461 msgs)* > D SMPP:xxx.xxx.xxx.xxx:xxx/xxx:xxxxx:xxx (online 16523s, rcvd 0, > sent 0, failed 0, queued 0 msgs)Thanks > > > The queue of SMSC 'C' keep on increasing and nothing seems to be happening > on that particular SMSC > > Log file has the following lines too... > > > *2009-09-07 09:19:56 [15568] [17] DEBUG: Routing failed, re-queued.* > *2009-09-07 09:19:56 [15568] [17] DEBUG: sms_router: handling message > (0x7ed970 vs 0x7fdd90) > > 2009-09-09 03:14:04 [32366] [4] WARNING: Could not route message to smsbox > id <smsbox>, smsbox is gone!* > * > > * > > > > > Jinson Abraham > > > > > On Tue, Sep 8, 2009 at 6:22 PM, Benaiad <[email protected]> wrote: > >> yes, you are right. >> but do you think this queue come from sent or received messages. >> because i think it comes from the received messages and the smsc can't >> route them to the smsbox. >> that's why I've asked you to attach the complete status page. >> also, check your logs. >> Benaiad >> >> >> >> On Tue, Sep 8, 2009 at 2:45 PM, Jinson <[email protected]> wrote: >> >>> The other SMSC's are working very fine. Only problem is with this >>> particular smsc. That means smsbox is connected rite? >>> >>> Thanks >>> Jinson Abraham >>> >>> >>> >>> >>> On Tue, Sep 8, 2009 at 6:08 PM, Benaiad <[email protected]> wrote: >>> >>>> can you send to us all the status page, because I need to see if it says >>>> the smsbox is connected correctly or not. >>>> >>>> Benaiad >>>> >>>> On Tue, Sep 8, 2009 at 2:15 PM, Jinson <[email protected]> wrote: >>>> >>>>> I removed all the 3 smscs which connects to same IP/PORT, still the >>>>> smsc gets queued up after sometime and nothing is happening to those >>>>> messages. >>>>> >>>>> <b>D</b>SMPP:xxx.xxx.xxx.xxx:xxx/xxx:xxxxx: (online 3387s, rcvd 1443, >>>>> sent* 728*, failed 0, queued *1258* msgs) >>>>> >>>>> Thanks >>>>> Jinson Abraham >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Sep 8, 2009 at 5:30 PM, Jinson <[email protected]> wrote: >>>>> >>>>>> That doesnt seems to work. >>>>>> >>>>>> >>>>>> Thanks >>>>>> Jinson Abraham >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Sep 8, 2009 at 4:44 PM, Benaiad <[email protected]> wrote: >>>>>> >>>>>>> No, just remove smsbox-id parameter and give it a try. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Sep 8, 2009 at 1:08 PM, Jinson <[email protected]> wrote: >>>>>>> >>>>>>>> So I should start separate smsboxes for each smsc connection.? >>>>>>>> >>>>>>>> >>>>>>>> Thanks >>>>>>>> Jinson Abraham >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Sep 8, 2009 at 4:07 PM, Benaiad <[email protected]> wrote: >>>>>>>> >>>>>>>>> I think you need the smsbox-route group, you have to define it >>>>>>>>> every time you use the smsbox-id in smsbox group. >>>>>>>>> or simply comment the smsbox-id, and give it a try. >>>>>>>>> >>>>>>>>> Benaiad >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Sep 8, 2009 at 12:20 PM, Jinson <[email protected]> wrote: >>>>>>>>> >>>>>>>>>> I have 6 SMSC. But 4 of them are connected to same IP/PORT. 4 >>>>>>>>>> instances of same ip/port >>>>>>>>>> These 4 SMSCs are going idle after a fixed time. Not sending >>>>>>>>>> messages. The core log gives the following >>>>>>>>>> * >>>>>>>>>> * >>>>>>>>>> *2009-09-07 09:19:56 [15568] [17] DEBUG: Routing failed, >>>>>>>>>> re-queued.* >>>>>>>>>> *2009-09-07 09:19:56 [15568] [17] DEBUG: sms_router: handling >>>>>>>>>> message (0x7ed970 vs 0x7fdd90)* >>>>>>>>>> * >>>>>>>>>> * >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Thanks >>>>>>>>>> Jinson Abraham >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Sep 8, 2009 at 3:39 PM, jyotiranjan panda < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> If you use store-type = spool, then try to make the location >>>>>>>>>>> shorter.(upto 3 extension). >>>>>>>>>>> >>>>>>>>>>> Otherwise store-type = file is a better option. >>>>>>>>>>> >>>>>>>>>>> In config you have given 6 smscs in smsc group. >>>>>>>>>>> >>>>>>>>>>> As you wrote in previous mail you are using 4 seasion of same >>>>>>>>>>> smsc . >>>>>>>>>>> >>>>>>>>>>> Does you are connected with 4 different port and ip of same smsc >>>>>>>>>>> or only 4 instances of same ip & port number ? >>>>>>>>>>> >>>>>>>>>>> Regards >>>>>>>>>>> Jyoti Ranjan Panda >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On 9/8/09, Jinson <[email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> Please find my conf >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> #Kannel configuration file >>>>>>>>>>>> group = core >>>>>>>>>>>> admin-port = xxxx >>>>>>>>>>>> admin-password = "xxxx" >>>>>>>>>>>> status-password = "xxxx" >>>>>>>>>>>> #admin-deny-ip = "*.*.*.*" >>>>>>>>>>>> admin-allow-ip = "127.0.0.1" >>>>>>>>>>>> smsbox-port = xxxx >>>>>>>>>>>> #wapbox-port = 13002 >>>>>>>>>>>> smsbox-port-ssl = no >>>>>>>>>>>> #box-deny-ip = "*.*.*.*" >>>>>>>>>>>> box-allow-ip = "*.*.*" >>>>>>>>>>>> #wdp-interface-name = "*" >>>>>>>>>>>> sms-resend-retry = 1 >>>>>>>>>>>> store-type = spool >>>>>>>>>>>> store-location = "/home/xxxx/kannel_queue/spool" >>>>>>>>>>>> dlr-storage = mysql >>>>>>>>>>>> log-file = "/var/log/kannel/kannel-core.log" >>>>>>>>>>>> log-level = 0 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> group = smsbox >>>>>>>>>>>> bearerbox-host = localhost >>>>>>>>>>>> smsbox-id = smsbox >>>>>>>>>>>> #bearerbox-port = 13010 >>>>>>>>>>>> sendsms-port = 14001 >>>>>>>>>>>> global-sender = 1234456 >>>>>>>>>>>> #sendsms-chars = "," >>>>>>>>>>>> access-log = "/var/log/kannel/kannel.smsbox.access-log" >>>>>>>>>>>> log-file = "/var/log/kannel/kannel.smsbox.log" >>>>>>>>>>>> log-level = 0 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> group = smsc >>>>>>>>>>>> smsc = smpp >>>>>>>>>>>> smsc-id = A >>>>>>>>>>>> allowed-smsc-id =A >>>>>>>>>>>> denied-smsc-id =B,C,D,E >>>>>>>>>>>> host = xxx.xxx.xxx.xxx >>>>>>>>>>>> port = xxxx >>>>>>>>>>>> throughput = 10 >>>>>>>>>>>> #transceiver-mode = true >>>>>>>>>>>> smsc-username = "xxxx" >>>>>>>>>>>> smsc-password = "xxxx" >>>>>>>>>>>> system-type = "xxx" >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> group = smsc >>>>>>>>>>>> smsc = smpp >>>>>>>>>>>> smsc-id = B >>>>>>>>>>>> allowed-smsc-id =B >>>>>>>>>>>> denied-smsc-id =A,C,D,E >>>>>>>>>>>> host = xxx.xxx.xxx.xxx >>>>>>>>>>>> port = xxx >>>>>>>>>>>> smsc-username = "xxxx" >>>>>>>>>>>> smsc-password = "xxxxx" >>>>>>>>>>>> system-type = 0 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> group = smsc >>>>>>>>>>>> smsc = smpp >>>>>>>>>>>> smsc-id = E >>>>>>>>>>>> allowed-smsc-id =E >>>>>>>>>>>> denied-smsc-id =A,C,D,B >>>>>>>>>>>> host = xxx.xxx.xxx.xxx >>>>>>>>>>>> port = xxxx >>>>>>>>>>>> throughput = 2 >>>>>>>>>>>> transceiver-mode = true >>>>>>>>>>>> smsc-username = "xxxxx" >>>>>>>>>>>> smsc-password = "xxxx" >>>>>>>>>>>> system-type = "" >>>>>>>>>>>> wait-ack-expire = 0x02 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> group = smsc >>>>>>>>>>>> smsc = smpp >>>>>>>>>>>> smsc-id = E >>>>>>>>>>>> allowed-smsc-id =E >>>>>>>>>>>> denied-smsc-id =A,C,D,B >>>>>>>>>>>> host = xxx.xxx.xxx.xxx >>>>>>>>>>>> port = xxxx >>>>>>>>>>>> throughput = 2 >>>>>>>>>>>> transceiver-mode = true >>>>>>>>>>>> smsc-username = "xxxxx" >>>>>>>>>>>> smsc-password = "xxxx" >>>>>>>>>>>> system-type = "" >>>>>>>>>>>> wait-ack-expire = 0x02 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> group = smsc >>>>>>>>>>>> smsc = smpp >>>>>>>>>>>> smsc-id = E >>>>>>>>>>>> allowed-smsc-id =E >>>>>>>>>>>> denied-smsc-id =A,C,D,B >>>>>>>>>>>> host = xxx.xxx.xxx.xxx >>>>>>>>>>>> port = xxxx >>>>>>>>>>>> throughput = 2 >>>>>>>>>>>> transceiver-mode = true >>>>>>>>>>>> smsc-username = "xxxxx" >>>>>>>>>>>> smsc-password = "xxxx" >>>>>>>>>>>> system-type = "" >>>>>>>>>>>> wait-ack-expire = 0x02 >>>>>>>>>>>> group = smsc >>>>>>>>>>>> smsc = smpp >>>>>>>>>>>> smsc-id = E >>>>>>>>>>>> allowed-smsc-id =E >>>>>>>>>>>> denied-smsc-id =A,C,D,B >>>>>>>>>>>> host = xxx.xxx.xxx.xxx >>>>>>>>>>>> port = xxxx >>>>>>>>>>>> throughput = 2 >>>>>>>>>>>> transceiver-mode = true >>>>>>>>>>>> smsc-username = "xxxxx" >>>>>>>>>>>> smsc-password = "xxxx" >>>>>>>>>>>> system-type = "" >>>>>>>>>>>> wait-ack-expire = 0x02 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> group = sendsms-user >>>>>>>>>>>> username = xxxx >>>>>>>>>>>> password = axxxx >>>>>>>>>>>> concatenation = true >>>>>>>>>>>> max-messages = 3 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> group = mysql-connection >>>>>>>>>>>> id = mydlr >>>>>>>>>>>> host = "xxxxx" >>>>>>>>>>>> username = xxxx >>>>>>>>>>>> password = xxxx >>>>>>>>>>>> database = xxxx >>>>>>>>>>>> max-connections = 2 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> group = dlr-db >>>>>>>>>>>> id = mydlr >>>>>>>>>>>> table = kannel_table >>>>>>>>>>>> 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 >>>>>>>>>>>> ' >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Another thing in Log >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> *2009-09-07 09:19:56 [15568] [17] DEBUG: Routing failed, >>>>>>>>>>>> re-queued.* >>>>>>>>>>>> *2009-09-07 09:19:56 [15568] [17] DEBUG: sms_router: handling >>>>>>>>>>>> message (0x7ed970 vs 0x7fdd90)* >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Thanks >>>>>>>>>>>> Jinson Abraham >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> >
