PDA

View Full Version : Intercepting OUTGOING sms's, how? -> sms_providers.dll wrapping?


Heimiko
24-10-2007, 03:19 PM
Hello all you,

I'd like to intercept outgoing SMS's sent from the SMS messaging application.
Do any of you know a good wy to do this?

I found a possibility myself, but not entirely sure that it'll work:
wrapping sms_providers.dll, all exported functions that start with "Text_":
Test_GetMessageInfo
Text_GetSize
Text_Read
Text_RecognizeMessage
Text_Send

And then, change the registry to use my own DLL for Text messages:
[HKLM\Comm\Cellular\SMS\Protocols\Text] DLL = "MyOwn.dll"

However, for my own thought up solution, there's a few snags:

1) I can't find any documentation about the function defenitions (parameters, return types, etc.) which I really do need, in order to do good wrapping.
2) the DLL needs to be signed in order to work: how??

Does anyone know of a:
1) Different solution
2) How to get my own idea on the road?

and, just to expolain what I'm trying to do:
I want to be able to send SMS through voipbuster.com from within the messaging application, because of nice system integration. I know of some already available tools to do just this, but I find them pretty cumbersome, and theirfor, not really usable.

Dean123
24-10-2007, 06:25 PM
No idea if this will work or not.
Remove the SMS center number then just read the text from the outbox/sentbox and send on from there.

Heimiko
24-10-2007, 06:35 PM
No idea if this will work or not.
Remove the SMS center number then just read the text from the outbox/sentbox and send on from there.

Doesn't seem to work. my sms still gets sent.
What does work: set sms sending method to GPRS, then it comes up with an error box that it can't send any message, and then I could pick up the unsent message from the drafts folder. But this is far less then ideal. I would prefer to use some kind of a hook or callback, instead of continuously checking a messaging folder for new messages.

geezer78
24-10-2007, 09:09 PM
i had the very same idea... only problem is i don't have any programming skills besides programming my vcr ;-) ...

i'll keep a close look on this thread

Heimiko
25-10-2007, 05:31 PM
Nobody any bright ideas?