Does this script work with this UDH (Siemens CX65)?

UDH FOR MSG1: 060804005D0201
UDH FOR MSG2: 060804005D0202

well, i don't really know but it appears to me that it's still the last three chars that contain the most important bits, and they're in the same order as the script i wrote is using. so like, $chars[3] is the id (in this case 5D), $chars[4] is the number of parts (2 in this case) and $chars[5] is what the current part is.

i don't really know, but as far as i can work out the first three chars are different for different phones, then there's a zero character, then the three parameters i listed above.

correct me if i'm wrong!

cheers

iain

I got this UDH from my access.log, %u will be with escape strings (%).

Ivars


Date: Sun, 16 Mar 2008 01:46:17 +1100 (EST)
From: Iain Dooley <[EMAIL PROTECTED]>
Subject: Re: inbound sms concatenation
To: seikath <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

okay, so i've fiddled around a bit and reckon i've got this working pretty
well now. i wanted to stay with release 1.4.1 so i can keep using the
freebsd package as it's easier to maintain but i needed MO concatenation.
after looking at some inbound UDH i put this script together. i've added
comments so everyone can see how it works:

http://www.workingsoftware.com.au/concatenate_mo.php.txt

hope it helps someone!

cheers

iain



Reply via email to