Need help with PortAudio
I am trying to get portaudio working, and have run into a couple of problems 1) If portaudio cannot access the device, it causes freeswitch to segfault 2) I have set up a dialplan following the intercom example which seems to be working, but I get no audio. I have tried setting every device shown in devlist as the output device. 3) When I issue a "pa play". the cli hangs, even if I give it a timeout. Any thoughts?
On 21-12-11 04:45, Rob Hutton wrote:
I am trying to get portaudio working, and have run into a couple of problems
1) If portaudio cannot access the device, it causes freeswitch to segfault
2) I have set up a dialplan following the intercom example which seems to be working, but I get no audio. I have tried setting every device shown in devlist as the output device.
3) When I issue a "pa play". the cli hangs, even if I give it a timeout.
Any thoughts?
I think someone reported on the mailing list a while back that he solved his troubles with portaudio by upgrading the portaudio source to the latest stable release which currently is: http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz Regards, Patrick
It looks like portaudio has completely changed, and pablio no longer works. Has anyone started an effort to rewrite mod_portaudio for portaudio v19? I have seen a couple of notes of new code on the list, but haven't seen anything... On Wednesday 21 December 2011 06:01:13 Patrick Lists wrote:
On 21-12-11 04:45, Rob Hutton wrote:
I am trying to get portaudio working, and have run into a couple of problems
1) If portaudio cannot access the device, it causes freeswitch to segfault
2) I have set up a dialplan following the intercom example which seems to be working, but I get no audio. I have tried setting every device shown in devlist as the output device.
3) When I issue a "pa play". the cli hangs, even if I give it a timeout.
Any thoughts?
I think someone reported on the mailing list a while back that he solved his troubles with portaudio by upgrading the portaudio source to the latest stable release which currently is:
http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
Regards, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
I am using portaudio 19_pre20110326 with no problems. Its not great under Linux, but I am not getting seg faults. Rob Hutton <justlikeef@gmail.com> wrote:
It looks like portaudio has completely changed, and pablio no longer works. Has anyone started an effort to rewrite mod_portaudio for portaudio v19? I have seen a couple of notes of new code on the list, but haven't seen anything...
On Wednesday 21 December 2011 06:01:13 Patrick Lists wrote:
On 21-12-11 04:45, Rob Hutton wrote:
I am trying to get portaudio working, and have run into a couple of problems
1) If portaudio cannot access the device, it causes freeswitch to segfault
2) I have set up a dialplan following the intercom example which seems to be working, but I get no audio. I have tried setting every device shown in devlist as the output device.
3) When I issue a "pa play". the cli hangs, even if I give it a timeout.
Any thoughts?
I think someone reported on the mailing list a while back that he solved his troubles with portaudio by upgrading the portaudio source to the latest stable release which currently is:
http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
Regards, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
What module are you using? According to the wiki, pablio is no longer maintained or working... On Thursday 22 December 2011 02:31:35 covici@ccs.covici.com wrote:
I am using portaudio 19_pre20110326 with no problems. Its not great under Linux, but I am not getting seg faults.
Rob Hutton <justlikeef@gmail.com> wrote:
It looks like portaudio has completely changed, and pablio no longer works. Has anyone started an effort to rewrite mod_portaudio for portaudio v19? I have seen a couple of notes of new code on the list, but haven't seen anything...
On Wednesday 21 December 2011 06:01:13 Patrick Lists wrote:
On 21-12-11 04:45, Rob Hutton wrote:
I am trying to get portaudio working, and have run into a couple of problems
1) If portaudio cannot access the device, it causes freeswitch to segfault
2) I have set up a dialplan following the intercom example which seems to be working, but I get no audio. I have tried setting every device shown in devlist as the output device.
3) When I issue a "pa play". the cli hangs, even if I give it a timeout.
Any thoughts?
I think someone reported on the mailing list a while back that he solved his troubles with portaudio by upgrading the portaudio source to the latest stable release which currently is:
http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
Regards, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Also, if you can reproduce the segfault on latest git then please open a Jira ticket so that the devs can address it. -MC On Tue, Dec 20, 2011 at 7:45 PM, Rob Hutton <justlikeef@gmail.com> wrote:
**
I am trying to get portaudio working, and have run into a couple of problems
1) If portaudio cannot access the device, it causes freeswitch to segfault
2) I have set up a dialplan following the intercom example which seems to be working, but I get no audio. I have tried setting every device shown in devlist as the output device.
3) When I issue a "pa play". the cli hangs, even if I give it a timeout.
Any thoughts?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
I will do so. I am seeing the segfault in several freeswitch modules when they can't access resources that they need access to. I have been building an AppArmor profile. If there is a way to protect from this in the core, it might be a good addition... On Wednesday 21 December 2011 11:23:28 Michael Collins wrote:
Also, if you can reproduce the segfault on latest git then please open a Jira ticket so that the devs can address it.
-MC
On Tue, Dec 20, 2011 at 7:45 PM, Rob Hutton <justlikeef@gmail.com> wrote:
**
I am trying to get portaudio working, and have run into a couple of problems
1) If portaudio cannot access the device, it causes freeswitch to segfault
2) I have set up a dialplan following the intercom example which seems to be working, but I get no audio. I have tried setting every device shown in devlist as the output device.
3) When I issue a "pa play". the cli hangs, even if I give it a timeout.
Any thoughts?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (4)
-
covici@ccs.covici.com
-
Michael Collins
-
Patrick Lists
-
Rob Hutton