[asterisk-dev] Asterisk 1.6.2.0-rc2 - srtp_init() problem

Stefan Tichy asterisk2 at pi4tel.de
Thu Sep 24 13:35:38 CDT 2009


Hello,

I'm trying to run Asterisk 1.6.2.0-rc2 with SRTP support and cannot
load res_srtp.so . The SRTP stuff is from [1].


Test at a box having Debian Etch installed:

   res_srtp.so does not load because srtp_init() returns 11.
   /usr/include/srtp/err.h: err_status_algo_fail

Test at a box having Debian Lenny installed:
   Segmentation fault



I tried using srtp library version 1.4.4 (source from the package
available in debian sid) and 1.4.2 [2]

"make runtest" does not report problems.


It looks like a problem with the library and not a asterisk problem
but maybe someone can help.


Thanks in advance


1) http://svn.digium.com/svn/asterisk/team/group/srtp/
2) http://srtp.sourceforge.net/srtp-1.4.2.tgz


-- 
Stefan Tichy  ( asterisk2 at pi4tel dot de )
-------------- next part --------------

#0  0x08064162 in aes_encrypt ()
(gdb) bt
#0  0x08064162 in aes_encrypt ()
#1  0xb72d6833 in aes_icm_encrypt_ismacryp () from /usr/lib/asterisk/modules/res_srtp.so
#2  0xb72d6987 in aes_icm_encrypt () from /usr/lib/asterisk/modules/res_srtp.so
#3  0xb72d69c2 in aes_icm_output () from /usr/lib/asterisk/modules/res_srtp.so
#4  0xb72d80fe in ctr_prng_get_octet_string () from /usr/lib/asterisk/modules/res_srtp.so
#5  0xb72dab9d in stat_test_rand_source () from /usr/lib/asterisk/modules/res_srtp.so
#6  0xb72dae15 in stat_test_rand_source_with_repetition () from /usr/lib/asterisk/modules/res_srtp.so
#7  0xb72d7e02 in crypto_kernel_init () from /usr/lib/asterisk/modules/res_srtp.so
#8  0xb72d482b in srtp_init () from /usr/lib/asterisk/modules/res_srtp.so
#9  0xb72d3e47 in ?? () from /usr/lib/asterisk/modules/res_srtp.so


More information about the asterisk-dev mailing list