Missing a 'init keys' cli command

Hi,

I have two new Asterisk installations (1.4.4 and 1.4.5) and I have created rsa keys and they can now see each other as online peers:

moe*CLI> iax2 show peers
Name/Username Host Mask Port Status
bart 192.168.2.201 (S) 255.255.255.255 4569 OK (48 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]

but on the 1.4.5 instllation I cannot execute ‘show keys’ neither ‘init keys’

moe*CLI> init keys
No such command ‘init keys’ (type ‘help’ for help)

This may be the reason that I cannot place calls from one Asterisk to the other.

chan_iax2.c:7285 socket_process: I don’t know how to authenticate moe to 192.168.2.201

thanks in advance,
Jonathan.

Still with the same problem and no idea how to solve it…:confused:

thanks,
J

Howdy,

Try:

“keys show”

or

“keys init”

for 1.4

Cheers.

I tried that also:

Connected to Asterisk 1.4.5 currently running on moe (pid = 22879)
– Remote UNIX connection
Verbosity is at least 6

moe*CLI> keys show
No such command ‘keys show’ (type ‘help’ for help)

thanks for your anser, any clue of what may be happening?

Howdy,

Your instance doesn’t have res_crypto.so loaded.

Try:

module load res_crypto.so

If that fails, then it means your build didn’t include res_crypto.so
If res_crypto didn’t build, then you either don’t have the ssl-devel package or Asterisk wasn’t able to find the ssl libraries on your system during its build configuration process.

Cheers.