[Windows Mobile Development and Hacking General] sn00x:
Hi,

at the moment I am using a dualsim adapter to always call/sms/surf at the lowest possible rate.

I've got two contracts that I use on my pda (well, actually I'm using three at all):

o2 Genion Online (Old terms):

19 Cent / Minute in every german Network

100 free SMS, afterwards 19 Cent / SMS

200 MB free Data Volume

Forward calls to phones in o2 Network free of charge

debitel crash5 (in o2 Network):

5 Cent (!) / Minute in every german Network

20 Cent / SMS

No Data Option available

o2 Genion Card (Old terms):

Reachable through landline telephone number when in homezone

Forward calls to phones in o2 Network free of charge

I listed only the facts that are important for my intention.

My current configuration is:

An old C25 (contract 3) is deposed at home and thus is available under the landline telephone number all the time. Every incoming call is forwarded to contract 1 free of charge - So I'm reachable under a landline telephone number wherever I am in Germany.

Contract 1 is only used for GPRS and SMS - I'm switching to the card when I need it. If the card is unused, every call is forwarded to contract 2 free of charge.

Whenever I don't activly use a data connection contract 2 is active, because then I can be called under every number from each contract without a charge for me and can make outgoing calls at the lowest cost.

I'm not completely happy with this configuration as I can't use direct-push, a stock-ticker or messanger in background, cause there's no Data Option available for contract 2. I own a currently unused TyTN with a broken screen (Wrong colors and sometimes it doesn't react on input) so I thought about how to combine all the advantages of the contracts with it's help and ended up with two possibilities:

Active card in my pda is contract 1. The TyTN (contract 2) is deposed at home and forwards sms to contract 1 (There are plenty of tools available). Somehow it is integrated as a phone in an Asterisk running on my Router at home (FritzBox). Asterisk then forwards incoming GSM calls over VoIP to the landline number of contract 3. To make use of contract 2's cheap calling rates Asterisk is additionally configured as a callback service, that calls me back on the landline phonenumber over VoIP and establishes the second call over the TyTN when calling a mobile phone (and over VoIP if calling a landline number) - using a landline VoIP-Flat that would result in free landline calls and 5 Cent/Min mobile calls.

My problem here is that Asterisk doesn't support GSM-Modems in it's base features. How do I integrate the TyTN as a regular phone in Asterisk so that it can be used for incoming and outgoing calls by Asterisk?

Active card in my pda is contract 1. The TyTN (contract 2) is deposed at home and forwards sms to contract 1 (There are plenty of tools available). Set up an VoIP-Client on the TyTN and find an app that's capable of forwarding incoming calls from every number except contract 1's over VoIP to the landline number of contract 3 resulting in a free of charge forward of calls to my pda. If the calling number is contract 1's: hang up, call me back on the landline number through VoIP and initiate the second call over GSM -> same costs for callback as possibility one, except for landline calls that also costs 5 Cent/Min.

Do you know an app that's capable of such functions?

(If the app could also use VoIP for the second call when the destination is a landline number that would be great)

On my pda I would use Callback-Pocket-PC to not even worry about how to initiate calls.

Thank you for reading my long text. I hope I made clear enough what I am trying to do.

Do you have any idea on how to realize either possibility 1 or 2? Is there perhaps another way that I didn't thought of?

Thanks in advance!