Multiple sound cards and pjsip

JR
Jeffrey Ross
Tue, Mar 23, 2010 4:34 AM

I wish to receive 10 mono voice channels connected directly into a remote machine and have them sent via pjsip to my local machine.  The local machine will send one voice channel back to the remote machine.  At present I'm investigating if I can get 10 USB sound cards to work in Linux and to do so reliably.  For testing I plan to modify pjsua to specify a list of device names to be opened, eg /dev/dsp0, .. /dev/dsp9.  It looks like pjsua tries to open /dev/dsp (although I can't see where it picks up that device name from).
Has anyone succeeded in getting multiple sound cards to work with pjsip?
Any hints?

I wish to receive 10 mono voice channels connected directly into a remote machine and have them sent via pjsip to my local machine.  The local machine will send one voice channel back to the remote machine.  At present I'm investigating if I can get 10 USB sound cards to work in Linux and to do so reliably.  For testing I plan to modify pjsua to specify a list of device names to be opened, eg /dev/dsp0, .. /dev/dsp9.  It looks like pjsua tries to open /dev/dsp (although I can't see where it picks up that device name from). Has anyone succeeded in getting multiple sound cards to work with pjsip? Any hints?
DS
Dharmen Sheth
Tue, Mar 23, 2010 8:50 AM

Hi

Am currently using Audioscience cards with pjsip , with 8 incoming and 8
outgoing, works like a beauty.  I wouldn't recommend those USB sound cards,
had terrible nightmares with them. Anyway they still might work so just my
own 2 cents.

Sounds like you are using OSS (it uses /dev/dsp*) , you need to install ALSA
and configure it properly, pjsip which uses portaudio requires ALSA if im
not mistaken and wont work with OSS.

You can then assign input/output ports in the pjsip configuration files.
There is a command line utility in the samples directory called
sndinfo-i686-pc-linux-gnu  which you can use to identify which channels of
your sound card are accessible by pjsip etc.

If you install the cards with ALSA , you can type aplay -l (L)  or aplay -L
to list the devices/sound cards that are connected.  They will be something
like card0 , card1 , card2 etc.  Once this is done correctly , you can
configure/install pjsip and then use the sndinfo to get the id of each card,
configure them in the pjsip.conf and it should work

Regards


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Jeffrey Ross
Sent: Tuesday, March 23, 2010 12:34 PM
To: pjsip@lists.pjsip.org
Subject: [pjsip] Multiple sound cards and pjsip

I wish to receive 10 mono voice channels connected directly into a remote
machine and have them sent via pjsip to my local machine.  The local machine
will send one voice channel back to the remote machine.  At present I'm
investigating if I can get 10 USB sound cards to work in Linux and to do so
reliably.  For testing I plan to modify pjsua to specify a list of device
names to be opened, eg /dev/dsp0, .. /dev/dsp9.  It looks like pjsua tries
to open /dev/dsp (although I can't see where it picks up that device name
from).
Has anyone succeeded in getting multiple sound cards to work with pjsip?
Any hints?

