VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jason at jasonjgw.net Guest
|
Posted: Sun Jan 25, 2009 4:25 am Post subject: [Freeswitch-users] PortAudio not closing audio device proper |
|
|
Under revision 11484, if I make a call using PortAudio:
pa call <extension>
then hang up the call:
pa hangup
and after that, try to access the same audio device with other software, I get
a "device or resource busy" error.
This is using Alsa under Debian Sid, kernel 2.6.26.
Shutting down FreeSWITCH fixes this.
This is also a regression compared with the earlier version of FreeSWITCH that
I was running before doing the latest build.
It seems to me that the device isn't being closed as it should be when the
last call hangs up.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Jan 25, 2009 4:57 am Post subject: [Freeswitch-users] PortAudio not closing audio device proper |
|
|
Thats really odd since we never close the audio device anymore. Can you open a jira with the proper debug info so I can take a look at it? Please assign it to "brian" when reporting.
http://jira.freeswitch.org
Include debug log, double check you're on svn trunk... and then collect the info and attach it to the jira. Please don't paste logs inline its harder to read
/b
On Jan 25, 2009, at 3:24 AM, Jason White wrote:
Quote: | Under revision 11484, if I make a call using PortAudio:
pa call <extension>
then hang up the call:
pa hangup
and after that, try to access the same audio device with other software, I get
a "device or resource busy" error.
This is using Alsa under Debian Sid, kernel 2.6.26.
Shutting down FreeSWITCH fixes this.
This is also a regression compared with the earlier version of FreeSWITCH that
I was running before doing the latest build.
It seems to me that the device isn't being closed as it should be when the
last call hangs up.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Jan 25, 2009 5:11 am Post subject: [Freeswitch-users] PortAudio not closing audio device proper |
|
|
Oh so its a problem with your linux distro and how it setups up the
sound card... aren't there things for Linux that allow multiple access
to the sound hardware? ESD?
/b
On Jan 25, 2009, at 4:02 AM, Jason White wrote:
Quote: | Maybe we're misunderstanding each other here. Not closing the audio
device
anymore is the bug, because trying to access that device with
another audio
program (e.g., a sound file player outside FreeSWITCH) fails, even
after all
FreeSWITCH calls have hung up, because FreeSWITCH is still holding
the audio
device open.
Would it be possible to have a configuration parameter that says, in
effect,
close the audio device when it isn't being used?
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Sun Jan 25, 2009 4:19 pm Post subject: [Freeswitch-users] PortAudio not closing audio device proper |
|
|
I'll try another approach.
try latest trunk and see how that works?
On Sun, Jan 25, 2009 at 4:19 AM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|