Hi,
Can you try ppg ? it generates binary for you.
Aarno
On 4.1.2005, at 16:05, Catalin Trifu wrote:
Hi,
I try to use the code posted a while ago on this list by Alejandro Guerrieri; the request is like this:
http://*.*.*.*:13013/cgi-bin/sendsms? user=***&pass=***&from=8000&to=5685002554&udh=%06%05%04%0B%84%23%F0&tex t=%1B%06%01%AE%02%05%6A%00%45%C6%0C%03%77%77%77%2E%67%6F%6F%67%6C%65%2E %63%6F%6D%00%01%03%48%69%2C%20%74%65%73%74%69%6E%67%20%70%75%73%68%00%0 1%01
Following is the discussion between kannel and the SMSC; it looks like the wap push was
delivered as it should however the phone receives a crappy SMS, no wap push.
Any ideas would be great, Catalin
2005-01-04 11:30:52 [3248] [8] DEBUG: SMPP[telefonica-wappush]: Sending PDU:
2005-01-04 11:30:52 [3248] [8] DEBUG: SMPP PDU 0x81a5fe0 dump:
2005-01-04 11:30:52 [3248] [8] DEBUG: type_name: submit_sm
2005-01-04 11:30:52 [3248] [8] DEBUG: command_id: 4 = 0x00000004
2005-01-04 11:30:52 [3248] [8] DEBUG: command_status: 0 = 0x00000000
2005-01-04 11:30:52 [3248] [8] DEBUG: sequence_number: 2 = 0x00000002
2005-01-04 11:30:52 [3248] [8] DEBUG: service_type: NULL
2005-01-04 11:30:52 [3248] [8] DEBUG: source_addr_ton: 2 = 0x00000002
2005-01-04 11:30:52 [3248] [8] DEBUG: source_addr_npi: 1 = 0x00000001
2005-01-04 11:30:52 [3248] [8] DEBUG: source_addr: "8000"
2005-01-04 11:30:52 [3248] [8] DEBUG: dest_addr_ton: 2 = 0x00000002
2005-01-04 11:30:52 [3248] [8] DEBUG: dest_addr_npi: 1 = 0x00000001
2005-01-04 11:30:52 [3248] [8] DEBUG: destination_addr: "5685002554"
2005-01-04 11:30:52 [3248] [8] DEBUG: esm_class: 67 = 0x00000043
2005-01-04 11:30:52 [3248] [8] DEBUG: protocol_id: 0 = 0x00000000
2005-01-04 11:30:52 [3248] [8] DEBUG: priority_flag: 0 = 0x00000000
2005-01-04 11:30:52 [3248] [8] DEBUG: schedule_delivery_time: NULL
2005-01-04 11:30:52 [3248] [8] DEBUG: validity_period: NULL
2005-01-04 11:30:52 [3248] [8] DEBUG: registered_delivery: 0 = 0x00000000
2005-01-04 11:30:52 [3248] [8] DEBUG: replace_if_present_flag: 0 = 0x00000000
2005-01-04 11:30:52 [3248] [8] DEBUG: data_coding: 4 = 0x00000004
2005-01-04 11:30:52 [3248] [8] DEBUG: sm_default_msg_id: 0 = 0x00000000
2005-01-04 11:30:52 [3248] [8] DEBUG: sm_length: 55 = 0x00000037
2005-01-04 11:30:52 [3248] [8] DEBUG: short_message:
2005-01-04 11:30:52 [3248] [8] DEBUG: Octet string at 0x81a5f88:
2005-01-04 11:30:52 [3248] [8] DEBUG: len: 55
2005-01-04 11:30:52 [3248] [8] DEBUG: size: 1024
2005-01-04 11:30:52 [3248] [8] DEBUG: immutable: 0
2005-01-04 11:30:52 [3248] [8] DEBUG: data: 06 05 04 0b 84 23 f0 1b 06 01 ae 02 05 6a 00 45 .....#.......j.E
2005-01-04 11:30:52 [3248] [8] DEBUG: data: c6 0c 03 77 77 77 2e 67 6f 6f 67 6c 65 2e 63 6f ...www.google.co
2005-01-04 11:30:52 [3248] [8] DEBUG: data: 6d 00 01 03 48 69 2c 20 74 65 73 74 69 6e 67 20 m...Hi, testing
2005-01-04 11:30:52 [3248] [8] DEBUG: data: 70 75 73 68 00 01 01 push...
2005-01-04 11:30:52 [3248] [8] DEBUG: Octet string dump ends.
2005-01-04 11:30:52 [3248] [8] DEBUG: SMPP PDU dump ends.
2005-01-04 11:30:52 [3248] [8] DEBUG: SMPP[telefonica-wappush]: Got PDU:
2005-01-04 11:30:52 [3248] [8] DEBUG: SMPP PDU 0x81a5fe0 dump:
2005-01-04 11:30:52 [3248] [8] DEBUG: type_name: submit_sm_resp
2005-01-04 11:30:52 [3248] [8] DEBUG: command_id: 2147483652 = 0x80000004
2005-01-04 11:30:52 [3248] [8] DEBUG: command_status: 0 = 0x00000000
2005-01-04 11:30:52 [3248] [8] DEBUG: sequence_number: 2 = 0x00000002
2005-01-04 11:30:52 [3248] [8] DEBUG: message_id: "42ff62a"
2005-01-04 11:30:52 [3248] [8] DEBUG: SMPP PDU dump ends.
