I was reading the documentation for the CVS version and there is and option for

 

 

bind-addr-tonnumber Optional, bind address TON setting for the link. (Defaults to 0).

bind-addr-npinumber Optional, bind address NPI setting for the link. (Defaults to 0).

 

I assume this would solve my problem.

 

 

If anyone knows any workarounds for this for kannel 1.4 please let me know.

 

Thanks,

 

Cavit


From: Cavit Dolgun [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 26, 2006 14:37
To: [email protected]
Subject: RE: Kannel 1.4 ton and npi problem

 

I just received a call from the mobile operator and they told me that the problem might be because the ton and npi are not set to 1 during bind. Is there a way to send these values as 1?

 

 

By the way I have tried the values as

 

source-addr-ton = 1

source-addr-npi = 1

dest-addr-ton = 1

dest-addr-npi = 1

 

and the same problem.

 

 


From: Cavit Dolgun [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 26, 2006 14:28
To: '[email protected]'
Subject: Kannel 1.4 ton and npi problem

 

Hi,

 

I am setting up and SMPP connection to my mobile operator.

 

This is my SMSC configuration:

 

group = smsc

smsc = smpp

smsc-id = xxx

host = x.x.x.x

port = xxx

#receive-port = xxx

smsc-password = xxx

system-id = xxx

system-type = xxx

transceiver-mode = true

interface-version = 34

source-addr-ton = "1"

source-addr-npi = "1"

dest-addr-ton = "1"

dest-addr-npi = "1"

source-addr-autodetect = no

#msg-id-type = 0x01

reconnect-delay = 30

address-range = ""

 

I have set the ton and npi’s to 1 but when I check my logs I see:

 

 

2006-08-26 02:18:35 [6] DEBUG: SMPP[xxx]: Sending PDU:

2006-08-26 02:18:35 [6] DEBUG: SMPP PDU 0x8620c88 dump:

2006-08-26 02:18:35 [6] DEBUG:   type_name: bind_transceiver

2006-08-26 02:18:35 [6] DEBUG:   command_id: 9 = 0x00000009

2006-08-26 02:18:35 [6] DEBUG:   command_status: 0 = 0x00000000

2006-08-26 02:18:35 [6] DEBUG:   sequence_number: 4 = 0x00000004

2006-08-26 02:18:35 [6] DEBUG:   system_id: "xxx"

2006-08-26 02:18:35 [6] DEBUG:   password: "xxx"

2006-08-26 02:18:35 [6] DEBUG:   system_type: "xxx"

2006-08-26 02:18:35 [6] DEBUG:   interface_version: 52 = 0x00000034

2006-08-26 02:18:35 [6] DEBUG:   addr_ton: 0 = 0x00000000

2006-08-26 02:18:35 [6] DEBUG:   addr_npi: 0 = 0x00000000

2006-08-26 02:18:35 [6] DEBUG:   address_range: ""

2006-08-26 02:18:35 [6] DEBUG: SMPP PDU dump ends.

2006-08-26 02:18:35 [6] WARNING: SMPP: PDU NUL terminated string has no NUL.

2006-08-26 02:18:35 [6] DEBUG: SMPP[xxx]: Got PDU:

2006-08-26 02:18:35 [6] DEBUG: SMPP PDU 0x8620c88 dump:

2006-08-26 02:18:35 [6] DEBUG:   type_name: bind_transceiver_resp

2006-08-26 02:18:35 [6] DEBUG:   command_id: 2147483657 = 0x80000009

2006-08-26 02:18:35 [6] DEBUG:   command_status: 13 = 0x0000000d

2006-08-26 02:18:35 [6] DEBUG:   sequence_number: 4 = 0x00000004

2006-08-26 02:18:35 [6] DEBUG:   system_id: NULL

2006-08-26 02:18:35 [6] DEBUG: SMPP PDU dump ends.

2006-08-26 02:18:35 [6] ERROR: SMPP[xxx]: SMSC rejected login to transmit, code 0x0000000d.

2006-08-26 02:18:35 [6] ERROR: SMPP[xxx]: I/O error or other error. Re-connecting.

 

 

 

Am I doing something wrong in my config or is kannel not reading it properly?

 

 

 

Thanks a lot!

 

 

Regards,

 

Cavit

Reply via email to