No sound after first call on ARM embedded platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anne,

Sorry, I typed portaudio, it was actually PulseAudio that was causing my problems.  Check if PulseAudio is running on your system.  As  I recall it will restart after issuing the kill command so you may have to find the specific conf file being that your system doesn't have the asound.conf.

R,
Martin Woscek
MITRE Corp.
mwoscek at mitre.org<mailto:mwoscek at mitre.org>
Phone: 703-983-2650
FAX: 703-983-7142

From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of Anne Potgieter
Sent: Thursday, April 11, 2013 7:01 AM
To: pjsip at lists.pjsip.org
Subject: Re: No sound after first call on ARM embedded platform

Martin,

Unfortunatly the /etc/asound.conf file is already missing on this platform. I also removed the ~/.asoundrc file in my home directory before all of my tests. I have done some tests before with the PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO define in 'config_site.h' disabled and the 'PJMEDIA_AUDIO_DEV_HAS_ALSA' enabled. This did not work either.

Thanks,

Anne

2013/4/11 <pjsip-request at lists.pjsip.org<mailto:pjsip-request at lists.pjsip.org>>
Send pjsip mailing list submissions to
        pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
or, via email, send a message with subject or body 'help' to
        pjsip-request at lists.pjsip.org<mailto:pjsip-request at lists.pjsip.org>

You can reach the person managing the list at
        pjsip-owner at lists.pjsip.org<mailto:pjsip-owner at lists.pjsip.org>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pjsip digest..."

Today's Topics:

   1. Re: No sound after first call on ARM embedded platform
      (Woscek, Martin W.)


---------- Doorgestuurd bericht ----------
From: "Woscek, Martin W." <mwoscek@xxxxxxxxx<mailto:mwoscek at mitre.org>>
To: pjsip list <pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>>
Cc:
Date: Thu, 11 Apr 2013 10:43:09 +0000
Subject: Re: No sound after first call on ARM embedded platform
Hi Anne,

I had issues with ALSA a while back, mainly sample rates required by the CODEC selected for a given call.
After I disabled portaudio altogether the CODEC sampling rate problems went away.

To disable portaudio (at least how I did it) I renamed the /etc/asound.conf file to something like
/etc/asound.conf_DISABLE and rebooted the device.

Might be worth a try, please let me know if that works ( I save information like this :))

Regards,
Martin Woscek
mwoscek at mitre.org<mailto:mwoscek at mitre.org>
Office:703-983-2650
FAX:   703-983-7142

From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx<mailto:pjsip-bounces at lists.pjsip.org>] On Behalf Of Anne Potgieter
Sent: Thursday, April 11, 2013 2:45 AM
To: pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
Subject: No sound after first call on ARM embedded platform

Hi,

We are trying to embed PJSIP within our embedded application on a Variscite AM3517 ARM based Linux V2.6.34 board. We have done this on a different platform before using PJSIP 1.x without any problems. Unfortunately we have a problem with the latest PJSIP V2.1. We can only establish sound using our first call. When we disconnect this call and redial (from our phone to the PJSIP ARM device) the SIP call is established correctly (we can send and receive DTMF and there are no errors) but there is no sound from our speaker and microphone. We have tested the same application on a X86 Linux machine without any problems. It looks like PJSIP is not opening the ALSA device correctly for the second time. We can establish a single call again after a full restart of the application.

We are using ALSA with the PortAudio configuration. Our microphone is connected to the line-in of the board. The sound tests of PJSIP returns without any problems (we can even play sound twice). Playing/recording sound using ALSA (aplay, arecord etc.) as not revealed any problems. I have included a log with some PJSIP debug information.

Could anyone tell us what the problem could be?

Thanks,

Anne

_______________________________________________
pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



--
Met vriendelijke groet,

A.J. Potgieter
Software engineer afd. R&D
Avics B.V.

Email: A.Potgieter at avics.nl<mailto:A.Potgieter at avics.nl>
Tel.: +31 (0)88 911 0 911
Fax: +31 (0)88 911 0 915
Mobiel: +31 (0)6 527 10 504
Adres: Scheepswervenweg 1, 9608 PD Westerbroek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130411/198d28e2/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux