* Enum describing the result of the echo canceller calibration process.
**/
typedef enum {
- LinphoneEcCalibratorInProgress,
- LinphoneEcCalibratorDone,
- LinphoneEcCalibratorFailed
+ LinphoneEcCalibratorInProgress, /**< The echo canceller calibration process is on going. */
+ LinphoneEcCalibratorDone, /**< The echo canceller calibration has been performed and produced an echo delay measure. */
+ LinphoneEcCalibratorFailed, /**< The echo canceller calibration process has failed. */
+ LinphoneEcCalibratorDoneNoEcho /**< The echo canceller calibration has been performed and no echo has been detected. */
}LinphoneEcCalibratorStatus;
*@return call country code or -1 if not found
*/
int linphone_dial_plan_lookup_ccc_from_iso(const char* iso);
-
-
+/**
+ * @ingroup misc
+ *Function to get call country code from an e164 number, ex: +33952650121 will return 33
+ *@param e164 phone number
+ *@return call country code or -1 if not found
+ */
+int linphone_dial_plan_lookup_ccc_from_e164(const char* e164);
+
#ifdef __cplusplus
}
#endif