tech_pvt          261 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt;
tech_pvt          268 mod_freetdm/mod_freetdm.c 			tech_pvt = switch_core_session_get_private(session);
tech_pvt          274 mod_freetdm/mod_freetdm.c 				if (switch_test_flag(tech_pvt, TFLAG_HOLD)) {
tech_pvt          276 mod_freetdm/mod_freetdm.c 					switch_clear_flag_locked(tech_pvt, TFLAG_HOLD);
tech_pvt          279 mod_freetdm/mod_freetdm.c 					switch_set_flag_locked(tech_pvt, TFLAG_HOLD);
tech_pvt          283 mod_freetdm/mod_freetdm.c 				switch_set_flag_locked(tech_pvt, TFLAG_HOLD);
tech_pvt          286 mod_freetdm/mod_freetdm.c 				switch_clear_flag_locked(tech_pvt, TFLAG_HOLD);
tech_pvt          299 mod_freetdm/mod_freetdm.c static switch_status_t tech_init(private_t *tech_pvt, switch_core_session_t *session, ftdm_channel_t *ftdmchan)
tech_pvt          305 mod_freetdm/mod_freetdm.c 	tech_pvt->ftdmchan = ftdmchan;
tech_pvt          306 mod_freetdm/mod_freetdm.c 	tech_pvt->read_frame.data = tech_pvt->databuf;
tech_pvt          307 mod_freetdm/mod_freetdm.c 	tech_pvt->read_frame.buflen = sizeof(tech_pvt->databuf);
tech_pvt          308 mod_freetdm/mod_freetdm.c 	tech_pvt->cng_frame.data = tech_pvt->cng_databuf;
tech_pvt          309 mod_freetdm/mod_freetdm.c 	tech_pvt->cng_frame.buflen = sizeof(tech_pvt->cng_databuf);
tech_pvt          310 mod_freetdm/mod_freetdm.c 	tech_pvt->cng_frame.flags = SFF_CNG;
tech_pvt          311 mod_freetdm/mod_freetdm.c 	tech_pvt->cng_frame.codec = &tech_pvt->read_codec;
tech_pvt          312 mod_freetdm/mod_freetdm.c 	memset(tech_pvt->cng_frame.data, 255, tech_pvt->cng_frame.buflen);
tech_pvt          313 mod_freetdm/mod_freetdm.c 	switch_mutex_init(&tech_pvt->mutex, SWITCH_MUTEX_NESTED, switch_core_session_get_pool(session));
tech_pvt          314 mod_freetdm/mod_freetdm.c 	switch_mutex_init(&tech_pvt->flag_mutex, SWITCH_MUTEX_NESTED, switch_core_session_get_pool(session));
tech_pvt          315 mod_freetdm/mod_freetdm.c 	switch_core_session_set_private(session, tech_pvt);
tech_pvt          316 mod_freetdm/mod_freetdm.c 	tech_pvt->session = session;
tech_pvt          352 mod_freetdm/mod_freetdm.c 	if (switch_core_codec_init(&tech_pvt->read_codec,
tech_pvt          359 mod_freetdm/mod_freetdm.c 							   NULL, switch_core_session_get_pool(tech_pvt->session)) != SWITCH_STATUS_SUCCESS) {
tech_pvt          363 mod_freetdm/mod_freetdm.c 		if (switch_core_codec_init(&tech_pvt->write_codec,
tech_pvt          370 mod_freetdm/mod_freetdm.c 								   NULL, switch_core_session_get_pool(tech_pvt->session)) != SWITCH_STATUS_SUCCESS) {
tech_pvt          372 mod_freetdm/mod_freetdm.c 			switch_core_codec_destroy(&tech_pvt->read_codec);
tech_pvt          378 mod_freetdm/mod_freetdm.c 	switch_core_session_set_read_codec(tech_pvt->session, &tech_pvt->read_codec);
tech_pvt          379 mod_freetdm/mod_freetdm.c 	switch_core_session_set_write_codec(tech_pvt->session, &tech_pvt->write_codec);
tech_pvt          380 mod_freetdm/mod_freetdm.c 	switch_set_flag_locked(tech_pvt, TFLAG_CODEC);
tech_pvt          381 mod_freetdm/mod_freetdm.c 	tech_pvt->read_frame.codec = &tech_pvt->read_codec;
tech_pvt          382 mod_freetdm/mod_freetdm.c 	switch_set_flag_locked(tech_pvt, TFLAG_IO);
tech_pvt          391 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt          393 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt          394 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          399 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt          410 mod_freetdm/mod_freetdm.c 	ftdm_channel_init(tech_pvt->ftdmchan);
tech_pvt          420 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt          425 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt          426 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          437 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt          442 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt          443 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          453 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt          455 mod_freetdm/mod_freetdm.c 	if ((tech_pvt = switch_core_session_get_private(session))) {
tech_pvt          457 mod_freetdm/mod_freetdm.c 		if (tech_pvt->read_codec.implementation) {
tech_pvt          458 mod_freetdm/mod_freetdm.c 			switch_core_codec_destroy(&tech_pvt->read_codec);
tech_pvt          461 mod_freetdm/mod_freetdm.c 		if (tech_pvt->write_codec.implementation) {
tech_pvt          462 mod_freetdm/mod_freetdm.c 			switch_core_codec_destroy(&tech_pvt->write_codec);
tech_pvt          472 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt          479 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt          480 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          482 mod_freetdm/mod_freetdm.c 	if (!tech_pvt->ftdmchan) {
tech_pvt          486 mod_freetdm/mod_freetdm.c 	ftdm_channel_clear_token(tech_pvt->ftdmchan, switch_core_session_get_uuid(session));
tech_pvt          488 mod_freetdm/mod_freetdm.c 	chantype = ftdm_channel_get_type(tech_pvt->ftdmchan);	
tech_pvt          494 mod_freetdm/mod_freetdm.c 			ftdm_channel_call_hangup(tech_pvt->ftdmchan);
tech_pvt          499 mod_freetdm/mod_freetdm.c 			if (!ftdm_channel_call_check_busy(tech_pvt->ftdmchan) && !ftdm_channel_call_check_done(tech_pvt->ftdmchan)) {
tech_pvt          500 mod_freetdm/mod_freetdm.c 				tokencnt = ftdm_channel_get_token_count(tech_pvt->ftdmchan);
tech_pvt          502 mod_freetdm/mod_freetdm.c 					cycle_foreground(tech_pvt->ftdmchan, 0, NULL);
tech_pvt          504 mod_freetdm/mod_freetdm.c 					ftdm_channel_call_hangup(tech_pvt->ftdmchan);
tech_pvt          515 mod_freetdm/mod_freetdm.c 			ftdm_channel_call_hangup_with_cause(tech_pvt->ftdmchan, hcause);
tech_pvt          528 mod_freetdm/mod_freetdm.c 	switch_clear_flag_locked(tech_pvt, TFLAG_IO);
tech_pvt          544 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt          549 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt          550 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          554 mod_freetdm/mod_freetdm.c 		switch_clear_flag_locked(tech_pvt, TFLAG_IO);
tech_pvt          555 mod_freetdm/mod_freetdm.c 		switch_set_flag_locked(tech_pvt, TFLAG_DEAD);
tech_pvt          558 mod_freetdm/mod_freetdm.c 		switch_set_flag_locked(tech_pvt, TFLAG_BREAK);
tech_pvt          581 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt          584 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt          585 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          587 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt          593 mod_freetdm/mod_freetdm.c 	ftdm_channel_command(tech_pvt->ftdmchan, FTDM_COMMAND_SEND_DTMF, tmp);
tech_pvt          601 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt          614 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt          615 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          617 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt          625 mod_freetdm/mod_freetdm.c 	chunk = ftdm_channel_get_io_interval(tech_pvt->ftdmchan) * 2;
tech_pvt          634 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_BREAK)) {
tech_pvt          635 mod_freetdm/mod_freetdm.c 		switch_clear_flag_locked(tech_pvt, TFLAG_BREAK);
tech_pvt          639 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_HOLD) || do_break) {
tech_pvt          640 mod_freetdm/mod_freetdm.c 		switch_yield(ftdm_channel_get_io_interval(tech_pvt->ftdmchan) * 1000);
tech_pvt          641 mod_freetdm/mod_freetdm.c 		tech_pvt->cng_frame.datalen = ftdm_channel_get_io_packet_len(tech_pvt->ftdmchan);
tech_pvt          642 mod_freetdm/mod_freetdm.c 		tech_pvt->cng_frame.samples = tech_pvt->cng_frame.datalen;
tech_pvt          643 mod_freetdm/mod_freetdm.c 		tech_pvt->cng_frame.flags = SFF_CNG;
tech_pvt          644 mod_freetdm/mod_freetdm.c 		*frame = &tech_pvt->cng_frame;
tech_pvt          645 mod_freetdm/mod_freetdm.c 		if (ftdm_channel_get_codec(tech_pvt->ftdmchan) == FTDM_CODEC_SLIN) {
tech_pvt          646 mod_freetdm/mod_freetdm.c 			tech_pvt->cng_frame.samples /= 2;
tech_pvt          651 mod_freetdm/mod_freetdm.c 	if (!switch_test_flag(tech_pvt, TFLAG_IO)) {
tech_pvt          657 mod_freetdm/mod_freetdm.c 	status = ftdm_channel_wait(tech_pvt->ftdmchan, &wflags, chunk);
tech_pvt          665 mod_freetdm/mod_freetdm.c 		if (!switch_test_flag(tech_pvt, TFLAG_HOLD)) {
tech_pvt          679 mod_freetdm/mod_freetdm.c 	len = tech_pvt->read_frame.buflen;
tech_pvt          680 mod_freetdm/mod_freetdm.c 	if (ftdm_channel_read(tech_pvt->ftdmchan, tech_pvt->read_frame.data, &len) != FTDM_SUCCESS) {
tech_pvt          685 mod_freetdm/mod_freetdm.c 	*frame = &tech_pvt->read_frame;
tech_pvt          686 mod_freetdm/mod_freetdm.c 	tech_pvt->read_frame.datalen = (uint32_t)len;
tech_pvt          687 mod_freetdm/mod_freetdm.c 	tech_pvt->read_frame.samples = tech_pvt->read_frame.datalen;
tech_pvt          689 mod_freetdm/mod_freetdm.c 	if (ftdm_channel_get_codec(tech_pvt->ftdmchan) == FTDM_CODEC_SLIN) {
tech_pvt          690 mod_freetdm/mod_freetdm.c 		tech_pvt->read_frame.samples /= 2;
tech_pvt          693 mod_freetdm/mod_freetdm.c 	while (ftdm_channel_dequeue_dtmf(tech_pvt->ftdmchan, dtmf, sizeof(dtmf))) {
tech_pvt          707 mod_freetdm/mod_freetdm.c 	switch_clear_flag_locked(tech_pvt, TFLAG_IO);
tech_pvt          716 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt          725 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt          726 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          728 mod_freetdm/mod_freetdm.c 	if (!tech_pvt->ftdmchan) {
tech_pvt          732 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt          736 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_HOLD)) {
tech_pvt          740 mod_freetdm/mod_freetdm.c 	if (!switch_test_flag(tech_pvt, TFLAG_IO)) {
tech_pvt          747 mod_freetdm/mod_freetdm.c 		if ((frame->datalen = tech_pvt->write_codec.implementation->encoded_bytes_per_packet) > frame->buflen) {
tech_pvt          755 mod_freetdm/mod_freetdm.c 	status = ftdm_channel_wait(tech_pvt->ftdmchan, &wflags, ftdm_channel_get_io_interval(tech_pvt->ftdmchan) * 10);
tech_pvt          763 mod_freetdm/mod_freetdm.c 	if (ftdm_channel_write(tech_pvt->ftdmchan, frame->data, frame->buflen, &len) != FTDM_SUCCESS) {
tech_pvt          764 mod_freetdm/mod_freetdm.c 		if (++tech_pvt->wr_error > 10) {
tech_pvt          769 mod_freetdm/mod_freetdm.c 		tech_pvt->wr_error = 0;
tech_pvt          776 mod_freetdm/mod_freetdm.c 	switch_clear_flag_locked(tech_pvt, TFLAG_IO);
tech_pvt          784 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt;
tech_pvt          790 mod_freetdm/mod_freetdm.c 	tech_pvt = (private_t *) switch_core_session_get_private(session);
tech_pvt          791 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          793 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt          798 mod_freetdm/mod_freetdm.c 	phy_id = ftdm_channel_get_ph_id(tech_pvt->ftdmchan);	
tech_pvt          808 mod_freetdm/mod_freetdm.c 			ftdm_channel_call_indicate(tech_pvt->ftdmchan, FTDM_CHANNEL_INDICATE_PROGRESS);
tech_pvt          813 mod_freetdm/mod_freetdm.c 			ftdm_channel_call_indicate(tech_pvt->ftdmchan, FTDM_CHANNEL_INDICATE_PROGRESS_MEDIA);
tech_pvt          818 mod_freetdm/mod_freetdm.c 			ftdm_channel_call_answer(tech_pvt->ftdmchan);
tech_pvt          831 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt;
tech_pvt          836 mod_freetdm/mod_freetdm.c 	tech_pvt = (private_t *) switch_core_session_get_private(session);
tech_pvt          837 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          839 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt          844 mod_freetdm/mod_freetdm.c 	if (ftdm_channel_call_check_hangup(tech_pvt->ftdmchan)) {
tech_pvt          855 mod_freetdm/mod_freetdm.c 			ftdm_channel_call_indicate(tech_pvt->ftdmchan, FTDM_CHANNEL_INDICATE_PROGRESS);
tech_pvt          860 mod_freetdm/mod_freetdm.c 			ftdm_channel_call_indicate(tech_pvt->ftdmchan, FTDM_CHANNEL_INDICATE_PROGRESS_MEDIA);
tech_pvt          865 mod_freetdm/mod_freetdm.c 			ftdm_channel_call_answer(tech_pvt->ftdmchan);
tech_pvt          878 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt;
tech_pvt          883 mod_freetdm/mod_freetdm.c 	tech_pvt = (private_t *) switch_core_session_get_private(session);
tech_pvt          884 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          886 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt          898 mod_freetdm/mod_freetdm.c 		ftdm_channel_call_answer(tech_pvt->ftdmchan);
tech_pvt          910 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt;
tech_pvt          915 mod_freetdm/mod_freetdm.c 	tech_pvt = (private_t *) switch_core_session_get_private(session);
tech_pvt          916 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          918 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt          930 mod_freetdm/mod_freetdm.c 		ftdm_channel_call_answer(tech_pvt->ftdmchan);
tech_pvt          938 mod_freetdm/mod_freetdm.c 				ftdm_channel_call_indicate(tech_pvt->ftdmchan, FTDM_CHANNEL_INDICATE_RING);
tech_pvt          951 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt;
tech_pvt          957 mod_freetdm/mod_freetdm.c 	tech_pvt = (private_t *) switch_core_session_get_private(session);
tech_pvt          958 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt          962 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt          967 mod_freetdm/mod_freetdm.c 	if (!(ftdmchan = tech_pvt->ftdmchan)) {
tech_pvt          972 mod_freetdm/mod_freetdm.c 	if (!tech_pvt->ftdmchan) {
tech_pvt          984 mod_freetdm/mod_freetdm.c 					ftdm_channel_command(tech_pvt->ftdmchan, FTDM_COMMAND_SET_PRE_BUFFER_SIZE, &tmp);
tech_pvt          988 mod_freetdm/mod_freetdm.c 				ftdm_channel_command(tech_pvt->ftdmchan, FTDM_COMMAND_DISABLE_DTMF_DETECT, NULL);
tech_pvt          994 mod_freetdm/mod_freetdm.c 			ftdm_channel_replace_token(tech_pvt->ftdmchan, msg->string_array_arg[0], msg->string_array_arg[1]);
tech_pvt         1001 mod_freetdm/mod_freetdm.c 	switch (ftdm_channel_get_type(tech_pvt->ftdmchan)) {
tech_pvt         1319 mod_freetdm/mod_freetdm.c 		private_t *tech_pvt;
tech_pvt         1324 mod_freetdm/mod_freetdm.c 		if ((tech_pvt = (private_t *) switch_core_session_alloc(*new_session, sizeof(private_t))) != 0) {
tech_pvt         1325 mod_freetdm/mod_freetdm.c 			tech_init(tech_pvt, *new_session, ftdmchan);
tech_pvt         1344 mod_freetdm/mod_freetdm.c 		tech_pvt->caller_profile = caller_profile;
tech_pvt         1369 mod_freetdm/mod_freetdm.c 			if (tech_pvt->read_codec.implementation) {
tech_pvt         1370 mod_freetdm/mod_freetdm.c 				switch_core_codec_destroy(&tech_pvt->read_codec);
tech_pvt         1373 mod_freetdm/mod_freetdm.c 			if (tech_pvt->write_codec.implementation) {
tech_pvt         1374 mod_freetdm/mod_freetdm.c 				switch_core_codec_destroy(&tech_pvt->write_codec);
tech_pvt         1404 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt = NULL;
tech_pvt         1426 mod_freetdm/mod_freetdm.c 	tech_pvt = (private_t *) switch_core_session_alloc(session, sizeof(private_t));
tech_pvt         1427 mod_freetdm/mod_freetdm.c 	assert(tech_pvt != NULL);
tech_pvt         1429 mod_freetdm/mod_freetdm.c 	if (tech_init(tech_pvt, session, sigmsg->channel) != SWITCH_STATUS_SUCCESS) {
tech_pvt         1449 mod_freetdm/mod_freetdm.c 	tech_pvt->caller_profile = switch_caller_profile_new(switch_core_session_get_pool(session),
tech_pvt         1462 mod_freetdm/mod_freetdm.c 	assert(tech_pvt->caller_profile != NULL);
tech_pvt         1465 mod_freetdm/mod_freetdm.c 		switch_set_flag(tech_pvt->caller_profile, SWITCH_CPF_SCREEN);
tech_pvt         1468 mod_freetdm/mod_freetdm.c 	tech_pvt->caller_profile->caller_ton = channel_caller_data->cid_num.type;
tech_pvt         1469 mod_freetdm/mod_freetdm.c 	tech_pvt->caller_profile->caller_numplan = channel_caller_data->cid_num.plan;
tech_pvt         1470 mod_freetdm/mod_freetdm.c 	tech_pvt->caller_profile->ani_ton = channel_caller_data->ani.type;
tech_pvt         1471 mod_freetdm/mod_freetdm.c 	tech_pvt->caller_profile->ani_numplan = channel_caller_data->ani.plan;
tech_pvt         1472 mod_freetdm/mod_freetdm.c 	tech_pvt->caller_profile->destination_number_ton = channel_caller_data->dnis.type;
tech_pvt         1473 mod_freetdm/mod_freetdm.c 	tech_pvt->caller_profile->destination_number_numplan = channel_caller_data->dnis.plan;
tech_pvt         1474 mod_freetdm/mod_freetdm.c 	tech_pvt->caller_profile->rdnis_ton = channel_caller_data->rdnis.type;
tech_pvt         1475 mod_freetdm/mod_freetdm.c 	tech_pvt->caller_profile->rdnis_numplan = channel_caller_data->rdnis.plan;
tech_pvt         1478 mod_freetdm/mod_freetdm.c 		switch_set_flag(tech_pvt->caller_profile, SWITCH_CPF_HIDE_NAME | SWITCH_CPF_HIDE_NUMBER);
tech_pvt         1481 mod_freetdm/mod_freetdm.c 	snprintf(name, sizeof(name), "FreeTDM/%u:%u/%s", spanid, chanid, tech_pvt->caller_profile->destination_number);
tech_pvt         1484 mod_freetdm/mod_freetdm.c 	switch_channel_set_caller_profile(channel, tech_pvt->caller_profile);
tech_pvt         1663 mod_freetdm/mod_freetdm.c 			private_t *tech_pvt = NULL;
tech_pvt         1665 mod_freetdm/mod_freetdm.c 				tech_pvt = switch_core_session_get_private(session);
tech_pvt         1666 mod_freetdm/mod_freetdm.c 				switch_set_flag_locked(tech_pvt, TFLAG_DEAD);
tech_pvt         1749 mod_freetdm/mod_freetdm.c 			private_t *tech_pvt = NULL;
tech_pvt         1757 mod_freetdm/mod_freetdm.c 				private_t *tech_pvt = NULL;
tech_pvt         1764 mod_freetdm/mod_freetdm.c 					tech_pvt = switch_core_session_get_private(session_a);
tech_pvt         1766 mod_freetdm/mod_freetdm.c 					switch_clear_flag_locked(tech_pvt, TFLAG_HOLD);
tech_pvt         1773 mod_freetdm/mod_freetdm.c 					tech_pvt = switch_core_session_get_private(session_b);
tech_pvt         1775 mod_freetdm/mod_freetdm.c 					switch_clear_flag_locked(tech_pvt, TFLAG_HOLD);
tech_pvt         1806 mod_freetdm/mod_freetdm.c 				tech_pvt = switch_core_session_get_private(session);
tech_pvt         1807 mod_freetdm/mod_freetdm.c 				switch_set_flag_locked(tech_pvt, TFLAG_DEAD);
tech_pvt         1836 mod_freetdm/mod_freetdm.c 					private_t *tech_pvt;
tech_pvt         1838 mod_freetdm/mod_freetdm.c 					tech_pvt = switch_core_session_get_private(session);
tech_pvt         1843 mod_freetdm/mod_freetdm.c 					switch_clear_flag_locked(tech_pvt, TFLAG_HOLD);
tech_pvt         1951 mod_freetdm/mod_freetdm.c 			private_t *tech_pvt = NULL;
tech_pvt         1953 mod_freetdm/mod_freetdm.c 				tech_pvt = switch_core_session_get_private(session);
tech_pvt         1954 mod_freetdm/mod_freetdm.c 				switch_set_flag_locked(tech_pvt, TFLAG_DEAD);
tech_pvt         2068 mod_freetdm/mod_freetdm.c 			private_t *tech_pvt = NULL;
tech_pvt         2070 mod_freetdm/mod_freetdm.c 				tech_pvt = switch_core_session_get_private(session);
tech_pvt         2071 mod_freetdm/mod_freetdm.c 				switch_set_flag_locked(tech_pvt, TFLAG_DEAD);
tech_pvt         4029 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt;
tech_pvt         4035 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt         4037 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt         4042 mod_freetdm/mod_freetdm.c 	ftdm_channel_command(tech_pvt->ftdmchan, FTDM_COMMAND_ENABLE_DTMF_DETECT, NULL);
tech_pvt         4043 mod_freetdm/mod_freetdm.c 	ftdm_log(FTDM_LOG_INFO, "DTMF detection enabled in channel %d:%d\n", ftdm_channel_get_id(tech_pvt->ftdmchan), ftdm_channel_get_span_id(tech_pvt->ftdmchan));
tech_pvt         4048 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt;
tech_pvt         4054 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt         4056 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt         4061 mod_freetdm/mod_freetdm.c 	ftdm_channel_command(tech_pvt->ftdmchan, FTDM_COMMAND_DISABLE_DTMF_DETECT, NULL);
tech_pvt         4062 mod_freetdm/mod_freetdm.c 	ftdm_log(FTDM_LOG_INFO, "DTMF detection Disabled in channel %d:%d\n", ftdm_channel_get_id(tech_pvt->ftdmchan), ftdm_channel_get_span_id(tech_pvt->ftdmchan));
tech_pvt         4067 mod_freetdm/mod_freetdm.c 	private_t *tech_pvt;
tech_pvt         4075 mod_freetdm/mod_freetdm.c 	tech_pvt = switch_core_session_get_private(session);
tech_pvt         4077 mod_freetdm/mod_freetdm.c 	if (switch_test_flag(tech_pvt, TFLAG_DEAD)) {
tech_pvt         4082 mod_freetdm/mod_freetdm.c 	ftdm_channel_command(tech_pvt->ftdmchan, FTDM_COMMAND_DISABLE_ECHOCANCEL, &x);
tech_pvt         4083 mod_freetdm/mod_freetdm.c 	ftdm_channel_command(tech_pvt->ftdmchan, FTDM_COMMAND_DISABLE_ECHOTRAIN, &x);