Hi guys,

For those who have this kind of problem the simple soultion is

omit-empty = true



On Tue, Dec 8, 2009 at 2:32 PM, Elton Hoxha <[email protected]> wrote:

> Hi guys,
>
> I`m facing some problem when I submit using TLV parameter for ussd
> operation.
> I`m using  cvs-20091124
>
> I`m sending an MO request and then sms is submitted using sendsms interface
> with meta-data parameter included. After the first successful submit,
> another submit is generated automatically.
>
> Anyone can help?
> Thanks
>
>
> 2009-12-03 17:08:31 [13584] [6] DEBUG: SMPP PDU 0x8718f20 dump:
> 2009-12-03 17:08:31 [13584] [6] DEBUG:   type_name: enquire_link
> 2009-12-03 17:08:31 [13584] [6] DEBUG:   command_id: 21 = 0x00000015
> 2009-12-03 17:08:31 [13584] [6] DEBUG:   command_status: 0 = 0x00000000
> 2009-12-03 17:08:31 [13584] [6] DEBUG:   sequence_number: 2 = 0x00000002
> 2009-12-03 17:08:31 [13584] [6] DEBUG: SMPP PDU dump ends.
> 2009-12-03 17:08:31 [13584] [6] DEBUG: SMPP[test]: throughput (0.00,0.00)
> 2009-12-03 17:08:31 [13584] [6] DEBUG: SMPP[test]: throughput (0.00,0.00)
> 2009-12-03 17:08:31 [13584] [6] DEBUG: SMPP[test]: Got PDU:
> 2009-12-03 17:08:31 [13584] [6] DEBUG: SMPP PDU 0x8718f38 dump:
> 2009-12-03 17:08:31 [13584] [6] DEBUG:   type_name: enquire_link_resp
> 2009-12-03 17:08:31 [13584] [6] DEBUG:   command_id: 2147483669 =
> 0x80000015
> 2009-12-03 17:08:31 [13584] [6] DEBUG:   command_status: 0 = 0x00000000
> 2009-12-03 17:08:31 [13584] [6] DEBUG:   sequence_number: 2 = 0x00000002
> 2009-12-03 17:08:31 [13584] [6] DEBUG: SMPP PDU dump ends.
> 2009-12-03 17:08:31 [13584] [6] DEBUG: SMPP[test]: throughput (0.00,0.00)
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP[test]: throughput (0.00,0.00)
> 2009-12-03 17:08:41 [13584] [6] DEBUG: Optional parameter tag (0x0501)
> 2009-12-03 17:08:41 [13584] [6] DEBUG: Optional parameter length read as 1
> 2009-12-03 17:08:41 [13584] [6] DEBUG: Found configured optional parameter
> `mydata'
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP[test]: Got PDU:
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP PDU 0x8718f78 dump:
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   type_name: deliver_sm
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   command_id: 5 = 0x00000005
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   command_status: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sequence_number: 10 = 0x0000000a
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   service_type: "USSD"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   source_addr: "355672118168"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   destination_addr: "200"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   esm_class: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   schedule_delivery_time: NULL
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   validity_period: NULL
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   registered_delivery: 0 =
> 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   replace_if_present_flag: 0 =
> 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   data_coding: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sm_length: 5 = 0x00000005
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   short_message: "*200#"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   mydata: "1"
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP PDU dump ends.
> 2009-12-03 17:08:41 [13584] [6] WARNING: SMPP[test]: Mallformed addr `200',
> generally expected at least 7 digits.
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP[test]: Sending PDU:
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP PDU 0x871a0c0 dump:
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   type_name: deliver_sm_resp
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   command_id: 2147483653 =
> 0x80000005
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   command_status: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sequence_number: 10 = 0x0000000a
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   message_id: NULL
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP PDU dump ends.
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP[test]: throughput (0.00,0.00)
> 2009-12-03 17:08:41 [13584] [10] DEBUG: send_msg: sending msg to box:
> <10.1.21.187>
> 2009-12-03 17:08:41 [13584] [10] DEBUG: boxc_sender: sent message to
> <10.1.21.187>
> 2009-12-03 17:08:41 [13584] [9] DEBUG: boxc_receiver: got ack
> 2009-12-03 17:08:41 [13584] [9] DEBUG: boxc_receiver: sms received
> 2009-12-03 17:08:41 [13584] [9] DEBUG: send_msg: sending msg to box:
> <10.1.21.187>
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP[test]: throughput (0.00,0.00)
> 2009-12-03 17:08:41 [13584] [6] DEBUG: new group created `smpp'
> 2009-12-03 17:08:41 [13584] [6] DEBUG: group=`smpp' key=`mydata' value=`2'
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP[test]: Sending PDU:
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP PDU 0x8716898 dump:
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   type_name: submit_sm
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   command_id: 4 = 0x00000004
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   command_status: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sequence_number: 3 = 0x00000003
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   service_type: "USSD"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   source_addr_ton: 2 = 0x00000002
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   source_addr: "200"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   destination_addr: "355672118168"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   esm_class: 3 = 0x00000003
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   schedule_delivery_time: NULL
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   validity_period: NULL
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   registered_delivery: 0 =
> 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   replace_if_present_flag: 0 =
> 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   data_coding: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sm_length: 26 = 0x0000001a
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   short_message:
> 2009-12-03 17:08:41 [13584] [6] DEBUG:    Octet string at 0x8719f50:
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      len:  26
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      size: 27
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      immutable: 0
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      data: 4d 61 69 6e 4d 65 6e 75
> 0a 31 2e 74 69 72 61 6e   MainMenu.1.tiran
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      data: 61 0a 32 2e 64 75 72 72
> 65 73                     a.2.durres
> 2009-12-03 17:08:41 [13584] [6] DEBUG:    Octet string dump ends.
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   mydata: "2"
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP PDU dump ends.
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP[test]: throughput (1.00,0.00)
> 2009-12-03 17:08:41 [13584] [9] DEBUG: boxc_receiver: sms received
> 2009-12-03 17:08:41 [13584] [9] DEBUG: send_msg: sending msg to box:
> <10.1.21.187>
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP[test]: throughput (1.00,0.00)
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP[test]: Sending PDU:
> 2009-12-03 17:08:41 [13584] [6] DEBUG: SMPP PDU 0x8715490 dump:
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   type_name: submit_sm
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   command_id: 4 = 0x00000004
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   command_status: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sequence_number: 4 = 0x00000004
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   service_type: "USSD"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   source_addr: "200"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   destination_addr: "355672118168"
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   esm_class: 3 = 0x00000003
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   schedule_delivery_time: NULL
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   validity_period: NULL
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   registered_delivery: 0 =
> 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   replace_if_present_flag: 0 =
> 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   data_coding: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   sm_length: 35 = 0x00000023
> 2009-12-03 17:08:41 [13584] [6] DEBUG:   short_message:
> 2009-12-03 17:08:41 [13584] [6] DEBUG:    Octet string at 0x871a028:
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      len:  35
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      size: 36
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      immutable: 0
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      data: 3c 45 6d 70 74 79 20 72
> 65 70 6c 79 20 66 72 6f   <Empty reply fro
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      data: 6d 20 73 65 72 76 69 63
> 65 20 70 72 6f 76 69 64   m service provid
> 2009-12-03 17:08:41 [13584] [6] DEBUG:      data: 65 72
> 3e                                          er>
> 2009-12-03 17:08:41 [13584] [6] DEBUG:    Octet string dump ends.
>
>

Reply via email to