Hi,

as far as I know higate require some TLVs to be defined and sent. Please check 
their API and configure SMPP
appropriate.

Thanks,
Alex

Am 07.07.2012 um 01:00 schrieb Emmanuel CHANSON:

> Thanks for your reply
> 
> Yes I can see the line:
> DEBUG:   message_id: NULL but in submit_sm_resp
> so I thought the warning is about the missing "message_id = NULL" presence in 
> submit_sm ?
> 
> BTW what mean and for what is used this ? stg to make the submit_response 
> come back with an id or not ?
> I guess this is required for DLR ?
> How to make it return an id ?
> 
> And how to force it to NULL in submit_sm ?
> 
> I would like to remove this warning so that provider wont take this warning 
> as THE problem and we focus on the system_error problem
> 
> Regards,
> 
> Emmanuel
> 
> 2012/7/7 Rene Kluwen <rene.klu...@chimit.nl>
> Weird… according to your logs, message_id HAS a null.
> 
> Nonetheless the system error (8) is a different issue.
> 
>  
> 
> From: Emmanuel CHANSON [mailto:emmanuelchan...@gmail.com] 
> Sent: Saturday, 07 July, 2012 00:36
> To: Rene Kluwen
> Cc: users
> Subject: Re: SMPP and system_error
> 
>  
> 
> Hello,
> 
> Do you have any clue on how to resolve this warning ?
> WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL.
> 
> Regards
> 
> 2012/7/6 Emmanuel CHANSON <emmanuelchan...@gmail.com>
> 
> Thanks Rene for your help,
> 
> Higate support reply me this about this error:
> 
> 
> WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL.
> 
> Please note that this is not a warning but an error, it is not an higate 
> error but the SMPP protocol error, if you do not null terminate the tlv's 
> within SMPP the higate system might kick it.
> 
> What does it mean ?
> 
> Regards,
> 
> Emmanuel
> 
>  
> 
> 2012/7/4 Rene Kluwen <rene.klu...@chimit.nl>
> 
> The best you can do is ask your provider what it means.
> 
> They are giving this error.
> 
>  
> 
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
> Emmanuel CHANSON
> Sent: Tuesday, 03 July, 2012 22:39
> To: users
> Subject: SMPP and system_error
> 
>  
> 
> Hello,
> 
> Trying to connect to a Mobile Aggregator through SMPP I got this error:
> 
> SMSC returned error code 0x00000008 (System Error) in response to submit_sm.
> 
> Also this:
> WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 
> but I guess this is not the real problem but how to handle this also ?
> 
> Kannel.conf:#SMSC SMPP
> group=smsc
> smsc=smpp
> smsc-id=higate
> interface-version=34
> host=**********
> port=2775
> system-id = ****
> smsc-username = ****
> smsc-password=****
> system-type****
> transceiver-mode=1
> #source-addr-autodetect = false
> #address-range = ""
> source-addr-ton = 1
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> bind-addr-ton = 1
> bind-addr-npi = 1
> #msg-id-type = 0x01
> log-file = "/var/log/kannel/smsc-smpp.log"
> log-level = 0
> 
> 
> ==> /var/log/kannel/smsc-smpp.log <==
> 2012-07-04 08:02:20 [26432] [7] DEBUG: SMPP[higate]: throughput (0.00,0.00)
> 2012-07-04 08:02:20 [26432] [7] DEBUG: SMPP[higate]: Manually forced source 
> addr ton = 1, source add npi = 1
> 2012-07-04 08:02:20 [26432] [7] DEBUG: SMPP[higate]: Manually forced dest 
> addr ton = 1, dest add npi = 1
> 2012-07-04 08:02:20 [26432] [7] DEBUG: SMPP[higate]: Sending PDU:
> 2012-07-04 08:02:20 [26432] [7] DEBUG: SMPP PDU 0x7fb69c000a10 dump:
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   type_name: submit_sm
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   command_id: 4 = 0x00000004
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   command_status: 0 = 0x00000000
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   sequence_number: 2 = 0x00000002
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   service_type: NULL
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   source_addr: "2034"
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   destination_addr: "254724886107"
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   esm_class: 3 = 0x00000003
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   protocol_id: 0 = 0x00000000
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   priority_flag: 0 = 0x00000000
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   schedule_delivery_time: NULL
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   validity_period: NULL
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   registered_delivery: 0 = 0x00000000
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   replace_if_present_flag: 0 = 
> 0x00000000
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   data_coding: 0 = 0x00000000
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   sm_length: 6 = 0x00000006
> 2012-07-04 08:02:20 [26432] [7] DEBUG:   short_message:
> 2012-07-04 08:02:20 [26432] [7] DEBUG:    Octet string at 0x7fb69c000c20:
> 2012-07-04 08:02:20 [26432] [7] DEBUG:      len:  6
> 2012-07-04 08:02:20 [26432] [7] DEBUG:      size: 7
> 2012-07-04 08:02:20 [26432] [7] DEBUG:      immutable: 0
> 2012-07-04 08:02:20 [26432] [7] DEBUG:      data: 74 65 73 74 11 36           
>                       test.6
> 2012-07-04 08:02:20 [26432] [7] DEBUG:    Octet string dump ends.
> 2012-07-04 08:02:20 [26432] [7] DEBUG: SMPP PDU dump ends.
> 
> ==> /var/log/kannel/smsbox.log <==
> 2012-07-04 08:02:20 [26450] [0] DEBUG: Got ACK (0) of 
> d02fc166-e8a5-42a1-9e97-d59d1c9d2e0a
> 2012-07-04 08:02:20 [26450] [0] DEBUG: HTTP: Destroying HTTPClient area 
> 0x7fda70000ad0.
> 2012-07-04 08:02:20 [26450] [0] DEBUG: HTTP: Destroying HTTPClient for 
> `127.0.0.1'.
> 
> ==> /var/log/kannel/smsc-smpp.log <==
> 2012-07-04 08:02:20 [26432] [7] DEBUG: SMPP[higate]: throughput (1.00,0.00)
> 
> 
> ==> /var/log/kannel/smsc-smpp.log <==
> 2012-07-04 08:02:21 [26432] [7] DEBUG: SMPP[higate]: throughput (0.00,0.00)
> 2012-07-04 08:02:21 [26432] [7] WARNING: SMPP: PDU NULL terminated string 
> (message_id) has no NULL.
> 2012-07-04 08:02:21 [26432] [7] DEBUG: SMPP[higate]: Got PDU:
> 2012-07-04 08:02:21 [26432] [7] DEBUG: SMPP PDU 0x7fb69c001610 dump:
> 2012-07-04 08:02:21 [26432] [7] DEBUG:   type_name: submit_sm_resp
> 2012-07-04 08:02:21 [26432] [7] DEBUG:   command_id: 2147483652 = 0x80000004
> 2012-07-04 08:02:21 [26432] [7] DEBUG:   command_status: 8 = 0x00000008
> 2012-07-04 08:02:21 [26432] [7] DEBUG:   sequence_number: 2 = 0x00000002
> 2012-07-04 08:02:21 [26432] [7] DEBUG:   message_id: NULL
> 2012-07-04 08:02:21 [26432] [7] DEBUG: SMPP PDU dump ends.
> 2012-07-04 08:02:21 [26432] [7] ERROR: SMPP[higate]: SMSC returned error code 
> 0x00000008 (System Error) in response to submit_sm.
> 2012-07-04 08:02:21 [26432] [7] DEBUG: SMPP[higate]: throughput (0.00,0.00)
> 
>  
> 
>  
> 
> 

Reply via email to