Hi,

Is it possible to set the addr_ton and addr_npi used in the bind operation?

we configure the smpp connection with:

group = smsc
smsc-id = idsmpp
smsc = smpp
host = 1.1.1.1
port = 9100
receive-port = 9100
smsc-username = username
smsc-password = password
system-type = test
reconnect-delay = 120
enquire-link-interval = 60
source-addr-autodetect = no
source-addr-ton = 2
source-addr-npi = 18
dest-addr-npi = 18
dest-addr-ton = 2

when we start bearbox, you can see in the logs:

2006-05-03 04:13:13 [18511] [6] DEBUG: SMPP[idsmpp]: Sending PDU:
2006-05-03 04:13:13 [18511] [6] DEBUG: SMPP PDU 0x9c93770 dump:
2006-05-03 04:13:13 [18511] [6] DEBUG:   type_name: bind_transmitter
2006-05-03 04:13:13 [18511] [6] DEBUG:   command_id: 2 = 0x00000002
2006-05-03 04:13:13 [18511] [6] DEBUG:   command_status: 0 = 0x00000000
2006-05-03 04:13:13 [18511] [6] DEBUG:   sequence_number: 1 = 0x00000001
2006-05-03 04:13:13 [18511] [6] DEBUG:   system_id: "username"
2006-05-03 04:13:13 [18511] [6] DEBUG:   password: "password"
2006-05-03 04:13:13 [18511] [6] DEBUG:   system_type: "test"
2006-05-03 04:13:13 [18511] [6] DEBUG:   interface_version: 52 = 0x00000034
2006-05-03 04:13:13 [18511] [6] DEBUG:   addr_ton: 0 = 0x00000000
2006-05-03 04:13:13 [18511] [6] DEBUG:   addr_npi: 0 = 0x00000000
2006-05-03 04:13:13 [18511] [6] DEBUG:   address_range: NULL
2006-05-03 04:13:13 [18511] [6] DEBUG: SMPP PDU dump ends.
2006-05-03 04:13:13 [18511] [7] DEBUG: SMPP[idsmpp]: Sending PDU:
2006-05-03 04:13:13 [18511] [7] DEBUG: SMPP PDU 0x9c92d78 dump:
2006-05-03 04:13:13 [18511] [7] DEBUG:   type_name: bind_receiver
2006-05-03 04:13:13 [18511] [7] DEBUG:   command_id: 1 = 0x00000001
2006-05-03 04:13:13 [18511] [7] DEBUG:   command_status: 0 = 0x00000000
2006-05-03 04:13:13 [18511] [7] DEBUG:   sequence_number: 2 = 0x00000002
2006-05-03 04:13:13 [18511] [7] DEBUG:   system_id: "username"
2006-05-03 04:13:13 [18511] [7] DEBUG:   password: "password"
2006-05-03 04:13:13 [18511] [7] DEBUG:   system_type: "test"
2006-05-03 04:13:13 [18511] [7] DEBUG:   interface_version: 52 = 0x00000034
2006-05-03 04:13:13 [18511] [7] DEBUG:   addr_ton: 0 = 0x00000000
2006-05-03 04:13:13 [18511] [7] DEBUG:   addr_npi: 0 = 0x00000000
2006-05-03 04:13:13 [18511] [7] DEBUG:   address_range: NULL
2006-05-03 04:13:13 [18511] [7] DEBUG: SMPP PDU dump ends.

Thank's in advance

--
///ARENAmobile The Multimedia Mobile Company
Antoni Pàmies Olivé
Tel: +34977128446 Fax: +34977341526
Email: [EMAIL PROTECTED]
Website: www.arenamobile.com / www.smsarena.com

Reply via email to