From: Anthony Minessale Date: Mon, 19 Jul 2010 16:04:52 +0000 (-0500) Subject: fifo tweak X-Git-Tag: v1.2-rc1~541^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8e8f26552fede1cea6812f8db5fc765eb87fc96;p=thirdparty%2Ffreeswitch.git fifo tweak --- diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index 58d7879aaf..9ab15345a6 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -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); }