send sms AEEMOSMS_ERR_INTERNAL | developer.brewmp.com send sms AEEMOSMS_ERR_INTERNAL | developer.brewmp.com

Developer

send sms AEEMOSMS_ERR_INTERNAL

Forums:

I am using Motorola BQ50 test enabled.
If i send sms i get error in MySMSNotification function as
internal code status = AEEMOSMS_ERR_INTERNAL

void send_smsrequest(MIApp * pApp)
{
int ReturnValue;
if(ISHELL_CreateInstance(pApp->a.m_pIShell, AEECLSID_TAPI, (void**)(&pApp->m_pITAPI))!=SUCCESS)
{
pApp->m_pITAPI = NULL;
return;
}
ReturnValue = ITAPI_SendSMS(pApp->m_pITAPI, (const char *)("56161700"), (const char *)"Hello Brew",
0, (PFNSMSSTATUS)MySmsNotify, pApp);

//here i get ReturnValue = 0

static void MySmsNotify(MIApp * pApp, int16 status)
{
switch(status)
{
case AEEMOSMS_ERR_NO_ERR :
DBGPRINTF("SUCCESSfully sent");
break;
case AEEMOSMS_ERR_OUTOF_RESOURCES :
DBGPRINTF("Device is temp out of res");
break;
case AEEMOSMS_ERR_NETWORK_NOT_READY :
DBGPRINTF("Network is not reachable");
break;
case AEEMOSMS_ERR_TRANSPORT_TEMP :
DBGPRINTF("Network temporarily refused");
break;
case AEEMOSMS_ERR_TRANSPORT_PERM :
DBGPRINTF("Network rejected");
break;
case AEEMOSMS_ERR_INTERNAL :
DBGPRINTF("An internal error");
break;
default:
DBGPRINTF("unknown status");
break;
}

I change
ReturnValue = ITAPI_SendSMS(pApp->m_pITAPI, (const char *)("56161700"), (const char *)"Hello Brew",
AEECLSID_MCOUPONS, (PFNSMSSTATUS)MySmsNotify, pApp);
But still having same problem Internal error

I change
ReturnValue = ITAPI_SendSMS(pApp->m_pITAPI, (const char *)("56161700"), (const char *)"Hello Brew",
AEECLSID_MCOUPONS, (PFNSMSSTATUS)MySmsNotify, pApp);
But still having same problem Internal error

if i made phone call then it is working on device
ReturnValue = ITAPI_MakeVoiceCall(pApp->m_pITAPI, (const char *)("9373295098") , 0);
But if i send sms using ITAPI interface it is not working.

if i made phone call then it is working on device
ReturnValue = ITAPI_MakeVoiceCall(pApp->m_pITAPI, (const char *)("9373295098") , 0);
But if i send sms using ITAPI interface it is not working.