Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Greetings!

I want to know, does BREW give any functionality to prevent sending of message from device? Or, is there any notification for this? [Edit: I've tried to search for this on forums here but was unable to find any direct answer]

Thanks for your reading time..

No you can't. You can get tapi status change notification as below but there is no way to decide about outgoing SMS.
Register for tapi status change using NMASK_TAPI_STATUS (notifier class: AEECLSID_TAPI) using MIF or ISHELL_RegisterNotify.
case EVT_NOTIFY:
{
AEENotify* pNotify = (AEENotify*) dwParam;
if ((pNotify!=NULL) && (pNotify->cls == AEECLSID_TAPI))
{
if ( pNotify->dwMask == NMASK_TAPI_STATUS )
{
TAPIStatus* ptpst = (TAPIStatus*) pNotify->pData;
if (ptpst->state == PS_ORIG
{
//ICALL_End to block the call.

return TRUE;

No you can't. You can get tapi status change notification as below but there is no way to decide about outgoing SMS.
Register for tapi status change using NMASK_TAPI_STATUS (notifier class: AEECLSID_TAPI) using MIF or ISHELL_RegisterNotify.
case EVT_NOTIFY:
{
AEENotify* pNotify = (AEENotify*) dwParam;
if ((pNotify!=NULL) && (pNotify->cls == AEECLSID_TAPI))
{
if ( pNotify->dwMask == NMASK_TAPI_STATUS )
{
TAPIStatus* ptpst = (TAPIStatus*) pNotify->pData;
if (ptpst->state == PS_ORIG
{
//ICALL_End to block the call.

return TRUE;