s not d
This commit is contained in:
parent
84b4b5da62
commit
c45d21f266
|
@ -1115,7 +1115,7 @@ static void *SWITCH_THREAD_FUNC ringall_thread_run(switch_thread_t *thread, void
|
||||||
char nstr[256] = "";
|
char nstr[256] = "";
|
||||||
|
|
||||||
if (strcasecmp(codec, "PCMU") && strcasecmp(codec, "PCMA")) {
|
if (strcasecmp(codec, "PCMU") && strcasecmp(codec, "PCMA")) {
|
||||||
switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh,PCMU@%di,PCMA@%di", codec, ptime, rate, ptime, ptime);
|
switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh,PCMU@%si,PCMA@%si", codec, ptime, rate, ptime, ptime);
|
||||||
} else {
|
} else {
|
||||||
switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh", codec, ptime, rate);
|
switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh", codec, ptime, rate);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue