mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-28 05:04:13 +00:00
mark tdm channel as answered immediately
This commit is contained in:
parent
706c662f4b
commit
ae84538819
@ -228,6 +228,8 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch_channel_mark_answered(channel);
|
||||||
|
|
||||||
return SWITCH_CAUSE_SUCCESS;
|
return SWITCH_CAUSE_SUCCESS;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
//#define RTP_DEBUG_WRITE_DELTA
|
//#define RTP_DEBUG_WRITE_DELTA
|
||||||
//#define DEBUG_MISSED_SEQ
|
//#define DEBUG_MISSED_SEQ
|
||||||
|
|
||||||
|
typedef unsigned long u_long;
|
||||||
|
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
#include <switch_stun.h>
|
#include <switch_stun.h>
|
||||||
#include <apr_network_io.h>
|
#include <apr_network_io.h>
|
||||||
@ -1451,7 +1453,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_add_crypto_key(switch_rtp_t *rtp_sess
|
|||||||
uint32_t index, switch_rtp_crypto_key_type_t type, unsigned char *key, switch_size_t keylen)
|
uint32_t index, switch_rtp_crypto_key_type_t type, unsigned char *key, switch_size_t keylen)
|
||||||
{
|
{
|
||||||
#ifndef ENABLE_SRTP
|
#ifndef ENABLE_SRTP
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "SRTP NOT SUPPORTED IN THIS BUILD!\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "SRTP NOT SUPPORTED IN THIS BUILD!\n");
|
||||||
return SWITCH_STATUS_FALSE;
|
return SWITCH_STATUS_FALSE;
|
||||||
#else
|
#else
|
||||||
switch_rtp_crypto_key_t *crypto_key;
|
switch_rtp_crypto_key_t *crypto_key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user