doublesimilar=1;// The factor of similarity between the played file and the one recorded
constdoublethreshold=0.85;// Minimum similarity value to consider the record file equal to the one sent
// We create a new vtable to listen only to the call state changes, in order to plug our RTP Transport Modifier when the call will be established
v_table=linphone_core_v_table_new();
v_table->call_state_changed=call_state_changed_4;
linphone_core_add_listener(pauline->lc,v_table);
v_table=linphone_core_v_table_new();
v_table->call_state_changed=call_state_changed_4;
linphone_core_add_listener(marie->lc,v_table);
// We create a new LinphoneCoreCbs to listen only to the call state changes, in order to plug our RTP Transport Modifier when the call will be established