[pjsua] Failure using kernel 2.6.39

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

 



Hi,

I tried to follow your instructions, so I built pjproject-1.10 (with and without 
#define PJMEDIA_AUDIO_DEV_HAS_ALSA 1).

My first test was to run pjsystest under the old-kernel machine (Linux 2.6.16.16)
and under Linux 2.6.39. I found that in both Linux the microphone wasn?t working in the recording test... 
so I found the problem was pjsua (both versions) was detecting 3 sound devices and assigning the wrong
one to the microphone.

The correct one was "default" as it opened:

Port #00[ 8KHz/20ms/1] CS5535 Audio: CS5535 Audio (hw:0,0)  transmitting to: #3.

and wasn?t working.

Now, I launch pjsua (1.0.1 and 1.10.0) with this command:

/mntDAT/VoIP/pjsua --ec-tail=256 --ec-opt=0 --add-codec pcma --clock-rate 8000 --no-vad --quality 10 \
--app-log-level=0 --capture-dev=1 --playback-dev=1 --auto-answer=200

Afterwards, I made some tests under Linux 2.6.16.16 and 2.6.39. 

The "client" is pjsua 1.0.1 running under Linux 2.6.16.16:

/mntDAT/VoIP/pjsua --ec-tail=256 --ec-opt=0 --add-codec pcma --clock-rate 8000 --no-vad --quality 10 \
--log-file=client.log --log-level=6 --app-log-level=0 --duration=300 sip:172.22.195.24

The "server" tested both pjsuas under both kernels:

/mntDAT/VoIP/pjsua --ec-tail=256 --ec-opt=0 --add-codec pcma --clock-rate 8000 --no-vad --quality 10 \
--log-file=server.log --log-level=6 --app-log-level=0 --capture-dev=1 --playback-dev=1 --auto-answer=200

The main results are:

- Linux 2.6.16.16 -> pjsua working OK in both versions.
- Linux 2.6.39 -> pjsua 1.0.1 more or less OK (sometimes the sound drops...)
                  pjsua 1.10.0 not working. Also, gets blocked and cannot press 'q' in order to exit.

I attach some logs. I hope you could help me by having a look at them:

Test1: Client Linux 2.6.16.16, pjsua 1.0.1 - Server Linux 2.6.39, pjsua 1.0.1
Test2: Client Linux 2.6.16.16, pjsua 1.0.1 - Server Linux 2.6.39, pjsua 1.10.0
Test3: (the same as Test 2) Client Linux 2.6.16.16, pjsua 1.0.1 - Server Linux 2.6.39, pjsua 1.10.0

Thanks in advance.





 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111013/7425b17d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client_1.log
Type: text/x-log
Size: 146116 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111013/7425b17d/attachment-0006.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client_2.log
Type: text/x-log
Size: 21081 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111013/7425b17d/attachment-0007.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client_3.log
Type: text/x-log
Size: 19834 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111013/7425b17d/attachment-0008.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server_1.log
Type: text/x-log
Size: 57110 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111013/7425b17d/attachment-0009.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server_2.log
Type: text/x-log
Size: 16384 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111013/7425b17d/attachment-0010.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server_3.log
Type: text/x-log
Size: 17408 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111013/7425b17d/attachment-0011.log>


[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