Prosody generic: API: sm_get_card_switch_id

This function is deprecated.

Prototype Definition

int sm_get_card_switch_id(tSMCardId card)

Parameters

card
The card whose associated switch driver index is to be determined.

Description

Given a Prosody carrier card, returns card ID for use in switch driver API calls such as sw_set_output.

Note that this function is deprecated. It is present only to permit certain backward compatibility functionality to be implemented, should not be used by applications, and shall eventually be withdrawn from the API.

Returns

Switch card ID if call completed successfully, otherwise a standard error.


This function is part of the Prosody generic API.