Hi Am currently using Audioscience cards with pjsip , with 8 incoming and 8 outgoing, works like a beauty. I wouldn't recommend those USB sound cards, had terrible nightmares with them. Anyway they still might work so just my own 2 cents. Sounds like you are using OSS (it uses /dev/dsp*) , you need to install ALSA and configure it properly, pjsip which uses portaudio requires ALSA if im not mistaken and wont work with OSS. You can then assign input/output ports in the pjsip configuration files. There is a command line utility in the samples directory called sndinfo-i686-pc-linux-gnu which you can use to identify which channels of your sound card are accessible by pjsip etc. If you install the cards with ALSA , you can type aplay -l (L) or aplay -L to list the devices/sound cards that are connected. They will be something like card0 , card1 , card2 etc. Once this is done correctly , you can configure/install pjsip and then use the sndinfo to get the id of each card, configure them in the pjsip.conf and it should work Regards _____ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Jeffrey Ross Sent: Tuesday, March 23, 2010 12:34 PM To: pjsip@lists.pjsip.org Subject: [pjsip] Multiple sound cards and pjsip I wish to receive 10 mono voice channels connected directly into a remote machine and have them sent via pjsip to my local machine. The local machine will send one voice channel back to the remote machine. At present I'm investigating if I can get 10 USB sound cards to work in Linux and to do so reliably. For testing I plan to modify pjsua to specify a list of device names to be opened, eg /dev/dsp0, .. /dev/dsp9. It looks like pjsua tries to open /dev/dsp (although I can't see where it picks up that device name from). Has anyone succeeded in getting multiple sound cards to work with pjsip? Any hints?
RK
Ravi Kanth
Tue, Mar 23, 2010 1:17 PM

Hi,

count = pjmedia_snd_get_dev_count();

for (i=0; i<count; ++i)

{

const pjmedia_snd_dev_info *devinfo;

devinfo = pjmedia_snd_get_dev_info(i);
}

this will parse through all your plugged in soud devices.

devinfo->name will give you all the names.
One thing that i hav also been searching is a way to dynamically get the usb
device details plugged in after the intialization of the library.

Ravi

On Tue, Mar 23, 2010 at 10:04 AM, Jeffrey Ross jeffrey_e_ross@yahoo.comwrote:

I wish to receive 10 mono voice channels connected directly into a
remote machine and have them sent via pjsip to my local machine.  The local
machine will send one voice channel back to the remote machine.  At present
I'm investigating if I can get 10 USB sound cards to work in Linux and to do
so reliably.  For testing I plan to modify pjsua to specify a list of device
names to be opened, eg /dev/dsp0, .. /dev/dsp9.  It looks like pjsua tries
to open /dev/dsp (although I can't see where it picks up that device name
from).
Has anyone succeeded in getting multiple sound cards to work with pjsip?
Any hints?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi, count = pjmedia_snd_get_dev_count(); for (i=0; i<count; ++i) { const pjmedia_snd_dev_info *devinfo; devinfo = pjmedia_snd_get_dev_info(i); } this will parse through all your plugged in soud devices. devinfo->name will give you all the names. One thing that i hav also been searching is a way to dynamically get the usb device details plugged in after the intialization of the library. Ravi On Tue, Mar 23, 2010 at 10:04 AM, Jeffrey Ross <jeffrey_e_ross@yahoo.com>wrote: > I wish to receive 10 mono voice channels connected directly into a > remote machine and have them sent via pjsip to my local machine. The local > machine will send one voice channel back to the remote machine. At present > I'm investigating if I can get 10 USB sound cards to work in Linux and to do > so reliably. For testing I plan to modify pjsua to specify a list of device > names to be opened, eg /dev/dsp0, .. /dev/dsp9. It looks like pjsua tries > to open /dev/dsp (although I can't see where it picks up that device name > from). > Has anyone succeeded in getting multiple sound cards to work with pjsip? > Any hints? > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
JR
Jeffrey Ross
Wed, Mar 24, 2010 4:48 AM

Thanks, Dharmen.
I'm using ALSA as far as I know.  I certainly use alsamixer to adjust the volume controls on the mic & speaker, and I use arecord and aplay successfully too.  When I run pjsua I get "PortAudio sound library initialized", etc, and I can talk to a colleague with the same setup on their PC.  We're both using Logitech ClearChat Comfort USB headsets which worked without any need for customisation.  I tried on-board sound and 3 different PCI sound cards and had poor sound quality or no Linux driver support as a result.  I also got some interference when my video card changes the screen image in screensaver mode.  The USB headsets have not given any of these problems so we'll continue with them for the present.
Anyway, thanks for your hints.  I didn't know about sndinfo (which reports "pasound.c Opened device
/dev/dsp(OSS)" when pjsua is not running).  So I'm not sure about
whether pjsua uses ALSA or OSS but would be surprised it is OSS.
It will take me a few weeks to get to the next stage of having several sound cards in one PC, so I'll probably go quiet on this thread now.
Jeffrey

--- On Tue, 23/3/10, Dharmen Sheth dsheth@konverge.com.my wrote:

