Hi all,
I hope someone could help me, i have some problems trying to send a wap push
message using kannel, i build the message according to the specifications and
it works with others operators but when i send exactly the same message to an
specific one the final user only receive a sms instead the wap push.
I checked with the operator and they send and receive without any problem from
others but for some reasons our message does not work. I have tried everything
but nothing seems to work, changes in kannel connection, set up the data coding
using coding=1 alt-dcs=1 mclass=1. I also try to change the way i made the
message because the operator said that only support this formats US ASCII,
UTF16, LATIN but i could not find any different solution.
At this point I don't have any idea about what could be the problem because i
tested the same wap push with other operators and it works well using the same
kannel configuration.
This is the way i build the wap push:
$text = '1B0601AE02056A0045C60C03';
$text .= bin2hex($url);
$text .= '000103';
$text .= bin2hex(utf8_encode($text));
$text .= '000101';
The message looks like
1B0601AE02056A0045C60C037777772E676F6F676C652E636F6D0001032054657374000101
Also i use the header 0605040B840000, and this is part of the smpp connection
log
DEBUG: boxc_receiver: sms received
DEBUG: send_msg: sending msg to box: <127.0.0.1>
DEBUG: throughput (0.00,0.00)
DEBUG: Manually forced source addr ton = 1, source add npi = 1
DEBUG: Manually forced dest addr ton = 1, dest add npi = 1
DEBUG: Sending PDU:
DEBUG: SMPP PDU 0x16453e0 dump:
DEBUG: type_name: submit_sm
DEBUG: command_id: 4 = 0x00000004
DEBUG: command_status: 0 = 0x00000000
DEBUG: sequence_number: 161 = 0x000000a1
DEBUG: service_type: NULL
DEBUG: source_addr_ton: 1 = 0x00000001
DEBUG: source_addr_npi: 1 = 0x00000001
DEBUG: source_addr: "xxxx"
DEBUG: dest_addr_ton: 1 = 0x00000001
DEBUG: dest_addr_npi: 1 = 0x00000001
DEBUG: destination_addr: "xxxxxxxxxxx"
DEBUG: esm_class: 67 = 0x00000043
DEBUG: protocol_id: 0 = 0x00000000
DEBUG: priority_flag: 1 = 0x00000001
DEBUG: schedule_delivery_time: NULL
DEBUG: validity_period: NULL
DEBUG: registered_delivery: 1 = 0x00000001
DEBUG: replace_if_present_flag: 0 = 0x00000000
DEBUG: data_coding: 4 = 0x00000004
DEBUG: sm_default_msg_id: 0 = 0x00000000
DEBUG: sm_length: 75 = 0x0000004b
DEBUG: short_message:
DEBUG: Octet string at 0x1645380:
DEBUG: len: 75
DEBUG: size: 1024
DEBUG: immutable: 0
I hope this information could help to find any possible problem, thanks in
advance.
Edwin