[Freeswitch-users] ZRTP init failed!

mehroz mehroz.ashraf85 at gmail.com
Tue Mar 19 11:15:40 MSK 2013


Hi all,

What is this error caused by?
ZRTP init failed!

I see in logs starting up Freeswitch deamon.

2013-03-19 07:54:20.425202 [DEBUG] switch_rtp.c:916  [   zrtp main]:
INITIALIZING LIBZRTP...
2013-03-19 07:54:20.425224 [DEBUG] switch_rtp.c:916  [        zrtp]:
============================================================
2013-03-19 07:54:20.425234 [DEBUG] switch_rtp.c:916  [        zrtp]: ZRTP
Configuration Settings
2013-03-19 07:54:20.425242 [DEBUG] switch_rtp.c:916  [        zrtp]:
============================================================
2013-03-19 07:54:20.425249 [DEBUG] switch_rtp.c:916  [        zrtp]:                      
PLATFORM: Linux OS
2013-03-19 07:54:20.425257 [DEBUG] switch_rtp.c:916  [        zrtp]:                    
BYTE ORDER: LITTLE ENDIAN
2013-03-19 07:54:20.425264 [DEBUG] switch_rtp.c:916  [        zrtp]:        
ZRTP_SAS_DIGEST_LENGTH: 32
2013-03-19 07:54:20.425272 [DEBUG] switch_rtp.c:916  [        zrtp]:  
ZRTP_MAX_STREAMS_PER_SESSION: 2
2013-03-19 07:54:20.425280 [DEBUG] switch_rtp.c:916  [        zrtp]:          
ZRTP_USE_EXTERN_SRTP: 0
2013-03-19 07:54:20.425288 [DEBUG] switch_rtp.c:916  [        zrtp]:          
ZRTP_USE_STACK_MINIM: 0
2013-03-19 07:54:20.425295 [DEBUG] switch_rtp.c:916  [        zrtp]:            
ZRTP_BUILD_FOR_CSD: 0
2013-03-19 07:54:20.425302 [DEBUG] switch_rtp.c:916  [        zrtp]:              
ZRTP_USE_BUILTIN: 1
2013-03-19 07:54:20.425310 [DEBUG] switch_rtp.c:916  [        zrtp]:    
ZRTP_USE_BUILTIN_SCEHDULER: 1
2013-03-19 07:54:20.425317 [DEBUG] switch_rtp.c:916  [        zrtp]:        
ZRTP_USE_BUILTIN_CACHE: 1
2013-03-19 07:54:20.425325 [DEBUG] switch_rtp.c:916  [        zrtp]:            
ZRTP_LOG_MAX_LEVEL: 3
2013-03-19 07:54:20.425332 [DEBUG] switch_rtp.c:916  [        zrtp]:         
sizeo of unsigned int: 4
2013-03-19 07:54:20.425339 [DEBUG] switch_rtp.c:916  [        zrtp]:    
size of unsigned long long: 8
2013-03-19 07:54:20.425347 [DEBUG] switch_rtp.c:916  [        zrtp]:          
sizeo of three chars: 3
2013-03-19 07:54:20.425354 [DEBUG] switch_rtp.c:916  [        zrtp]:
2013-03-19 07:54:20.425361 [DEBUG] switch_rtp.c:916  [        zrtp]: ZRTP
Initialization Settings
2013-03-19 07:54:20.425368 [DEBUG] switch_rtp.c:916  [        zrtp]:                    
client ID: FreeSWITCH
2013-03-19 07:54:20.425375 [DEBUG] switch_rtp.c:916  [        zrtp]:                      
license: 1
2013-03-19 07:54:20.425383 [DEBUG] switch_rtp.c:916  [        zrtp]:                         
MiTM: ENABLED
2013-03-19 07:54:20.425390 [DEBUG] switch_rtp.c:916  [        zrtp]:                   
cache path: !
2013-03-19 07:54:20.425421 [DEBUG] switch_rtp.c:916  [  zrtp cache]:    Load
ZRTP cache from <!>...
2013-03-19 07:54:20.425457 [DEBUG] switch_rtp.c:916  [  zrtp cache]:    ZRTP
cache file has version=1.0
2013-03-19 07:54:20.425471 [DEBUG] switch_rtp.c:916  [  zrtp cache]:    ZRTP
cache file contains 1 MiTM secrets.
2013-03-19 07:54:20.425483 [DEBUG] switch_rtp.c:916  [  zrtp cache]:    All
1 MiTM Cache entries have been uploaded.
2013-03-19 07:54:20.425492 [DEBUG] switch_rtp.c:916  [  zrtp cache]:    ZRTP
cache file contains 22 RS secrets.
2013-03-19 07:54:20.425523 [DEBUG] switch_rtp.c:916  [  zrtp cache]:   
ERROR! RS cache element read fail (id=21).
2013-03-19 07:54:20.425543 [DEBUG] switch_rtp.c:916  [  zrtp cache]:    All
of 21 RS Cache entries have been uploaded.
*2013-03-19 07:54:20.425555 [DEBUG] switch_rtp.c:916  [   zrtp main]: ERROR!
cache on_init() callback failed <Unable to read data from the file/stream>
2013-03-19 07:54:20.425577 [CRIT] switch_rtp.c:957 ZRTP init failed!*


NOTE: It has been working fine before lots of new configurations like
SSL/TLS and some fine tuning.

Need to know what exactly the issue is?





--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/ZRTP-init-failed-tp7588775.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list