The debugrec voice recording tool considerably simplifies what is required to take a diagnostic recording of voice input and output on specific telephony channels or an adapter trace. debugrec provides additional functionality compared with the debugmon utility described in Blueworx Voice Response for AIX: Voice over IP using Session Initiation Protocol.
debugrec is shipped as a single executable in the /usr/lpp/dirTalk/devives/dtqa_bin directory.
debugrec can operate in one of three modes:
debugrec trunk channel [option]
where:
By default (no option), recording is continuous (until stopped) and a stereo 8KHz A-law or ยต-law .wav file is created, where the left channel is 'line out' (what Blueworx Voice Response is playing to the line) and the right channel is 'line in' (what Blueworx Voice Response is receiving from the line). The file name used for the recording is /tmp/vrec_line_stereo.wav. All other parameters required by the tool such as the adapter type and trunk type are obtained automatically from Blueworx Voice Response internal configuration information.
For most problems, the default option (stereo .wav file) will be all that is required as it simply records what Blueworx Voice Response is sending to and receiving from the specified telephony channel. In some cases, Blueworx support may request that the -a option is used to record additional internal information which will hopefully allow Blueworx to diagnose the cause of a problem.