Hi, I am using Kannel 1.4.1 (Debian package) with a single SMPP SMSC.
With regards to WAP push (connectionless push via POST of PAP + SI documents to the PPG, with destination of a mobile handset), are multiple recipients supported in the PAP message? This topic has partially been covered before: http://www.mail-archive.com/[email protected]/msg06372.html , but it seems that the suggested method of including multiple recipients doesn't actually work. Could anyone confirm if this is the case or if any solutions have been found? Again with WAP push, (how) is it possible to set the originating number for the messages sent on a per-message basis? The default is "1234" (as hardcoded in wap_push_ppg.c) and can be overridden by "global-sender" in the config file although this doesn't allow different originating numbers for individual messages. Is the "X-Kannel-From" header supposed to override the "global-sender" value, therefore allowing each WAP push message to appear to be sent from different senders, depending on this header value? If this is correct, I have been unable to get it to work. I've had no other problems sending WAP push messages using this setup. Below are the PAP & SI docs along with log excerpts from bearerbox and wapbox. Many thanks, -Kris PAP doc: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <pap product-name="name"> <push-message source-reference="source" push-id="21122425637307"> <address address-value="WAPPUSH=+447825387XXX/[EMAIL PROTECTED]"/> </push-message> </pap> SI doc: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <si> <indication si-id="21122425637350" href="http://wap.yahoo.com">Yahoo</indication> </si> 2007-05-16 10:52:40 [25021] [21] DEBUG: boxc_receiver: got sms from wapbox 2007-05-16 10:52:40 [25021] [21] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2007-05-16 10:52:40 [25021] [10] DEBUG: SMPP[uk]: Sending PDU: 2007-05-16 10:52:40 [25021] [10] DEBUG: SMPP PDU 0x81b9820 dump: 2007-05-16 10:52:40 [25021] [10] DEBUG: type_name: submit_sm 2007-05-16 10:52:40 [25021] [10] DEBUG: command_id: 4 = 0x00000004 2007-05-16 10:52:40 [25021] [10] DEBUG: command_status: 0 = 0x00000000 2007-05-16 10:52:40 [25021] [10] DEBUG: sequence_number: 165 = 0x000000a5 2007-05-16 10:52:40 [25021] [10] DEBUG: service_type: NULL 2007-05-16 10:52:40 [25021] [10] DEBUG: source_addr_ton: 2 = 0x00000002 2007-05-16 10:52:40 [25021] [10] DEBUG: source_addr_npi: 1 = 0x00000001 2007-05-16 10:52:40 [25021] [10] DEBUG: source_addr: "1234" 2007-05-16 10:52:40 [25021] [10] DEBUG: dest_addr_ton: 1 = 0x00000001 2007-05-16 10:52:40 [25021] [10] DEBUG: dest_addr_npi: 1 = 0x00000001 2007-05-16 10:52:40 [25021] [10] DEBUG: destination_addr: "447825387XXX" 2007-05-16 10:52:40 [25021] [10] DEBUG: esm_class: 67 = 0x00000043 2007-05-16 10:52:40 [25021] [10] DEBUG: protocol_id: 0 = 0x00000000 2007-05-16 10:52:40 [25021] [10] DEBUG: priority_flag: 0 = 0x00000000 2007-05-16 10:52:40 [25021] [10] DEBUG: schedule_delivery_time: NULL 2007-05-16 10:52:40 [25021] [10] DEBUG: validity_period: "070517095240000+" 2007-05-16 10:52:40 [25021] [10] DEBUG: registered_delivery: 1 = 0x00000001 2007-05-16 10:52:40 [25021] [10] DEBUG: replace_if_present_flag: 0 = 0x00000000 2007-05-16 10:52:40 [25021] [10] DEBUG: data_coding: 4 = 0x00000004 2007-05-16 10:52:40 [25021] [10] DEBUG: sm_default_msg_id: 0 = 0x00000000 2007-05-16 10:52:40 [25021] [10] DEBUG: sm_length: 127 = 0x0000007f 2007-05-16 10:52:40 [25021] [10] DEBUG: short_message: 2007-05-16 10:52:40 [25021] [10] DEBUG: Octet string at 0x81bc7b8: 2007-05-16 10:52:40 [25021] [10] DEBUG: len: 127 2007-05-16 10:52:40 [25021] [10] DEBUG: size: 1024 2007-05-16 10:52:40 [25021] [10] DEBUG: immutable: 0 2007-05-16 10:52:40 [25021] [10] DEBUG: data: 06 05 04 0b 84 23 f0 02 06 44 ae 58 2d 4b 61 6e .....#...D.X-Kan 2007-05-16 10:52:40 [25021] [10] DEBUG: data: 6e 65 6c 2d 46 72 6f 6d 00 34 34 37 37 38 39 33 nel-From.4477893 2007-05-16 10:52:40 [25021] [10] DEBUG: data: 30 33 30 30 30 00 a9 4a 61 76 61 2f 31 2e 35 2e 03000..Java/1.5. 2007-05-16 10:52:40 [25021] [10] DEBUG: data: 30 5f 31 30 00 80 82 80 9d 80 9e 80 06 2a 00 80 0_10.........*.. 2007-05-16 10:52:40 [25021] [10] DEBUG: data: 2e 32 00 80 05 80 80 2e 32 00 8d b1 c3 93 02 05 .2......2....... 2007-05-16 10:52:40 [25021] [10] DEBUG: data: 6a 00 45 c6 11 03 32 31 31 32 32 34 32 33 34 30 j.E...2112242340 2007-05-16 10:52:40 [25021] [10] DEBUG: data: 35 37 30 32 00 0c 03 77 61 70 2e 79 61 68 6f 6f 5702...wap.yahoo 2007-05-16 10:52:40 [25021] [10] DEBUG: data: 2e 63 6f 6d 00 01 03 59 61 68 6f 6f 00 01 01 .com...Yahoo... 2007-05-16 10:52:40 [25021] [10] DEBUG: Octet string dump ends. 2007-05-16 10:52:40 [25021] [10] DEBUG: SMPP PDU dump ends. 2007-05-16 10:52:40 [25052] [11] DEBUG: HTTP: Creating HTTPClient for `192.168.70.202'. 2007-05-16 10:52:40 [25052] [11] DEBUG: HTTP: Created HTTPClient area 0x819e920. 2007-05-16 10:52:40 [25052] [14] DEBUG: PPG: ip_allowed_by_ppg: ip found from allowed list 2007-05-16 10:52:40 [25052] [14] INFO: PPG: Accept request </wappush> from <192.168.70.202> 2007-05-16 10:52:40 [25052] [14] DEBUG: PPG: http_read_thread: pap multipart accepted 2007-05-16 10:52:40 [25052] [14] INFO: client address was <+447825387XXX>, accepted 2007-05-16 10:52:40 [25052] [14] DEBUG: PAP COMPILER: doing semantic analysis for address type a phone number 2007-05-16 10:52:40 [25052] [14] DEBUG: PAP COMPILER: network orbearer missing, reverting to GSM+SMS 2007-05-16 10:52:40 [25052] [14] INFO: reverting to default bearer and network 2007-05-16 10:52:40 [25052] [14] DEBUG: PPG: http_read_thread: pap control entity compiled ok 2007-05-16 10:52:40 [25052] [14] DEBUG: PPG: transform_message: push message content and headers valid 2007-05-16 10:52:40 [25052] [14] DEBUG: PPG: push machine 2 created 2007-05-16 10:52:40 [25052] [14] DEBUG: PPG: store_push_data: push machine 2 appended to unit push list 2007-05-16 10:52:40 [25052] [14] DEBUG: PPG: send_push_response: telling pi 2007-05-16 10:52:40 [25052] [14] DEBUG: HTTP: Resetting HTTPClient for `192.168.70.202'. 2007-05-16 10:52:40 [25052] [14] INFO: PPG: handle_push_message: push message accepted for processing 2007-05-16 10:52:40 [25052] [14] DEBUG: PPG: OTA request for unit push 2007-05-16 10:52:40 [25052] [14] INFO: PPG: unconfirmed push delivered to OTA 2007-05-16 10:52:40 [25052] [14] DEBUG: PPG: destroying push machine 2 2007-05-16 10:52:40 [25052] [9] DEBUG: OTA: event arrived 2007-05-16 10:52:40 [25052] [9] DEBUG: OTA: made connectionless session service request 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP (UNIT): event arrived 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP_UNIT: Connectionless push accepted 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `application/vnd.wap.sic', WSP 1.2 to 0x002e. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `X-Kannel-From', WSP 1.3 to 0xffffffff. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `User-Agent', WSP 1.3 to 0x0029. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `Accept', WSP 1.3 to 0x0000. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `text/html', WSP 1.2 to 0x0002. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `image/gif', WSP 1.2 to 0x001d. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `image/jpeg', WSP 1.2 to 0x001e. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `*', WSP 1.2 to 0xffffffff. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `q', WSP 1.2 to 0x0000. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `*/*', WSP 1.2 to 0x0000. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `q', WSP 1.2 to 0x0000. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `Content-Length', WSP 1.3 to 0x000d. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `Content-Type', WSP 1.3 to 0x0011. 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP: Mapping `Encoding-Version', WSP 1.3 to 0x0043. 2007-05-16 10:52:40 [25052] [2] DEBUG: WDP (wapbox): delivering 1 segments to bearerbox 2007-05-16 10:52:40 [25052] [2] DEBUG: WSP (UNIT): delivering to wdp 2007-05-16 10:52:40 [25052] [0] WARNING: Received other message than wdp/admin, ignoring! 2007-05-16 10:52:40 [25052] [10] DEBUG: HTTP: Destroying HTTPClient area 0x819e920. 2007-05-16 10:52:40 [25052] [10] DEBUG: HTTP: Destroying HTTPClient for `192.168.70.202'.
