h324SetupCall

Informs the H.324M Middleware that it can begin H.245 negotiations when it is ready. This usually occurs when PMSYNC stops, indicating that the local and remote multiplexers are synchronized. For more information, see Setting up a 3G-324M session.

Prototype

DWORD h324SetupCall ( MSPHD msphd)

Argument

Description

msphd

MSPP handle associated with the MUX.

Return values

Return value

Description

SUCCESS

 

CTAERR_NOT_FOUND

msphd was not found. Either h324Start was not called or h324Delete was called.

H324ERR_INTERNAL_ERROR

Internal error in the H.324M Middleware.

H324ERR_MUTEX_LOCK_FAILED

Internal error trying to lock mutex.

H324ERR_NOT_INITIALIZED

h324Initialize was not called first.

Events

Event

Description

H324EVN_MEDIA_SETUP_DONE

H.245 negotiations completed

Example

case H324EVN_START_DONE:
    printf("Calling h324SetupCall\n");
    ret = h324SetupCall(pCfg->MuxEp.hd);
    if(ret != SUCCESS)
    {
        printf("Error:h324SetupCall return 0x%08x\n",ret);
        return ret;
    }