Perhaps you should try PPG ? Then you need not to worry with binary fields, and and working
binary fields benefits everybody.

Aarno

On 16 Nov 2005, at 17:54, Juan Nin wrote:

Hi!

I got Wap Push working fine using Alejandro Guerrieri's way of sending through sendsms.

Now I'm connecting with a new telco which uses ESM_CLASS 0 (ESM_CLASS_SUBMIT_DEFAULT_SMSC_MODE).

I compiled Kannel to use that mode as default, but Wap Push doesn't work... normal SMS work fine, but when I send a Wap Push the phone receives garbage...

I tried with the default Kannel (using ESM_CLASS_SUBMIT_STORE_AND_FORWARD_MODE), with the compiled one using ESM_CLASS_SUBMIT_DEFAULT_SMSC_MODE and even with a Kannel patched with Enver's smpp-esmclass-submissionmode patch and same happens with all of them... SMS work fine, but Wap Push doesn't...

The Telco tells me that when they receive Wap Pushes from other providers ESM_CLASS is 0, but on my dumps and theirs it appears as 64 when sending Wap Push...

What can the problem be??

Thanks in advance,

Juan

Here's a dump:

2005-11-16 11:20:48 [18283] [6] DEBUG: SMPP[sc-2-1]: Sending enquire link:
2005-11-16 11:20:48 [18283] [6] DEBUG: SMPP PDU 0x819c4e8 dump:
2005-11-16 11:20:48 [18283] [6] DEBUG:   type_name: enquire_link
2005-11-16 11:20:48 [18283] [6] DEBUG:   command_id: 21 = 0x00000015
2005-11-16 11:20:48 [18283] [6] DEBUG: command_status: 0 = 0x00000000 2005-11-16 11:20:48 [18283] [6] DEBUG: sequence_number: 2 = 0x00000002
2005-11-16 11:20:48 [18283] [6] DEBUG: SMPP PDU dump ends.
2005-11-16 11:20:49 [18283] [6] DEBUG: SMPP[sc-2-1]: Got PDU:
2005-11-16 11:20:49 [18283] [6] DEBUG: SMPP PDU 0x819c500 dump:
2005-11-16 11:20:49 [18283] [6] DEBUG:   type_name: enquire_link_resp
2005-11-16 11:20:49 [18283] [6] DEBUG: command_id: 2147483669 = 0x80000015 2005-11-16 11:20:49 [18283] [6] DEBUG: command_status: 0 = 0x00000000 2005-11-16 11:20:49 [18283] [6] DEBUG: sequence_number: 2 = 0x00000002
2005-11-16 11:20:49 [18283] [6] DEBUG: SMPP PDU dump ends.
2005-11-16 11:20:51 [18283] [6] DEBUG: SMPP[sc-2-1]: Manually forced source addr ton = 1, source add npi = 1 2005-11-16 11:20:51 [18283] [6] DEBUG: SMPP[sc-2-1]: Manually forced dest addr ton = 2, dest add npi = 1
2005-11-16 11:20:51 [18283] [6] DEBUG: SMPP[sc-2-1]: Sending PDU:
2005-11-16 11:20:51 [18283] [6] DEBUG: SMPP PDU 0x819c5c0 dump:
2005-11-16 11:20:51 [18283] [6] DEBUG:   type_name: submit_sm
2005-11-16 11:20:51 [18283] [6] DEBUG:   command_id: 4 = 0x00000004
2005-11-16 11:20:51 [18283] [6] DEBUG: command_status: 0 = 0x00000000 2005-11-16 11:20:51 [18283] [6] DEBUG: sequence_number: 3 = 0x00000003
2005-11-16 11:20:51 [18283] [6] DEBUG:   service_type: NULL
2005-11-16 11:20:51 [18283] [6] DEBUG: source_addr_ton: 1 = 0x00000001 2005-11-16 11:20:51 [18283] [6] DEBUG: source_addr_npi: 1 = 0x00000001
2005-11-16 11:20:51 [18283] [6] DEBUG:   source_addr: "1234"
2005-11-16 11:20:51 [18283] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2005-11-16 11:20:51 [18283] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2005-11-16 11:20:51 [18283] [6] DEBUG: destination_addr: "1234567890"
2005-11-16 11:20:51 [18283] [6] DEBUG:   esm_class: 64 = 0x00000040
2005-11-16 11:20:51 [18283] [6] DEBUG:   protocol_id: 0 = 0x00000000
2005-11-16 11:20:51 [18283] [6] DEBUG:   priority_flag: 0 = 0x00000000
2005-11-16 11:20:51 [18283] [6] DEBUG:   schedule_delivery_time: NULL
2005-11-16 11:20:51 [18283] [6] DEBUG:   validity_period: NULL
2005-11-16 11:20:51 [18283] [6] DEBUG: registered_delivery: 0 = 0x00000000 2005-11-16 11:20:51 [18283] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000
2005-11-16 11:20:51 [18283] [6] DEBUG:   data_coding: 4 = 0x00000004
2005-11-16 11:20:51 [18283] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
2005-11-16 11:20:51 [18283] [6] DEBUG:   sm_length: 45 = 0x0000002d
2005-11-16 11:20:51 [18283] [6] DEBUG:   short_message:
2005-11-16 11:20:51 [18283] [6] DEBUG:    Octet string at 0x819d2b8:
2005-11-16 11:20:51 [18283] [6] DEBUG:      len:  45
2005-11-16 11:20:51 [18283] [6] DEBUG:      size: 1024
2005-11-16 11:20:51 [18283] [6] DEBUG:      immutable: 0
2005-11-16 11:20:51 [18283] [6] DEBUG: data: 06 05 04 0b 84 23 f0 1b 06 01 ae 02 05 6a 00 45 .....#.......j.E 2005-11-16 11:20:51 [18283] [6] DEBUG: data: c6 0c 03 77 61 70 2e 67 6f 6f 67 6c 65 2e 63 6f ...wap.google.co 2005-11-16 11:20:51 [18283] [6] DEBUG: data: 6d 00 01 03 54 65 73 74 20 32 00 01 01 m...Test 2...
2005-11-16 11:20:51 [18283] [6] DEBUG:    Octet string dump ends.
2005-11-16 11:20:51 [18283] [6] DEBUG: SMPP PDU dump ends.
2005-11-16 11:20:51 [18283] [6] DEBUG: SMPP[sc-2-1]: Got PDU:
2005-11-16 11:20:51 [18283] [6] DEBUG: SMPP PDU 0x819c560 dump:
2005-11-16 11:20:51 [18283] [6] DEBUG:   type_name: submit_sm_resp
2005-11-16 11:20:51 [18283] [6] DEBUG: command_id: 2147483652 = 0x80000004 2005-11-16 11:20:51 [18283] [6] DEBUG: command_status: 0 = 0x00000000 2005-11-16 11:20:51 [18283] [6] DEBUG: sequence_number: 3 = 0x00000003
2005-11-16 11:20:51 [18283] [6] DEBUG:   message_id: "Smsc2018"
2005-11-16 11:20:51 [18283] [6] DEBUG: SMPP PDU dump ends.
2005-11-16 11:21:18 [18283] [6] DEBUG: SMPP[sc-2-1]: Sending enquire link:
2005-11-16 11:21:18 [18283] [6] DEBUG: SMPP PDU 0x819c560 dump:
2005-11-16 11:21:18 [18283] [6] DEBUG:   type_name: enquire_link
2005-11-16 11:21:18 [18283] [6] DEBUG:   command_id: 21 = 0x00000015
2005-11-16 11:21:18 [18283] [6] DEBUG: command_status: 0 = 0x00000000 2005-11-16 11:21:18 [18283] [6] DEBUG: sequence_number: 4 = 0x00000004
2005-11-16 11:21:18 [18283] [6] DEBUG: SMPP PDU dump ends.
2005-11-16 11:21:18 [18283] [6] DEBUG: SMPP[sc-2-1]: Got PDU:
2005-11-16 11:21:18 [18283] [6] DEBUG: SMPP PDU 0x819c550 dump:
2005-11-16 11:21:18 [18283] [6] DEBUG:   type_name: enquire_link_resp
2005-11-16 11:21:18 [18283] [6] DEBUG: command_id: 2147483669 = 0x80000015 2005-11-16 11:21:18 [18283] [6] DEBUG: command_status: 0 = 0x00000000 2005-11-16 11:21:18 [18283] [6] DEBUG: sequence_number: 4 = 0x00000004
2005-11-16 11:21:18 [18283] [6] DEBUG: SMPP PDU dump ends.





Reply via email to