Communication between 2 Raspberry

Hello,
i’m new with Asterisk and i want to learn something with it.

I have two raspberry 3 model B and i want connect one with the other making VOIP calls (without a server), by using default encryption algorithm in JAVA language.

i wanted to use this framework to build a connection between two raspberry.
We have to use java, because:

  • we have to manipulate the encryption algorithms,
  • we have to use the library pi4j to connect LEDs to the raspberry,
  • we have to analyze performances of encryption algortitms by watching the time stamps with each algorithm.

Where do i start?
Can someone help me in this?

I only want to know where i have do start.

Thank you :slight_smile:

https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial
https://wiki.asterisk.org/wiki/display/AST/IAX2+Security

1 Like

hi i’m developing the sowftware (for raspberry) in java, do you know the classes that i have to use?

That depends on which class library you use!

Please note that, if you want support here, you will be more likely to get it if you use PHP instead.

Also note that your original question did not imply the need for any external language processor at all, so there is nothing that would give as a clue as to what you want to do that might require any particular class, or even class library.

1 Like

yes you’re right david.

i wanted to use this framework to build a connection between two raspberry.
We have to use java, because:

  • we have to manipulate the encryption algorithms,
  • we have to use the library pi4j to connect LEDs to the raspberry,
  • we have to analyze performances of encryption algortitms by watching the time stamps with each algorithm.

This sounds like a school task and nothing to do with asterisk pbx at all.

yes it’s for a project. can’t i use asterisk?

Since you don’t want to use a server I cannot see how asterisk fits in your project

He can’t use SIP either, as SIP always needs one end to be a server at any given time.