A mate pulled a quality prank on me the other day by sending me a SMS via a Spoofed number. He's bought a SMS gateway and can set the message ID/phone number to be 'God' (or whatever he wants(letters or numbers)). I wanted to see if i could determine the original SMS gateway that it came from, I vaguely remember this used to be possible with Nokia phones several years ago.
I found this:
How to get the SMSC set in the iPhone? In the iPhone keypad and type *#5005*7672# Press Call Which told me my network carrier SMSC (which was not helpful)
*#5005*78283# This dumps a baseband log in /Library/Logs/Baseband/
Which I couldn't find the dump from (sites suggest looking in App-data folders on Windows machines when iTunes syncs the info.
I figure if I know the SMSC/SMS Gateway number its come from I can tell if its been sent via a legit carrier or sent via a dodgy 3rd party one.
Are there any other ways (that don't involve requesting the telco/ISP) to trace or find information about a message that you've received on your phone? Specifically I'm using an iPhone but I have access to a wide range of other phones.