/* ensure this is not a HSP profile */
MAIN_DEBUG(("HFP_CALLER_ID_IND number %s", ind->caller_info + ind->offset_number));
MAIN_DEBUG((" name %s\n", ind->caller_info + ind->offset_name));
/* Show name or number on display */
if (ind->size_name)
displayShowSimpleText((char *) ind->caller_info + ind->offset_name, 1);
/* Attempt to play caller name */
if(!AudioPromptPlayCallerName (ind->size_name, ind->caller_info + ind->offset_name))
{
/* Caller name not present or not supported, try to play number */
AudioPromptPlayCallerNumber(ind->size_number, ind->caller_info + ind->offset_number) ;
}
}