The values should be in decimal, not binary, like this:

source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1

..or whatever your values are..

Regards,

David.


----- Original Message -----
From: "Kwok Peng Tuck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 07, 2003 10:58 AM
Subject: Re: [-] Wrong source address ton value in SMPP.


> Here's my config :
>
> group = smsc
> smsc = smpp
> smsc-id = Test
> preferred-smsc-id = Test
> #allowed-smsc-id = Test
> host = $.$.$.$
> port = ****
> transceiver-mode = true
> smsc-username = "*******"
> smsc-password = *******
> system-type = "VMA"
> interface-version = 34
> dest-addr-npi = 00000001
> dest-addr-ton = 00000001
> source-addr-npi = 00000000
> source-addr-ton = 00000101
>
> Of course I didn't submit '*' as password or port I just blanked them
> out for the list.
> I'm pretty sure 101 is five right ?
>
> David Tully wrote:
>
> >Could you email on the matching conf file?
> >
> >----- Original Message -----
> >From: "Kwok Peng Tuck" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Saturday, June 07, 2003 5:36 AM
> >Subject: [-] Wrong source address ton value in SMPP.
> >
> >
> >
> >
> >>I seem to be getting the wrong source address ton value for SMPP in
> >>
> >>
> >kannel,
> >
> >
> >>I've set it to 00000001 but  get this instead :
> >>
> >>2005-06-03 00:00:07 [7] DEBUG: SMPP[Test]: Manually forced source addr
> >>ton = 65, source add npi = 0
> >>2005-06-03 00:00:07 [7] DEBUG: SMPP[Test]: Manually forced dest addr ton
> >>= 1, dest add npi = 1
> >>2005-06-03 00:00:07 [7] DEBUG: SMPP[Test]: Sending PDU:
> >>2005-06-03 00:00:07 [7] DEBUG: SMPP PDU 0x83348f0 dump:
> >>2005-06-03 00:00:07 [7] DEBUG:   type_name: submit_sm
> >>2005-06-03 00:00:07 [7] DEBUG:   command_id: 4 = 0x00000004
> >>2005-06-03 00:00:07 [7] DEBUG:   command_status: 0 = 0x00000000
> >>2005-06-03 00:00:07 [7] DEBUG:   sequence_number: 37060 = 0x000090c4
> >>2005-06-03 00:00:07 [7] DEBUG:   service_type: NULL
> >>2005-06-03 00:00:07 [7] DEBUG:   source_addr_ton: 65 = 0x00000041
> >>2005-06-03 00:00:07 [7] DEBUG:   source_addr_npi: 0 = 0x00000000
> >>
> >>which is quite a large leap from the value 1.
> >>
> >>I'm using Kannel 1.3.1 . Any ideas anyone ?
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
>
>
>


Reply via email to