FCXExecuteTransaction typedef

bool FCXExecuteTransaction (
  1. FCXTransaction transaction
)

Signature for callbacks reporting when a transaction is executed by a call controller.

Return value: true if the transaction was handled; otherwise false.

Most subscribers should not need to provide an implementation for this method. However, a subscriber can implement this method to customize how transactions are handled.

This method returns true to indicate that the custom implementation handled the transaction and returns false to have the provider execute the transaction normally—as if the subscriber did not implement this method.

For example, given a transaction consisting of a FCXSetHeldCallAction object and a FCXSetGroupCallAction object, the subscriber may override this method to inject a 30 second wait and play hold music to the caller.

Used in FCXProvider.

Implementation

typedef bool FCXExecuteTransaction(FCXTransaction transaction);