]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fifo tweak
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 19 Jul 2010 16:04:52 +0000 (11:04 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 19 Jul 2010 16:04:52 +0000 (11:04 -0500)
src/mod/applications/mod_fifo/mod_fifo.c

index 58d7879aaf0f61bd5a99e5db134b12cec696484f..9ab15345a69a99ddaffd11a3df2228069b8eeb47 100644 (file)
@@ -1115,7 +1115,7 @@ static void *SWITCH_THREAD_FUNC ringall_thread_run(switch_thread_t *thread, void
                char nstr[256] = "";
                
                if (strcasecmp(codec, "PCMU") && strcasecmp(codec, "PCMA")) {
-                       switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh,PCMU,PCMA", codec, ptime, rate);
+                       switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh,PCMU@%di,PCMA@%di", codec, ptime, rate, ptime, ptime);
                } else {
                        switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh", codec, ptime, rate);
                }