Im making a phone call and sending dtmf once the user answers.
I register to listen to phnLib events via:
PhnLibRegister(g_telRefNum, myAppFileCreator, phnServiceVoice)
I then make a phone call with:
PhoneAppLaunchCmdDialPtr dialParams; //params to use when relaunching
SysUIAppSwitch(cardNo, dbID, phoneAppLaunchCmdDial, dialParams);
I set the owner on the dialParams so that they dont get freed after the
launch.
What happens is just what I want, my app shuts down but has a listener
to pick up events such as the call being answered, hung up etc. When
the call is answered I want to send dtmf. The dtmf was set before the
launch so I have now lost the dtmf string. How can I pass it?
To rephrase:
How can I pass parameters from my app before the call is made back into
the launch code memory block (usually referred to as cmdPBP)?
Any help would be greatly appreciated,
Thanks


|