Look at the line:

2007-01-31 11:42:19 [5356] [7] ERROR: SMPP[gta]: Mallformed addr `4365',
expected at least 7 digits.

That's because the source_addr_ton and npi settings. 1 it's
international, so kannel expects at least 7 digits for the country
code, etc.

You can ask your operator to set TON=0 or upgrade to latest CVS which
has this constrain changed to a warning:

2006-11-13  Stipe Tolj  <stolj at kannel.org>
   * gw/smsc/smsc_smpp.c: relaxing the TON=1 must have >= 7 digits condition.
     According to Andreas (see reference), there can be international routable
     numbers with less then 7 digits. So we only drop a WARNING here and
     continue with processing.
     [Msg-Id: <[EMAIL PROTECTED]>]

Otherwise, you may try changing the code yourself and recompile
kannel, but I'd go for the CVS upgrade (It's quite stable, you won't
regret it).

Hope it helps,

Alejandro
On 1/30/07, Raul Martinez <[EMAIL PROTECTED]> wrote:
Alejandro Guerrieri <alejandro.guerrieri <at> gmail.com> writes:

>
> Raul,
>
> Could you paste some logfiles depicting the error?

Hello Alejandro,

This is an incoming message. Kannel version is 1.4.1

Here are the log entries (Note: source_addr and short_message has been edited):

2007-01-31 11:42:19 [5356] [7] DEBUG: SMPP PDU 0x8eab6d0 dump:
2007-01-31 11:42:19 [5356] [7] DEBUG:   type_name: deliver_sm
2007-01-31 11:42:19 [5356] [7] DEBUG:   command_id: 5 = 0x00000005
2007-01-31 11:42:19 [5356] [7] DEBUG:   command_status: 0 = 0x00000000
2007-01-31 11:42:19 [5356] [7] DEBUG:   sequence_number: 853964473 = 0x32e676b9
2007-01-31 11:42:19 [5356] [7] DEBUG:   service_type: NULL
2007-01-31 11:42:19 [5356] [7] DEBUG:   source_addr_ton: 1 = 0x00000001
2007-01-31 11:42:19 [5356] [7] DEBUG:   source_addr_npi: 1 = 0x00000001
2007-01-31 11:42:19 [5356] [7] DEBUG:   source_addr: "1XXX4880400"
2007-01-31 11:42:19 [5356] [7] DEBUG:   dest_addr_ton: 1 = 0x00000001
2007-01-31 11:42:19 [5356] [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
2007-01-31 11:42:19 [5356] [7] DEBUG:   destination_addr: "4365"
2007-01-31 11:42:19 [5356] [7] DEBUG:   esm_class: 0 = 0x00000000
2007-01-31 11:42:19 [5356] [7] DEBUG:   protocol_id: 0 = 0x00000000
2007-01-31 11:42:19 [5356] [7] DEBUG:   priority_flag: 0 = 0x00000000
2007-01-31 11:42:19 [5356] [7] DEBUG:   schedule_delivery_time: NULL
2007-01-31 11:42:19 [5356] [7] DEBUG:   validity_period: NULL
2007-01-31 11:42:19 [5356] [7] DEBUG:   registered_delivery: 0 = 0x00000000
2007-01-31 11:42:19 [5356] [7] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2007-01-31 11:42:19 [5356] [7] DEBUG:   data_coding: 0 = 0x00000000
2007-01-31 11:42:19 [5356] [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2007-01-31 11:42:19 [5356] [7] DEBUG:   sm_length: 17 = 0x00000011
2007-01-31 11:42:19 [5356] [7] DEBUG:   short_message: "xxxxxxxxxxxxxxxxx"
2007-01-31 11:42:19 [5356] [7] DEBUG: SMPP PDU dump ends.
2007-01-31 11:42:19 [5356] [7] ERROR: SMPP[gta]: Mallformed addr `4365',
expected at least 7 digits.
2007-01-31 11:42:19 [5356] [7] DEBUG: SMPP[gta]: Sending PDU:
2007-01-31 11:42:19 [5356] [7] DEBUG: SMPP PDU 0x8eab7d8 dump:
2007-01-31 11:42:19 [5356] [7] DEBUG:   type_name: deliver_sm_resp
2007-01-31 11:42:19 [5356] [7] DEBUG:   command_id: 2147483653 = 0x80000005
2007-01-31 11:42:19 [5356] [7] DEBUG:   command_status: 10 = 0x0000000a
2007-01-31 11:42:19 [5356] [7] DEBUG:   sequence_number: 853964473 = 0x32e676b9
2007-01-31 11:42:19 [5356] [7] DEBUG:   message_id: NULL
2007-01-31 11:42:19 [5356] [7] DEBUG: SMPP PDU dump ends.










--
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri

Reply via email to