Hi all,

How can I handle the call after I set the flag phoneEvent->acknowledge to true?
I´m trying this function. It´s called on phnEvtSubscriber event.

static int catchIncomingCall(PhnEventPtr phoneEvent)
{

TelAppID gTelAppID = NULL;
UInt8 * oLineIdP = 0;
Err err;

phoneEvent->acknowledge = false;

err = HsGetPhoneLibrary (&PhoneLibRefNum);
if( err != 0)  {
 ErrAlertCustom(0,"Error!",0,0);
 return (err);
}

err = TelSpcAcceptCall(PhoneLibRefNum, '_PS1', oLineIdP, NULL);

PhnLibClose(PhoneLibRefNum);

return err;

}

but always the error 16385 occurs . .  why?

Tks
Amilton

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to