From: Dharmen Sheth dsheth@konverge.com.my
Subject: Re: [pjsip] Multiple sound cards and pjsip
To: "'pjsip list'" pjsip@lists.pjsip.org
Received: Tuesday, 23 March, 2010, 9:50 PM

Hi

 

Am currently using Audioscience cards with
pjsip , with 8 incoming and 8 outgoing, works like a beauty.  I wouldn’t recommend
those USB sound cards, had terrible nightmares with them. Anyway they still
might work so just my own 2 cents.

 

Sounds like you are using OSS
(it uses /dev/dsp*) , you need to install ALSA and configure it properly, pjsip
which uses portaudio requires ALSA if im not mistaken and wont work with
OSS .

 

You can then assign input/output ports in
the pjsip configuration files.  There is a command line utility in the samples directory
called sndinfo-i686-pc-linux-gnu  which you can use to identify which channels
of your sound card are accessible by pjsip etc.

 

If you install the cards with ALSA , you
can type aplay –l (L)  or aplay –L  to list the devices/sound cards
that are connected.   They will be something like card0 , card1 , card2 etc.  
Once this is done correctly , you can configure/install pjsip and then use the
sndinfo to get the id of each card, configure them in the pjsip.conf and it
should work

 

Regards

 

From:
pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Jeffrey Ross

Sent: Tuesday, March 23, 2010
12:34 PM

To: pjsip@lists.pjsip.org

Subject: [pjsip] Multiple sound
cards and pjsip

 

I wish to receive 10 mono voice channels connected
directly into a remote machine and have them sent via pjsip to my local
machine.  The local machine will send one voice channel back to the
remote machine.  At present I'm investigating if I can get 10 USB sound
cards to work in Linux and to do so reliably.  For testing I plan to
modify pjsua to specify a list of device names to be opened, eg /dev/dsp0, ..
/dev/dsp9.  It looks like pjsua tries to open /dev/dsp (although I can't
see where it picks up that device name from).

Has anyone succeeded in getting multiple sound cards to work with pjsip?

Any hints?

 

-----Inline Attachment Follows-----


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Thanks, Dharmen. I'm using ALSA as far as I know.  I certainly use alsamixer to adjust the volume controls on the mic & speaker, and I use arecord and aplay successfully too.  When I run pjsua I get "PortAudio sound library initialized", etc, and I can talk to a colleague with the same setup on their PC.  We're both using Logitech ClearChat Comfort USB headsets which worked without any need for customisation.  I tried on-board sound and 3 different PCI sound cards and had poor sound quality or no Linux driver support as a result.  I also got some interference when my video card changes the screen image in screensaver mode.  The USB headsets have not given any of these problems so we'll continue with them for the present. Anyway, thanks for your hints.  I didn't know about sndinfo (which reports "pasound.c Opened device /dev/dsp(OSS)" when pjsua is not running).  So I'm not sure about whether pjsua uses ALSA or OSS but would be surprised it is OSS. It will take me a few weeks to get to the next stage of having several sound cards in one PC, so I'll probably go quiet on this thread now. Jeffrey --- On Tue, 23/3/10, Dharmen Sheth <dsheth@konverge.com.my> wrote: From: Dharmen Sheth <dsheth@konverge.com.my> Subject: Re: [pjsip] Multiple sound cards and pjsip To: "'pjsip list'" <pjsip@lists.pjsip.org> Received: Tuesday, 23 March, 2010, 9:50 PM Hi   Am currently using Audioscience cards with pjsip , with 8 incoming and 8 outgoing, works like a beauty.  I wouldn’t recommend those USB sound cards, had terrible nightmares with them. Anyway they still might work so just my own 2 cents.   Sounds like you are using OSS (it uses /dev/dsp*) , you need to install ALSA and configure it properly, pjsip which uses portaudio requires ALSA if im not mistaken and wont work with OSS .   You can then assign input/output ports in the pjsip configuration files.  There is a command line utility in the samples directory called sndinfo-i686-pc-linux-gnu  which you can use to identify which channels of your sound card are accessible by pjsip etc.   If you install the cards with ALSA , you can type aplay –l (L)  or aplay –L  to list the devices/sound cards that are connected.   They will be something like card0 , card1 , card2 etc.   Once this is done correctly , you can configure/install pjsip and then use the sndinfo to get the id of each card, configure them in the pjsip.conf and it should work   Regards   From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Jeffrey Ross Sent: Tuesday, March 23, 2010 12:34 PM To: pjsip@lists.pjsip.org Subject: [pjsip] Multiple sound cards and pjsip   I wish to receive 10 mono voice channels connected directly into a remote machine and have them sent via pjsip to my local machine.  The local machine will send one voice channel back to the remote machine.  At present I'm investigating if I can get 10 USB sound cards to work in Linux and to do so reliably.  For testing I plan to modify pjsua to specify a list of device names to be opened, eg /dev/dsp0, .. /dev/dsp9.  It looks like pjsua tries to open /dev/dsp (although I can't see where it picks up that device name from). Has anyone succeeded in getting multiple sound cards to work with pjsip? Any hints?   -----Inline Attachment Follows----- _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
DS
Dharmen Sheth
Wed, Mar 24, 2010 5:20 AM

