Re: [Ekiga-list] No sound with Ekiga



Wilfred van den Assem wrote:
> 
>> Wilfred van den Assem wrote:
>>> Hello,
>>>
>>>     
>>>
>>>     Ive build ekige just fine and it runs fine but when I receive a call, there is no ringing sound. This is what I get from ekige -d 4:
>>>
>>>     
>>>
>>>     2010/01/24 13:47:07.412      1:39.594       CallSetup:0x75240910    OpalUDP    Setting interface to 192.168.1.101%eth0
>>>
>>>     2010/01/24 13:47:07.412      1:39.594       CallSetup:0x75240910    OpalCon    SetPhase from SetUpPhase to AlertingPhase for Call[C193943361]-EP<sip>[c8f4d53f-5407-df11-8ea5-001a4d4c2307]
>>>
>>>     2010/01/24 13:47:07.413      1:39.594       CallSetup:0x75240910    OpalCon    OnSetUpConnectionCall[C193943361]-EP<pc>[P48b71de32]
>>>
>>>     2010/01/24 13:47:07.413      1:39.594       CallSetup:0x75240910    OpalEP    OnSetUpConnection Call[C193943361]-EP<pc>[P48b71de32]
>>>
>>>     2010/01/24 13:47:07.413      1:39.594       CallSetup:0x75240910    PTLib    Thread ended: name="CallSetup:0x75240910", real=0.002, kernel=0.000 (0%), user=0.000 (0%), both=0.000 (0%)
>>>
>>>     2010/01/24 13:47:07.498      1:39.679                               AEScheduler    Adding Event incoming_call_sound 4000/256 to queue
>>>
>>>     2010/01/24 13:47:07.498      1:39.679    AudioEvent...0x95ab9910    AEScheduler    Checking pending list with 1 elements
>>>
>>>     2010/01/24 13:47:07.498      1:39.679    AudioEvent...0x95ab9910    AEScheduler    Trying to load /usr/local/share/sounds/ekiga/ring.wav for event incoming_call_sound
>>>
>>>     2010/01/24 13:47:07.498      1:39.679    AudioEvent...0x95ab9910    AEScheduler    Trying to load /usr/share/sounds/ekiga/usr/local/share/sounds/ekiga/ring.wav for event incoming_call_sound
>>>
>>>     2010/01/24 13:47:08.800      1:40.981     Housekeeper:0x80c80910    PWLib    File handle low water mark set: 54 PUDPSocket
>>>
>>>     2010/01/24 13:47:11.498      1:43.680    AudioEvent...0x95ab9910    AEScheduler    Checking pending list with 1 elements
>>>
>>>     2010/01/24 13:47:11.498      1:43.680    AudioEvent...0x95ab9910    AEScheduler    Trying to load /usr/local/share/sounds/ekiga/ring.wav for event incoming_call_sound
>>>
>>>     2010/01/24 13:47:11.499      1:43.680    AudioEvent...0x95ab9910    AEScheduler    Trying to load /usr/share/sounds/ekiga/usr/local/share/sounds/ekiga/ring.wav for event incoming_call_sound
>>>
>>>     2010/01/24 13:47:15.498      1:47.679    AudioEvent...0x95ab9910    AEScheduler    Checking pending list with 1 elements
>>>
>>>     2010/01/24 13:47:15.498      1:47.680    AudioEvent...0x95ab9910    AEScheduler    Trying to load /usr/local/share/sounds/ekiga/ring.wav for event incoming_call_sound
>>>
>>>     2010/01/24 13:47:15.498      1:47.680    AudioEvent...0x95ab9910    AEScheduler    Trying to load /usr/share/sounds/ekiga/usr/local/share/sounds/ekiga/ring.wav for event incoming_call_sound
>>>
>>>     2010/01/24 13:47:19.498      1:51.679    AudioEvent...0x95ab9910    AEScheduler    Checking pending list with 1 elements
>>>
>>>     2010/01/24 13:47:19.498      1:51.680    AudioEvent...0x95ab9910    AEScheduler    Trying to load /usr/local/share/sounds/ekiga/ring.wav for event incoming_call_sound
>>>
>>>     2010/01/24 13:47:19.498      1:51.680    AudioEvent...0x95ab9910    AEScheduler    Trying to load /usr/share/sounds/ekiga/usr/local/share/sounds/ekiga/ring.wav for event incoming_call_sound
>>>
>>>     
>>>
>>>     I see Ekiga is searching in many places but not in /usr/share/sounds/ekiga/*
>>>
>>>     And thats the place where are the sounds:
>>>
>>>     
>>>
>>>     ls /usr/share/sounds/ekiga
>>>
>>>     busytone.wav  dialtone.wav  newmessage.wav  ring.wav  voicemail.wav
>>>
>>>     
>>>
>>>     This is the build part of my SPEC file:
>>>
>>>     
>>>
>>>     ./autogen.sh \
>>>
>>>         --prefix=%{_prefix} \
>>>
>>>         --with-boost-libdir=/usr/lib64 \
>>>
>>>         --enable-gstreamer \
>>>
>>>         --enable-dbus \
>>>
>>>          CFLAGS="-fexceptions" CXXFLAGS="-fexceptions"
>>>
>>>     
>>>
>>>     What can I do to let Ekiga search in the right folder?
>>>
>>>
>>>
>>>
>>> What's the value of _prefix ?
>>>
>>> The default value is /usr on my opensuse 11.2 box.
>>> I build many other rpm for me and for my family and always use --prefix=%{_prefix} in the SPEC file. 
>>> The executable is installed in /usr/bin/ and the libs are in /usr/lib64/ekiga/
>>> In /usr/local there is nothing installed.
>> Try using --prefix=/usr instead of --prefix=%{_prefix} .
>>
> Did it but makes no difference. When building the RPM it says 
> Installing into prefix  :  /usr

Well, I am out of ideas...  The simplest thing is that you find out
yourself where the problem is and inform us too.  My feeling is that
there is strange configuration on your machine.

You could print the value of datadir variable at different stages, for
ex. I see it is set in configure.ac, and it is used in
sounds/Makefile.am.  Also, add printf in
lib/engine/audiooutput/audiooutput-scheduler.cpp, function load_wav to
see what are is the path (complete file name) passed there.

-- 
Eugen


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