Hi Edwin,
>From what I can tell, you haven't url encoded the udh. Its supposed to have several percentage signs(%) in between the message and udh.coding is not even that important. I had the same problem till I read through this resource: http://dev.sellingsource.com/category/kannel/ Eg for WAP PUSH the udh field in the send-url is meant to be %06%05%04%0B%84%23%F0 as opposed to 0605040B8423F0 and the messages is also meant to have these percentage signs in between to encode the text. An example of my send-url part is as follows: ..to=XXXX&udh=%06%05%04%0B%84%23%F0&text=%1B%06%01%AE%02%05%6A%00%45%C6%0C%0 3%77%61%70%2E%79%61%68%6F%6F%2E%63%6F%6D%00%01%03%56%69%73%69%74%20%59%61%68 %6F%6F%21%20%6F%6E%20%79%6F%75%72%20%70%68%6F%6E%65%00%01%01&from=XXXX.. Read the resource I posted above and it might help. Rapture From: [email protected] [mailto:[email protected]] On Behalf Of Edwin Malo Sent: Wednesday, December 29, 2010 2:21 PM To: [email protected] Subject: Wap push problem 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
