transmitter != transceiver

basically, transceiver is a combination of transmitter and receiver.

for transmitter you need to use port = YYYYY and receiver-port = 0

in both cases (transmitter and receiver) transceiver-mode = 0

if you need transceiver-mode just force it with transceiver-mode = 1, port
= YYYYY and you can omit receiver-port (it's already the same as port
directive due transceiver being specified) or you can use both port and
receiver-port set to the same value.

2012/7/13 spameden <[email protected]>

> for receiver you need to use:
>
> port = 0
> receive-port = YYYYY
>
>
> 2012/7/13 Monchanin Eric <[email protected]>
>
>>  Hello guys,
>>
>> We are currently trying to configure Kannel in the following manner :
>>
>> 1 transmitter bind
>> 1 receiver bind
>>
>> That's one possibility our aggregator offers -
>>
>> I think we can force a "transceiver bind" using transceiver-mode, but by
>> default it seems the bind tries to establish a transmitter bind -
>> Is there a way to FORCE a bind_receiver - binding from our kannel
>> instance to the aggregator ???
>>
>>
>> Thank you !!!
>>
>> config :
>> ## SMSC SMPP Receiving Bind to MobileMessenger
>> group                   = smsc
>> smsc-id                 = MMX_MO
>> smsc                    = smpp
>> host                    = xxx.xxx.xxx.xxx
>> port                    = YYYYY
>> smsc-username           = USERNAME
>> smsc-password           = PASSWORD
>> throughput              = 100
>> system-type             = ""
>> dest-addr-ton           = 1
>> dest-addr-npi           = 1
>> source-addr-ton         = 3
>> source-addr-npi         = 0
>> allowed-smsc-id         = MMX_MO
>>
>>
>>
>> Our aggregator denies the credentials, see logs :
>>
>> 2012-07-12 13:37:45 [12026] [7] DEBUG: Connecting to <xxx.xxx.xxx.xxx>
>> 2012-07-12 13:37:45 [12026] [7] DEBUG: SMPP[MMX_MO]: Sending PDU:
>> 2012-07-12 13:37:45 [12026] [7] DEBUG: SMPP PDU 0x7f8ac4000a10 dump:
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   type_name: bind_transmitter
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   command_id: 2 = 0x00000002
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   command_status: 0 = 0x00000000
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   sequence_number: 4 = 0x00000004
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   system_id: "USERNAME"
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   password: "PASSWORD"
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   system_type: ""
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   interface_version: 52 =
>> 0x00000034
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   addr_ton: 0 = 0x00000000
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   addr_npi: 0 = 0x00000000
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   address_range: NULL
>> 2012-07-12 13:37:45 [12026] [7] DEBUG: SMPP PDU dump ends.
>> 2012-07-12 13:37:45 [12026] [7] WARNING: SMPP: PDU NULL terminated string
>> (system_id) has no NULL.
>> 2012-07-12 13:37:45 [12026] [7] DEBUG: SMPP[MMX_MO]: Got PDU:
>> 2012-07-12 13:37:45 [12026] [7] DEBUG: SMPP PDU 0x7f8ac4000a60 dump:
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   type_name: bind_transmitter_resp
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   command_id: 2147483650 =
>> 0x80000002
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   command_status: 4 = 0x00000004
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   sequence_number: 4 = 0x00000004
>> 2012-07-12 13:37:45 [12026] [7] DEBUG:   system_id: NULL
>> 2012-07-12 13:37:45 [12026] [7] DEBUG: SMPP PDU dump ends.
>> 2012-07-12 13:37:45 [12026] [7] ERROR: SMPP[MMX_MO]: SMSC rejected login
>> to transmit, code 0x00000004 (Incorrect BIND Status for given command).
>> 2012-07-12 13:37:45 [12026] [7] ERROR: SMPP[MMX_MO]: Couldn't connect to
>> SMS center (retrying in 10 seconds).
>>
>>
>> I tried forcing a transceiver,
>>
>> 2012-07-12 13:40:36 [12191] [7] DEBUG: Connecting to <xxx.xxx.xxx.xxx>
>> 2012-07-12 13:40:36 [12191] [7] DEBUG: SMPP[MMX_MO]: Sending PDU:
>> 2012-07-12 13:40:36 [12191] [7] DEBUG: SMPP PDU 0x7fcad0000a10 dump:
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   type_name: bind_transceiver
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   command_id: 9 = 0x00000009
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   command_status: 0 = 0x00000000
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   sequence_number: 3 = 0x00000003
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   system_id: "USERNAME"
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   password: "PASSWORD"
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   system_type: ""
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   interface_version: 52 =
>> 0x00000034
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   addr_ton: 0 = 0x00000000
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   addr_npi: 0 = 0x00000000
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   address_range: NULL
>> 2012-07-12 13:40:36 [12191] [7] DEBUG: SMPP PDU dump ends.
>> 2012-07-12 13:40:36 [12191] [7] WARNING: SMPP: PDU NULL terminated string
>> (system_id) has no NULL.
>> 2012-07-12 13:40:36 [12191] [7] DEBUG: SMPP[MMX_MO]: Got PDU:
>> 2012-07-12 13:40:36 [12191] [7] DEBUG: SMPP PDU 0x7fcad0000a60 dump:
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   type_name: bind_transceiver_resp
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   command_id: 2147483657 =
>> 0x80000009
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   command_status: 4 = 0x00000004
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   sequence_number: 3 = 0x00000003
>> 2012-07-12 13:40:36 [12191] [7] DEBUG:   system_id: NULL
>> 2012-07-12 13:40:36 [12191] [7] DEBUG: SMPP PDU dump ends.
>> 2012-07-12 13:40:36 [12191] [7] ERROR: SMPP[MMX_MO]: SMSC rejected login
>> to transmit, code 0x00000004 (Incorrect BIND Status for given command).
>> 2012-07-12 13:40:36 [12191] [7] ERROR: SMPP[MMX_MO]: Couldn't connect to
>> SMS center (retrying in 10 seconds).
>>
>>
>>
>>
>>
>> --
>>   Skycore LLC
>> 214 Lincoln St Suite 360
>> Allston, MA 02134  Eric Monchanin
>>   [email protected]
>> (+1) 617-314-7688  [email protected]
>> (+33) 6-22-96-71-10
>>
>
>

Reply via email to