mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
fix some regessions and sync namespace of some vars
This commit is contained in:
1 parent
d33732ed00
commit
4b3aa396fb
7 files changed
+100
-82
No files matched your search
@@ -1415,9 +1415,9 @@ static void *SWITCH_THREAD_FUNC ringall_thread_run(switch_thread_t *thread, void
|
||||
|
||||
if (!total) goto end;
|
||||
|
||||
if ((codec = switch_event_get_header(pop, "variable_sip_use_codec_name"))) {
|
||||
const char *rate = switch_event_get_header(pop, "variable_sip_use_codec_rate");
|
||||
const char *ptime = switch_event_get_header(pop, "variable_sip_use_codec_ptime");
|
||||
if ((codec = switch_event_get_header(pop, "variable_rtp_use_codec_name"))) {
|
||||
const char *rate = switch_event_get_header(pop, "variable_rtp_use_codec_rate");
|
||||
const char *ptime = switch_event_get_header(pop, "variable_rtp_use_codec_ptime");
|
||||
char nstr[256] = "";
|
||||
|
||||
if (strcasecmp(codec, "PCMU") && strcasecmp(codec, "PCMA")) {
|
||||
|
||||
Reference in new issue
Block a user