From: "dave lee" <davelee53@yahoo.com>
hi Tom,
Thanks very much for all the helps. I really appreciate it. I have a couple more questions regarding your suggestions:
1. The first streaming solution that uses two channels is achieved by SCBust Routing(nr_scroute). Isn't SC Routing only applied to multiple boards connection and SCBus based boards? Neither one of my boards(D/240JCT-T1 and D/41 JCT-LS, CTBus) are SCBus boards, and my implementation is primarily to support single board(either T1 or analog) configuration.
2. Here are what I am going to implement with two channels, dxxxB1C1 and dxxxB1C2 for example:
** For Analog board
--1. Open two devices via dx_open, ch1 and ch2.
--2. Use dxxxB1C1 to dial out via dx_dial(ch1, "1234")
--3. SCSA these two channels' network devices: nr_scroute(ch1, SC_LSI, ch2, SC_LSI, SC_FULLDUP)
4. SCSA dxxxB1C1's network device and voice device: nr_scroute(ch1, SC_LSI, ch1, SC_VOX, SC_HALFDUP)
5. SCSA dxxxB1C2's network device and voice device: nr_scroute(ch2, SC_LSI, ch2, SC_VOX, SC_HALFDUP)
6. Use dxxxB1C2 for Record, dx_rec(ch2)
7. Use dxxxB1C1 for Play, dx_play(ch1)
** For T1 board
--1. Open two digital network devices via gc_openex, ch1 and ch2. and two voice devices via dx_open, ch1-vox, ch2-vox.
--2. Use dtiB1T1 to dial out via gc_makeCall(ch1, "1234")
--3. SCSA these two channels' network devices: nr_scroute(ch1, SC_DTI, ch2, SC_DTI, SC_FULLDUP)
4. SCSA first channel's network device and voice device: nr_scroute(ch1, SC_DTI, ch1-vox, SC_VOX, SC_HALFDUP)
5. SCSA second channel's network device and voice device: nr_scroute(ch2, SC_DTI, ch2-vox, SC_VOX, SC_HALFDUP)
6. Use dxxxB1C2 for Record, dx_rec(ch2-vox)
7. Use dxxxB1C1 for Play, dx_play(ch1-vox)
Can you see any possible issue with this implementation?
3. I am quite interested in the streaming solution using CSP API with one channel. Indeed I did try ec_stream and provide a call back function for recording incoming audio signals. However, the call back Record function only got called for the first 2 or 3 times but it was able to contineously Play (dx_play). I saw similar issue posted by someone in another dialogic forum. Is it anything to do with the Recording format? if I use VOX and PCM format, my call back function didn't get any call and If I use WAV and MULAW it got 2 or 3 times.
If possible, I would like to solve my analog board problem with CSP API (it saves our customers to purchase additional boards), although I won't be able to use it with my T1 board.
Thanks in advance for any help.
Dave Lee
To reply: mailto:General.30740@pysdiscussext.py.intel.com
To start a new topic: mailto:General@pysdiscussext.py.intel.com
To login: http://membersresource.intel.com/webboardnet/wb.aspx?board=general
Received on Sun Jun 26 23:57:44 2005
This archive was generated by hypermail 2.1.8 : Sat Jul 16 2005 - 03:48:35 EDT