Nikos said "1) You have a single sms-service: default By using max-messages = 0 you will never get a response from it."
Unless of course he is sending the response from in his "ServletKannelTest" .. I don't know who his aggregator is, but if a Kannel user is using mBlox you can NOT set max-messages to anything but 0, and are required to send your response message from code (Unless you patch your source to include TLV's in outgoing messages) His config, as Nikos pointed out, needs some work tho, Çağlar did you read the users guide? R 2009/8/24 Nikos Balkanas <[email protected]> > Hi, > > I can see several things wrong. But why don't you start by telling us what > you are trying to do? Also supply detailed relevant bb logs. > > Problems: > > 1) You have a single sms-service: default > By using max-messages = 0 you will never get a response from it. > > 2) In your default service you should use: > catch-all = yes > > 3) Read documentation about sendsms-chars > > 4) Skip receiver port with tranceiver mode > > 5) Skip address-range. It has issues. > > 6) Are you sure about your system-type? Usually it is "VMA". > > BR, > Nikos > > ----- Original Message ----- > *From:* Çağlar Dursun <[email protected]> > *To:* [email protected] > *Sent:* Monday, August 24, 2009 11:26 AM > *Subject:* Connection and starting issue > > Hi here is my configuration setting.I don't understand what i'm wrong. > I checked the entire mail group but I couldn't find a correct solution. > > > # Default kannel configuration file > group = core > admin-port = 13000 > admin-password = notimportant4me > status-password = notimportant4me > #admin-deny-ip = "*.*.*.*" > admin-allow-ip = "127.0.0.1" > #smsbox-port = 13001 > #wapbox-port = 13002 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > wdp-interface-name = "*" > log-file = "/var/log/kannel/bearerbox.log" > log-level = 1 > > #----------------------------------------------# > #----------------------------------------------# > # SMSC CONNECTIONS Operator (I/O Error) > group = smsc > smsc = smpp > smsc-id = Operator > #host = ip > host = "x.y.z.178" > port = 8000 > receive-port = 8000 > transceiver-mode = true > smsc-username = "whatever" > smsc-password = pwd > system-type = "GEN" > address-range = "8x91" > interface-version = "0x34" > source-addr-ton = 2 > source-addr-npi = 1 > dest-addr-ton = 1 > dest-addr-npi = 1 > log-file = "/var/log/kannel/Operator.log" > > > # SMSBOX SETUP > > group = smsbox > bearerbox-host = localhost > sendsms-port = 13013 > global-sender = 19191 > sendsms-chars = "Test Sms +-" > log-file = "/var/log/kannel/smsbox.log" > log-level = 0 > access-log = "/var/log/kannel/access.log" > > > # SEND-SMS USERS > > group = sendsms-user > username = caglar > password = testpwd > #user-deny-ip = "" > user-allow-ip = "127.0.0.1" > > # SERVICES > > group = sms-service > keyword = default > get-url = " > http://retriction.com/ServletTest/ServletKannelTest?sender=%p&text=%r&time=%t > " > assume-plain-text = true > max-messages = 0 > > > So could you tell me what I missed ?I take this error. > In fact when i check the status of kannel.I got this > > bearerbox is stopped > smsbox is stopped > > And now I can't start anymore > > > > SMPP[Operator]: I/O error or other error. Re-connecting. > 2009-08-18 15:04:03 [21470] [4] ERROR: SMPP[Operator]: Couldn't connect to > SMS center (retrying in 10 seconds). > 2009-08-18 15:04:03 [21470] [5] DEBUG: SMPP[Operator]: Got PDU: > 2009-08-18 15:04:03 [21470] [5] DEBUG: SMPP PDU 0x8cfa6b0 dump: > 2009-08-18 15:04:03 [21470] [5] DEBUG: type_name: bind_receiver_resp > 2009-08-18 15:04:03 [21470] [5] DEBUG: command_id: 2147483649 = > 0x80000001 > 2009-08-18 15:04:03 [21470] [5] DEBUG: command_status: 0 = 0x00000000 > 2009-08-18 15:04:03 [21470] [5] DEBUG: sequence_number: 51 = 0x00000033 > 2009-08-18 15:04:03 [21470] [5] DEBUG: system_id: "GPC" > 2009-08-18 15:04:03 [21470] [5] DEBUG: SMPP PDU dump ends. > 2009-08-18 15:04:05 [21470] [5] DEBUG: SMPP[Operaot]: Got PDU: > 2009-08-18 15:04:05 [21470] [5] DEBUG: SMPP PDU 0x8cfa6b0 dump: > 2009-08-18 15:04:05 [21470] [5] DEBUG: type_name: enquire_link > 2009-08-18 15:04:05 [21470] [5] DEBUG: command_id: 21 = 0x00000015 > 2009-08-18 15:04:05 [21470] [5] DEBUG: command_status: 0 = 0x00000000 > 2009-08-18 15:04:05 [21470] [5] DEBUG: sequence_number: 16993338 = > 0x01034c3a > 2009-08-18 15:04:05 [21470] [5] DEBUG: SMPP PDU dump ends. > 2009-08-18 15:04:05 [21470] [5] DEBUG: SMPP[Operaot]: Sending PDU: > 2009-08-18 15:04:05 [21470] [5] DEBUG: SMPP PDU 0x8cfa830 dump: > 2009-08-18 15:04:05 [21470] [5] DEBUG: type_name: enquire_link_resp > 2009-08-18 15:04:05 [21470] [5] DEBUG: command_id: 2147483669 = > 0x80000015 > 2009-08-18 15:04:05 [21470] [5] DEBUG: command_status: 0 = 0x00000000 > 2009-08-18 15:04:05 [21470] [5] DEBUG: sequence_number: 16993338 = > 0x01034c3a > 2009-08-18 15:04:05 [21470] [5] DEBUG: SMPP PDU dump ends. > 2009-08-18 15:04:10 [21470] [5] DEBUG: SMPP[Operaot]: Got PDU: > 2009-08-18 15:04:10 [21470] [5] DEBUG: SMPP PDU 0x8cfa6b0 dump: > 2009-08-18 15:04:10 [21470] [5] DEBUG: type_name: enquire_link > 2009-08-18 15:04:10 [21470] [5] DEBUG: command_id: 21 = 0x00000015 > 2009-08-18 15:04:10 [21470] [5] DEBUG: command_status: 0 = 0x00000000 > 2009-08-18 15:04:10 [21470] [5] DEBUG: sequence_number: 16993536 = > 0x01034d00 > 2009-08-18 15:04:10 [21470] [5] DEBUG: SMPP PDU dump ends. > 2009-08-18 15:04:10 [21470] [5] DEBUG: SMPP[Operaot]: Sending PDU: > 2009-08-18 15:04:10 [21470] [5] DEBUG: SMPP PDU 0x8cff018 dump: > 2009-08-18 15:04:10 [21470] [5] DEBUG: type_name: enquire_link_resp > 2009-08-18 15:04:10 [21470] [5] DEBUG: command_id: 2147483669 = > 0x80000015 > 2009-08-18 15:04:10 [21470] [5] DEBUG: command_status: 0 = 0x00000000 > 2009-08-18 15:04:10 [21470] [5] DEBUG: sequence_number: 16993536 = > 0x01034d00 > 2009-08-18 15:04:10 [21470] [5] DEBUG: SMPP PDU dump ends. > 2009-08-18 15:04:13 [21470] [4] DEBUG: SMPP[Operator]: Sending PDU: > 2009-08-18 15:04:13 [21470] [4] DEBUG: SMPP PDU 0x8cff018 dump: > 2009-08-18 15:04:13 [21470] [4] DEBUG: type_name: bind_transceiver > 2009-08-18 15:04:13 [21470] [4] DEBUG: command_id: 9 = 0x00000009 > 2009-08-18 15:04:13 [21470] [4] DEBUG: command_status: 0 = 0x00000000 > 2009-08-18 15:04:13 [21470] [4] DEBUG: sequence_number: 52 = 0x00000034 > 2009-08-18 15:04:13 [21470] [4] DEBUG: system_id: "Operator" > 2009-08-18 15:04:13 [21470] [4] DEBUG: password: "whateveritis" > 2009-08-18 15:04:13 [21470] [4] DEBUG: system_type: "GEN" > 2009-08-18 15:04:13 [21470] [4] DEBUG: interface_version: 82 = 0x00000052 > 2009-08-18 15:04:13 [21470] [4] DEBUG: addr_ton: 0 = 0x00000000 > 2009-08-18 15:04:13 [21470] [4] DEBUG: addr_npi: 0 = 0x00000000 > 2009-08-18 15:04:13 [21470] [4] DEBUG: address_range: "8x91" > 2009-08-18 15:04:13 [21470] [4] DEBUG: SMPP PDU dump ends. > > > >