No worries Jeff,

Had suffered merciless horrors at this part of my project, and went the full
swing on it. Will have no problems assisting if you need any help at any
stage.

Regards


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Jeffrey Ross
Sent: Wednesday, March 24, 2010 12:49 PM
To: pjsip list
Subject: Re: [pjsip] Multiple sound cards and pjsip

Thanks, Dharmen.
I'm using ALSA as far as I know.  I certainly use alsamixer to adjust the
volume controls on the mic & speaker, and I use arecord and aplay
successfully too.  When I run pjsua I get "PortAudio sound library
initialized", etc, and I can talk to a colleague with the same setup on
their PC.  We're both using Logitech ClearChat Comfort USB headsets which
worked without any need for customisation.  I tried on-board sound and 3
different PCI sound cards and had poor sound quality or no Linux driver
support as a result.  I also got some interference when my video card
changes the screen image in screensaver mode.  The USB headsets have not
given any of these problems so we'll continue with them for the present.
Anyway, thanks for your hints.  I didn't know about sndinfo (which reports
"pasound.c Opened device /dev/dsp(OSS)" when pjsua is not running).  So I'm
not sure about whether pjsua uses ALSA or OSS but would be surprised it is
OSS.
It will take me a few weeks to get to the next stage of having several sound
cards in one PC, so I'll probably go quiet on this thread now.
Jeffrey

--- On Tue, 23/3/10, Dharmen Sheth dsheth@konverge.com.my wrote:

From: Dharmen Sheth dsheth@konverge.com.my
Subject: Re: [pjsip] Multiple sound cards and pjsip
To: "'pjsip list'" pjsip@lists.pjsip.org
Received: Tuesday, 23 March, 2010, 9:50 PM

Hi

Am currently using Audioscience cards with pjsip , with 8 incoming and 8
outgoing, works like a beauty.  I wouldn't recommend those USB sound cards,
had terrible nightmares with them. Anyway they still might work so just my
own 2 cents.

Sounds like you are using OSS (it uses /dev/dsp*) , you need to install ALSA
and configure it properly, pjsip which uses portaudio requires ALSA if im
not mistaken and wont work with OSS .

You can then assign input/output ports in the pjsip configuration files.
There is a command line utility in the samples directory called
sndinfo-i686-pc-linux-gnu  which you can use to identify which channels of
your sound card are accessible by pjsip etc.

If you install the cards with ALSA , you can type aplay -l (L)  or aplay -L
to list the devices/sound cards that are connected.  They will be something
like card0 , card1 , card2 etc.  Once this is done correctly , you can
configure/install pjsip and then use the sndinfo to get the id of each card,
configure them in the pjsip.conf and it should work

Regards


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Jeffrey Ross
Sent: Tuesday, March 23, 2010 12:34 PM
To: pjsip@lists.pjsip.org
Subject: [pjsip] Multiple sound cards and pjsip

