Rodrigo, Thanks for the suggestion but I checked the file and it is a type caused by cut&paste. I have tried the following change but also that does not anything. address-range = "^[0123456789]" This is according to the SMPP spec. The return code is another mystery as 0x000000010 is according to the spec reserved. This makes it hard to determine what the cause may be. Pieter Rodrigo A. Cremaschi wrote: Hi Pieter, It seems to be a blank line in the middle of your sms-service group veriables definition. (Just before "max-messages = 0"). Or is it a typo at cut&paste time?Regards, Rodrigo. ----- Original Message ----- From: "Pieter Natte" <[EMAIL PROTECTED]> To: "users" <users@kannel.org> Sent: Wednesday, February 02, 2005 10:29 AM Subject: MO Receiving problemDear list, we just upgraded to Kannel 1.4 from 1.2. Although the compilation and installation on Redhat 8 went smoothly we are encountering a problem with receiving MO SMS messages. For one or another reason the new version refuses to receive the incoming messages. Using the same configuration file with both versions 1.2 is working fine but 1.4 is not. Binding to transmitter and receiver and sending messages is no problem. What can be wrong? What may I have to add or change in the config file? I added already the smsbox-id and sms-route group to the 1.4 config but that did not solve the problem. Below snippets from the config file and the log file. Any help and/or suggestion is welcome. Pieter Natte CONFIG FILE group = core admin-port = 13000 smsbox-port = 13001 admin-password = xxxxxx status-password = xxxxx admin-allow-ip = "127.0.0.1" log-file = "/usr/local/smsgateway-1.4.0/logs/kannel.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "xx.xx.xx.xx" unified-prefix = "1" access-log = "/usr/local/smsgateway-1.4.0/logs/access.log" store-file = "/usr/local/smsgateway-1.4.0/logs/kannel.store" # SMSC CONNECTIONS # Prime account connect for receiving messages group = smsc smsc = smpp smsc-id = kpn-nl host = nlp.netsizeonline.com port = xxxxxxx receive-port = xxxxx smsc-username = "xxxxxxxxxxxxxxx" smsc-password = xxxxxxxxxxx system-type = "" keepalive = 5 address-range = "" enquire-link-interval=290 allowed-smsc-id = kpn-nl msg-id-type = 0x01 # SMSBOX SETUP group = smsbox smsbox-id = mobile-sms bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = "0123456789 +-" log-file = "/usr/local/smsgateway-1.4.0/logs/smsbox.log" log-level = 0 access-log = "/usr/local/smsgateway-1.4.0/logs/sms_access.log" # SMS ROUTING group = smsbox-route smsbox-id = mobile-sms smsc-ids = kpn-nl # SERVICES # there should be default always # Home-XS is defined as the default service group = sms-service keyword = default post-url = "">"http://xxxxxxxxxx.com/xxxxxxl/xxxxx/xxxxHandler?from=%p&to=%P&skey=%k&text= %r&smscid=%i&smscid_time=%t&service=%n&code=%c"max-messages = 0 name = Home-XS accepted-smsc = kpn-nl;dt-nl;ben-nl;telfort-nl;lib-nl # SEND-SMS USERS group = sendsms-user username = Home-XS password = xxxxx max-messages = 1 LOG FILE 2005-02-01 14:59:57 [12983] [9] DEBUG: SMPP[kpn-nl]: Got PDU: 2005-02-01 14:59:57 [12983] [9] DEBUG: SMPP PDU 0x819b1e0 dump: 2005-02-01 14:59:57 [12983] [9] DEBUG: type_name: deliver_sm 2005-02-01 14:59:57 [12983] [9] DEBUG: command_id: 5 = 0x00000005 2005-02-01 14:59:57 [12983] [9] DEBUG: command_status: 0 = 0x00000000 2005-02-01 14:59:57 [12983] [9] DEBUG: sequence_number: 2 = 0x00000002 2005-02-01 14:59:57 [12983] [9] DEBUG: service_type: "20408" 2005-02-01 14:59:57 [12983] [9] DEBUG: source_addr_ton: 2 = 0x00000002 2005-02-01 14:59:57 [12983] [9] DEBUG: source_addr_npi: 3 = 0x00000003 2005-02-01 14:59:57 [12983] [9] DEBUG: source_addr: "+31622660160" 2005-02-01 14:59:57 [12983] [9] DEBUG: dest_addr_ton: 2 = 0x00000002 2005-02-01 14:59:57 [12983] [9] DEBUG: dest_addr_npi: 3 = 0x00000003 2005-02-01 14:59:57 [12983] [9] DEBUG: destination_addr: "4010" 2005-02-01 14:59:57 [12983] [9] DEBUG: esm_class: 0 = 0x00000000 2005-02-01 14:59:57 [12983] [9] DEBUG: protocol_id: 0 = 0x00000000 2005-02-01 14:59:57 [12983] [9] DEBUG: priority_flag: 1 = 0x00000001 2005-02-01 14:59:57 [12983] [9] DEBUG: schedule_delivery_time: NULL 2005-02-01 14:59:57 [12983] [9] DEBUG: validity_period: NULL 2005-02-01 14:59:57 [12983] [9] DEBUG: registered_delivery: 0 = 0x00000000 2005-02-01 14:59:57 [12983] [9] DEBUG: replace_if_present_flag: 0 = 0x00000000 2005-02-01 14:59:57 [12983] [9] DEBUG: data_coding: 242 = 0x000000f2 2005-02-01 14:59:57 [12983] [9] DEBUG: sm_default_msg_id: 0 = 0x00000000 2005-02-01 14:59:57 [12983] [9] DEBUG: sm_length: 3 = 0x00000003 2005-02-01 14:59:57 [12983] [9] DEBUG: short_message: "XS5" 2005-02-01 14:59:57 [12983] [9] DEBUG: SMPP PDU dump ends. 2005-02-01 14:59:57 [12983] [9] DEBUG: SMPP[kpn-nl]: Sending PDU: 2005-02-01 14:59:57 [12983] [9] DEBUG: SMPP PDU 0x819aef8 dump: 2005-02-01 14:59:57 [12983] [9] DEBUG: type_name: deliver_sm_resp 2005-02-01 14:59:57 [12983] [9] DEBUG: command_id: 2147483653 = 0x80000005 2005-02-01 14:59:57 [12983] [9] DEBUG: command_status: 10 = 0x0000000a (This value is 0x0000000 in 1.2) 2005-02-01 14:59:57 [12983] [9] DEBUG: sequence_number: 2 = 0x00000002 2005-02-01 14:59:57 [12983] [9] DEBUG: message_id: NULL 2005-02-01 14:59:57 [12983] [9] DEBUG: SMPP PDU dump ends. |
- Re: MO Receiving problem Pieter Natte
- Re: MO Receiving problem Enver ALTIN
- Re: MO receiving problem Davy Chan