Hello, I have an SMPP connection to an SMSC which is zero padding the message id in delivery receipts. That is - the SMSC provides message_id in submit_sm_resp as say '123456789' but they are replying with '0123456789' in the message body of the deliver_sm pdu.
The Delivery receipt format example in SMPP specs suggests a size 10 C-Octet String (Decimal). So to me seems to be an acceptable response - any thoughts/comments here? I have attached small example below. Does this sound like something which could be logically catered for (ie: remove any leading zero's) or are some receiving message id's with leading zeros (hence removing would be very broken). Cheers, Alan ie: [5] DEBUG: type_name: submit_sm_resp [5] DEBUG: command_id: 2147483652 = 0x80000004 [5] DEBUG: command_status: 0 = 0x00000000 [5] DEBUG: sequence_number: 5 = 0x00000005 [5] DEBUG: message_id: "270662808" [5] DEBUG: SMPP PDU dump ends. ... later ... [6] DEBUG: short_message: [6] DEBUG: Octet string at 0x80fc808: [6] DEBUG: len: 123 [6] DEBUG: size: 124 [6] DEBUG: immutable: 0 [6] DEBUG: data: 69 64 3a 30 32 37 30 36 id:02706 [6] DEBUG: data: 36 32 38 30 38 20 73 75 62808 su ... -- Alan McNatty <[EMAIL PROTECTED]>
