[pjsua] Failure using kernel 2.6.39

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

 



Hi list,

I have been using PJSUA 1.0.1 for a long time under a Linux Slackware distro with kernel 2.6.16.16. Executing ./pjsua --version I get these lines:

/***************************************************************************************************************************************/
-bash-3.00# ./pjsua --version
 14:07:28.543 os_core_unix.c  pjlib 1.0.1 for POSIX initialized
 14:07:28.548 sip_endpoint.c  Creating endpoint instance...
 14:07:28.550          pjlib  select() I/O Queue created (0x81a0c80)
 14:07:28.551 sip_endpoint.c  Module "mod-msg-print" registered
 14:07:28.551 sip_transport.  Transport manager created.
 14:07:28.551       config.c  PJLIB (c)2008-2009 Teluu Inc.
 14:07:28.552       config.c  Dumping configurations:
 14:07:28.552       config.c   PJ_VERSION                : 1.0.1
 14:07:28.552       config.c   PJ_M_NAME                 : i586
 14:07:28.552       config.c   PJ_HAS_PENTIUM            : 0
 14:07:28.552       config.c   PJ_OS_NAME                : i586-pc-linux-gnu
 14:07:28.552       config.c   PJ_CC_NAME/VER_(1,2,3)    : gcc-3.3.6
 14:07:28.552       config.c   PJ_IS_(BIG/LITTLE)_ENDIAN : little-endian
 14:07:28.552       config.c   PJ_HAS_INT64              : 1
 14:07:28.552       config.c   PJ_HAS_FLOATING_POINT     : 1
 14:07:28.553       config.c   PJ_DEBUG                  : 1
 14:07:28.553       config.c   PJ_FUNCTIONS_ARE_INLINED  : 0
 14:07:28.553       config.c   PJ_LOG_MAX_LEVEL          : 5
 14:07:28.553       config.c   PJ_LOG_MAX_SIZE           : 2000
 14:07:28.553       config.c   PJ_LOG_USE_STACK_BUFFER   : 1
 14:07:28.553       config.c   PJ_POOL_DEBUG             : 0
 14:07:28.553       config.c   PJ_HAS_POOL_ALT_API       : 0
 14:07:28.553       config.c   PJ_HAS_TCP                : 1
 14:07:28.553       config.c   PJ_MAX_HOSTNAME           : 128
 14:07:28.553       config.c   ioqueue type              : select
 14:07:28.553       config.c   PJ_IOQUEUE_MAX_HANDLES    : 64
 14:07:28.554       config.c   PJ_IOQUEUE_HAS_SAFE_UNREG : 1
 14:07:28.554       config.c   PJ_HAS_THREADS            : 1
 14:07:28.554       config.c   PJ_LOG_USE_STACK_BUFFER   : 1
 14:07:28.554       config.c   PJ_HAS_SEMAPHORE          : 1
 14:07:28.554       config.c   PJ_HAS_EVENT_OBJ          : 1
 14:07:28.554       config.c   PJ_ENABLE_EXTRA_CHECK     : 1
 14:07:28.554       config.c   PJ_HAS_EXCEPTION_NAMES    : 1
 14:07:28.554       config.c   PJ_MAX_EXCEPTION_ID       : 16
 14:07:28.554       config.c   PJ_EXCEPTION_USE_WIN32_SEH: 0
 14:07:28.554       config.c   PJ_TIMESTAMP_USE_RDTSC:   : 0
 14:07:28.554       config.c   PJ_OS_HAS_CHECK_STACK     : 0
 14:07:28.555       config.c   PJ_HAS_HIGH_RES_TIMER     : 1
/***************************************************************************************************************************************/

Recently, I have updated Linux kernel (just the kernel image & modules) from 2.6.16.16 to 2.6.39. This update has crashed
my communications between two machines running PJSUA 1.0.1....I get too much audio drop-outs so it is not working well.

I have checked the Troubleshooting pages:

http://trac.pjsip.org/repos/wiki/audio-problem-breakups

http://trac.pjsip.org/repos/wiki/audio-problem-dropouts


I have also tried to build the latest stable version 1.10.0 but the sound I get using the new kernel gets even worse...

I usually execute pjsua as follows:

/***************************************************************************************************************************************/

./pjsua --ec-opt=0 --ec-tail=256  --add-codec pcma --clock-rate 8000 --no-vad --quality 10 --log-level=0 --app-log-level=0 sip:A.B.C.D

/***************************************************************************************************************************************/

And the modules loaded at bootup time are:

/***************************************************************************************************************************************/
modprobe soundcore 
modprobe snd 
modprobe snd_cs5535audio 
modprobe snd_ac97_codec 
modprobe snd_pcm
modprobe snd_timer 
modprobe ac97_bus         
modprobe snd_page_alloc 
modprobe snd_pcm_oss 
modprobe snd_mixer_oss

# Alsamixer initial settings:
amixer -q set 'Master' unmute '80%'
amixer -q set 'Master Mono' unmute '80%'
amixer -q set 'PCM' unmute '80%'
amixer -q set 'Capture' unmute '33%'
amixer -q set 'Line' '0%' cap
/***************************************************************************************************************************************/

Has anyone got a problem similar to mine? May it be the sound driver the one causing the problem? How could I configure it?

Thanks in advance,

Alvaro 



 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111004/d0af06f6/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