I wish to receive 10 mono voice channels connected directly into a remote
machine and have them sent via pjsip to my local machine.  The local machine
will send one voice channel back to the remote machine.  At present I'm
investigating if I can get 10 USB sound cards to work in Linux and to do so
reliably.  For testing I plan to modify pjsua to specify a list of device
names to be opened, eg /dev/dsp0, .. /dev/dsp9.  It looks like pjsua tries
to open /dev/dsp (although I can't see where it picks up that device name
from).
Has anyone succeeded in getting multiple sound cards to work with pjsip?
Any hints?

-----Inline Attachment Follows-----


Visit our blog:  http://blog.pjsip.org http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

No worries Jeff, Had suffered merciless horrors at this part of my project, and went the full swing on it. Will have no problems assisting if you need any help at any stage. Regards _____ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Jeffrey Ross Sent: Wednesday, March 24, 2010 12:49 PM To: pjsip list Subject: Re: [pjsip] Multiple sound cards and pjsip Thanks, Dharmen. I'm using ALSA as far as I know. I certainly use alsamixer to adjust the volume controls on the mic & speaker, and I use arecord and aplay successfully too. When I run pjsua I get "PortAudio sound library initialized", etc, and I can talk to a colleague with the same setup on their PC. We're both using Logitech ClearChat Comfort USB headsets which worked without any need for customisation. I tried on-board sound and 3 different PCI sound cards and had poor sound quality or no Linux driver support as a result. I also got some interference when my video card changes the screen image in screensaver mode. The USB headsets have not given any of these problems so we'll continue with them for the present. Anyway, thanks for your hints. I didn't know about sndinfo (which reports "pasound.c Opened device /dev/dsp(OSS)" when pjsua is not running). So I'm not sure about whether pjsua uses ALSA or OSS but would be surprised it is OSS. It will take me a few weeks to get to the next stage of having several sound cards in one PC, so I'll probably go quiet on this thread now. Jeffrey --- On Tue, 23/3/10, Dharmen Sheth <dsheth@konverge.com.my> wrote: From: Dharmen Sheth <dsheth@konverge.com.my> Subject: Re: [pjsip] Multiple sound cards and pjsip To: "'pjsip list'" <pjsip@lists.pjsip.org> Received: Tuesday, 23 March, 2010, 9:50 PM Hi Am currently using Audioscience cards with pjsip , with 8 incoming and 8 outgoing, works like a beauty. I wouldn't recommend those USB sound cards, had terrible nightmares with them. Anyway they still might work so just my own 2 cents. Sounds like you are using OSS (it uses /dev/dsp*) , you need to install ALSA and configure it properly, pjsip which uses portaudio requires ALSA if im not mistaken and wont work with OSS . You can then assign input/output ports in the pjsip configuration files. There is a command line utility in the samples directory called sndinfo-i686-pc-linux-gnu which you can use to identify which channels of your sound card are accessible by pjsip etc. If you install the cards with ALSA , you can type aplay -l (L) or aplay -L to list the devices/sound cards that are connected. They will be something like card0 , card1 , card2 etc. Once this is done correctly , you can configure/install pjsip and then use the sndinfo to get the id of each card, configure them in the pjsip.conf and it should work Regards _____ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Jeffrey Ross Sent: Tuesday, March 23, 2010 12:34 PM To: pjsip@lists.pjsip.org Subject: [pjsip] Multiple sound cards and pjsip I wish to receive 10 mono voice channels connected directly into a remote machine and have them sent via pjsip to my local machine. The local machine will send one voice channel back to the remote machine. At present I'm investigating if I can get 10 USB sound cards to work in Linux and to do so reliably. For testing I plan to modify pjsua to specify a list of device names to be opened, eg /dev/dsp0, .. /dev/dsp9. It looks like pjsua tries to open /dev/dsp (although I can't see where it picks up that device name from). Has anyone succeeded in getting multiple sound cards to work with pjsip? Any hints? -----Inline Attachment Follows----- _______________________________________________ Visit our blog: <http://blog.pjsip.org> http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org <http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
JA
Jerry Augustine
Fri, Mar 26, 2010 7:23 PM

All,

Is it possible to make multiple outbound calls simultaneously from the same
instance of CallManager?

I am attempting on developing a dialer solution. Is there some sample code /
project out there?

Any help / guidance would be appreciated.

Regards,
Jerry.

All, Is it possible to make multiple outbound calls simultaneously from the same instance of CallManager? I am attempting on developing a dialer solution. Is there some sample code / project out there? Any help / guidance would be appreciated. Regards, Jerry.
JB
Jeff Brower
Fri, Mar 26, 2010 8:14 PM

Dharmen-

Am currently using Audioscience cards with pjsip , with 8 incoming and 8 outgoing,
works like a beauty.  I wouldn’t recommend those USB sound cards, had terrible
nightmares with them. Anyway they still might work so just my own 2 cents.

Which specific ASI cards are you using?

Thanks.

-Jeff

Sounds like you are using OSS (it uses /dev/dsp*) , you need to install ALSA and
configure it properly, pjsip which uses portaudio requires ALSA if im not mistaken
and wont work with OSS.

You can then assign input/output ports in the pjsip configuration files.  There is
a command line utility in the samples directory called sndinfo-i686-pc-linux-gnu
which you can use to identify which channels of your sound card are accessible by
pjsip etc.

If you install the cards with ALSA , you can type aplay –l (L)  or aplay –L  to
list the devices/sound cards that are connected.  They will be something like
card0 , card1 , card2 etc.  Once this is done correctly , you can
configure/install pjsip and then use the sndinfo to get the id of each card,
configure them in the pjsip.conf and it should work

Regards


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On
Behalf Of Jeffrey Ross
Sent: Tuesday, March 23, 2010 12:34 PM
To: pjsip@lists.pjsip.org
Subject: [pjsip] Multiple sound cards and pjsip

I wish to receive 10 mono voice channels connected directly into a remote machine
and have them sent via pjsip to my local machine.  The local machine will send one
voice channel back to the remote machine.  At present I'm investigating if I can
get 10 USB sound cards to work in Linux and to do so reliably.  For testing I plan
to modify pjsua to specify a list of device names to be opened, eg /dev/dsp0, ..
/dev/dsp9.  It looks like pjsua tries to open /dev/dsp (although I can't see where
it picks up that device name from).
Has anyone succeeded in getting multiple sound cards to work with pjsip?
Any hints?

Dharmen- > Am currently using Audioscience cards with pjsip , with 8 incoming and 8 outgoing, > works like a beauty. I wouldn’t recommend those USB sound cards, had terrible > nightmares with them. Anyway they still might work so just my own 2 cents. Which specific ASI cards are you using? Thanks. -Jeff > Sounds like you are using OSS (it uses /dev/dsp*) , you need to install ALSA and > configure it properly, pjsip which uses portaudio requires ALSA if im not mistaken > and wont work with OSS. > > You can then assign input/output ports in the pjsip configuration files. There is > a command line utility in the samples directory called sndinfo-i686-pc-linux-gnu > which you can use to identify which channels of your sound card are accessible by > pjsip etc. > > If you install the cards with ALSA , you can type aplay –l (L) or aplay –L to > list the devices/sound cards that are connected. They will be something like > card0 , card1 , card2 etc. Once this is done correctly , you can > configure/install pjsip and then use the sndinfo to get the id of each card, > configure them in the pjsip.conf and it should work > > Regards > > ----------------------------------------------------------------------------------- > > From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On > Behalf Of Jeffrey Ross > Sent: Tuesday, March 23, 2010 12:34 PM > To: pjsip@lists.pjsip.org > Subject: [pjsip] Multiple sound cards and pjsip > > I wish to receive 10 mono voice channels connected directly into a remote machine > and have them sent via pjsip to my local machine. The local machine will send one > voice channel back to the remote machine. At present I'm investigating if I can > get 10 USB sound cards to work in Linux and to do so reliably. For testing I plan > to modify pjsua to specify a list of device names to be opened, eg /dev/dsp0, .. > /dev/dsp9. It looks like pjsua tries to open /dev/dsp (although I can't see where > it picks up that device name from). > Has anyone succeeded in getting multiple sound cards to work with pjsip? > Any hints?