Play back of audio with the 'playback' command produced garbled audio. First, I found a message complaining that the sample rate was 8K instead of 16K - re-sampling brought no joy. (This begs the questions - what is the best audio format for playback of messages? File type - sample rate? etc - If I record via the 'record' application, the file is : Sample Rate : 8000 Precision : 16-bit Bit Rate : 128k Sample Encoding: 16-bit Signed Integer PCM But is seems to expect 16000 sample rates to play back? What is the internal audio traffic in freeswitch based on? ) <back to main issue > Then I noticed that the garbling occurred on a polycom IP560 phone as the zrtp utils messages were getting dumped in the log. Doing a global_setvar zrtp_secure_media=false Fixes the problem. Seems like this should fail more gracefully? I have the latest Debian - 1.2.12~2-1~wheezy+1 ( Placing <variable name="zrtp_secure_media" value="false" /> in the directory entry also fixes the problem ) EXECUTE sofia/internal/11@hostname playback(mysounds/answer.wav) 2013-10-10 00:53:44.989857 [DEBUG] switch_ivr_play_say.c:1315 Codec Activated L16@16000hz 1 channels 20ms 2013-10-10 00:53:45.010017 [DEBUG] switch_core_session.c:999 Send signal sofia/internal/11@hostname [BREAK] 2013-10-10 00:53:45.010017 [DEBUG] switch_core_session.c:999 Send signal sofia/internal/11@hostname [BREAK] 2013-10-10 00:53:45.010017 [DEBUG] switch_core_session.c:999 Send signal sofia/internal/11@hostname [BREAK] 2013-10-10 00:53:45.029906 [DEBUG] sofia.c:5720 Channel sofia/internal/11@hostname entering state [ready][200] 2013-10-10 00:53:45.049900 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36849 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:45.129740 [DEBUG] switch_rtp.c:3706 Correct ip/port confirmed. 2013-10-10 00:53:45.149778 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36850 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:45.349846 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36851 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:45.549840 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36852 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:45.749841 [DEBUG] switch_rtp.c:928 [ zrtp engine]: WARNING! HELLO have been resent 5 times without a response. Raising ZRTP_EVENT_NO_ZRTP_QUICK event. ID=39 2013-10-10 00:53:45.749841 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36853 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:45.949840 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36854 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:46.149819 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36855 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:46.349793 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36856 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:46.549841 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36857 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:46.749792 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36858 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:46.969846 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36859 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:47.169786 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36860 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:47.369841 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36861 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:47.569842 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36862 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:47.769850 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36863 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:47.969844 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36864 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:48.169838 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36865 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:48.369839 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36866 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:48.569849 [DEBUG] switch_rtp.c:928 [ zrtp utils]: Send <HELLO> ssrc=307819312 seq=36867 size=144. Stream 39:CLEAR:START 2013-10-10 00:53:48.769843 [DEBUG] switch_rtp.c:928 [ zrtp engine]: WARNING! HELLO Max retransmissions count reached (20 retries). ID=39 2013-10-10 00:53:48.769843 [DEBUG] switch_rtp.c:928 [ zrtp]: Stream ID=39 CLEAR switching <START> ---> <NOZRTP>. 2013-10-10 00:53:51.569844 [DEBUG] switch_core_session.c:999 Send signal sofia/internal/11@hostname [BREAK] -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Borrow money from pessimists - they don't expect it back. --------------------------------------------------------------------------------
On 10/10/2013 08:29 AM, Karl Schmidt wrote: [snip]
Then I noticed that the garbling occurred on a polycom IP560 phone as the zrtp utils messages were getting dumped in the log.
Doing a
global_setvar zrtp_secure_media=false
Fixes the problem. Seems like this should fail more gracefully?
I have the latest Debian - 1.2.12~2-1~wheezy+1
( Placing <variable name="zrtp_secure_media" value="false" /> in the directory entry also fixes the problem )
If you think it's a bug then please do file a bug in Jira. Issues reported on the mailing list tend to get lost in the noise. So if you want something fixed, Jira is the only way. Regards, Patrick
participants (2)
-
Karl Schmidt
-
Patrick Lists