Well... "Optimal" is a subjective measurement. I will refer you to some NMS documentation on this subject, however you'll see in the newest NMS docs that your choice of codecs is expanded beyond what was available when our decision was made.
Firstly, the largest limitation is the effective audio quality that can be achieved on the PSTN. One source I had read, and I'm sorry I can't recall the name/location of it now (that research was done circa 1997
), suggested that 8 KHz, 16-bit PCM was "best" for playing across an analog (POTS) line. The debates on this subject are almost "religious", as I've seen others claiming that 11 KHz, 8-bit is "best".
Secondly, TeleFlow supports 4 hardware "types": Ai-Logix, NMS, Dialogic and TF-Simulator (which is really a Windows media device). When selecting the optimal format to use, we wanted something that would be consistent across all 4 platforms. Unfortunately, the best match only supported 3 of the 4. At the time, Dialogic only supported PCM at 11 KHz, 8-bit, and NMS only supported PCM at 8 KHz, 16-bit. I haven't checked lately to see if Dialogic has added support for 8 KHz, 16-bit, but I did notice that NMS now supports 11 Khz, 8-bit.
Lastly, we wanted the default audio codec to be non-compressed, as most compression techniques lose a bit of quality. Raw 16-bit, 8 KHz seemed like a good choice at the time.
The best source of information on NMS's supported voice formats is "Voice Message Service Developers Reference Manual" (6422-24.pdf).
You can also get information from the individual board "Installation and Configuration" manuals, especially notice that the "rvoice" DSP program is relatively frugal when it comes to its MIPS consumption.