Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.2.0
-
Fix Version/s: 1.2.0
-
Component/s: freeswitch-core
-
Labels:None
-
Environment:osX 10.6.8 on Mac Mini
-
Platform:OS/X/gcc
-
Uname:Darwin Mac-mini.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
-
CPU Info:Core 2 Duo
-
GCC Version:i686-apple-darwin10-llvm-gcc-4.2
-
FreeSWITCH GIT Revision:FreeSWITCH Version 1.2.0 (git-c985853 2012-05-08 20-45-05 +0000)
-
Reproduced with GIT HEAD?:Yes
-
Target Version:
Description
Starting with git May 5 and May 8, my early media which is made up of 2 custom wav files followed by rings (see below), plays silence in place of the wav files most of the time. The caller hears the wav files about 1 out of 10 calls, then rings. When I return to git May 1 or earlier early media wav files play 100 percent of the time as since 2010. I ran traces for working and failing gits and they are identical. That is, FS set the early media as usual. I will be glad to provide additional info but need instructions since the working/non working are identical. I did update 5/8 with ./bootstrap.sh and ./configure --with-openssl before the make current. Note no changes have been made to the config file, only git updates.
The xxsounds variable contains the path/filename:
<action application="set" data="ringback=file_string://${xxsounds}hi-long.wav!${sayname}!tone_stream://${us-ring};loops=-1"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="{originate_timeout=17}${group_call(everyone@${domain_name}+A)}"/>
Test traces are identical:
2012-05-08 15:59:10.846038 [DEBUG] switch_ivr_originate.c:1235 Play Ringback File [file_string:///usr/local/freeswitch/conf/xxsounds/hi-long.wav!/usr/local/freeswitch/conf/xxsounds/mario.wav!tone_stream://%(2000,4000,440,480);loops=-1]
2012-05-08 15:59:10.846038 [DEBUG] switch_core_file.c:180 File /usr/local/freeswitch/conf/xxsounds/hi-long.wav sample rate 16000 doesn't match requested rate 8000
2012-05-08 15:59:10.846038 [DEBUG] sofia.c:5677 Channel sofia/internal/sip:111@12.228.1.26:54035 entering state [proceeding][180]
2012-05-08 15:59:10.846038 [DEBUG] switch_core_session.c:919 Send signal sofia//xxxxxcc/19161112222@12.123.123.35 [BREAK]
2012-05-08 15:59:10.846038 [NOTICE] sofia.c:5769 Ring-Ready sofia/internal/sip:111@12.228.1.26:54035!
2012-05-08 15:59:10.846038 [DEBUG] sofia.c:5670 Channel sofia/xxxxxcc/19161112222@12.123.123.35 skipping state [early][183]
2012-05-08 15:59:11.445209 [DEBUG] switch_rtp.c:3253 Correct ip/port confirmed.
2012-05-08 15:59:12.285314 [DEBUG] switch_core_file.c:180 File /usr/local/freeswitch/conf/xxsounds/mario.wav sample rate 16000 doesn't match requested rate 8000
The xxsounds variable contains the path/filename:
<action application="set" data="ringback=file_string://${xxsounds}hi-long.wav!${sayname}!tone_stream://${us-ring};loops=-1"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="{originate_timeout=17}${group_call(everyone@${domain_name}+A)}"/>
Test traces are identical:
2012-05-08 15:59:10.846038 [DEBUG] switch_ivr_originate.c:1235 Play Ringback File [file_string:///usr/local/freeswitch/conf/xxsounds/hi-long.wav!/usr/local/freeswitch/conf/xxsounds/mario.wav!tone_stream://%(2000,4000,440,480);loops=-1]
2012-05-08 15:59:10.846038 [DEBUG] switch_core_file.c:180 File /usr/local/freeswitch/conf/xxsounds/hi-long.wav sample rate 16000 doesn't match requested rate 8000
2012-05-08 15:59:10.846038 [DEBUG] sofia.c:5677 Channel sofia/internal/sip:111@12.228.1.26:54035 entering state [proceeding][180]
2012-05-08 15:59:10.846038 [DEBUG] switch_core_session.c:919 Send signal sofia//xxxxxcc/19161112222@12.123.123.35 [BREAK]
2012-05-08 15:59:10.846038 [NOTICE] sofia.c:5769 Ring-Ready sofia/internal/sip:111@12.228.1.26:54035!
2012-05-08 15:59:10.846038 [DEBUG] sofia.c:5670 Channel sofia/xxxxxcc/19161112222@12.123.123.35 skipping state [early][183]
2012-05-08 15:59:11.445209 [DEBUG] switch_rtp.c:3253 Correct ip/port confirmed.
2012-05-08 15:59:12.285314 [DEBUG] switch_core_file.c:180 File /usr/local/freeswitch/conf/xxsounds/mario.wav sample rate 16000 doesn't match requested rate 8000
Activity
Anthony Minessale II
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Mario G
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
I am going to take a guess what it was and push a patch.
Please update to latest and see if it works now.