2

I'm new to the Raspberry Pi and I hope to start a project which will need Asterisk and Raspbian OS both installed on the same SD card.

What I want

I need to run Asterisk and Raspbian OS both at the same time. Simply speaking I need to access Asterisk functions and do particular things using Python which is installed in the Raspbian OS.

Ex: Access incoming call's caller ID and do particular things using Python.

What I Did

I downloaded RasPBX image and installed it on my SD card, but it doesn't provide me a way of accessing Raspbian OS like installing Raspbian OS using NOOBS.

Problem

So is there a way I can use Asterisk installed on Raspbian OS? Can I access Asterisk functions in the Raspbian OS GUI, without any inconvenience?

  • Have you considered using 2 Pi's? – Steve Robillard Jul 28 '17 at 5:49
  • @SteveRobillard I didn't think about that. Is that necessary? I mean can't I run both in same RPi? – User9125 Jul 28 '17 at 5:51
  • It might help if you explained what your project is and what you are trying to accomplish. – Steve Robillard Jul 28 '17 at 5:55
  • @SteveRobillard I want to get caller ID of incoming call and search that in database which has phone numbers stored. And if it matches to the one of numbers stored in database, it will direct that call to softphone using WiFi. – User9125 Jul 28 '17 at 5:58
  • I assume you have already looked at this stackoverflow.com/questions/27104488/… – Steve Robillard Jul 28 '17 at 6:01
4

The easiest way to start of would be to use RasPBX

http://www.raspberry-asterisk.org/

It is a Raspbian Jessie base OS with Asterisk and FreePBX installed and preconfiugred with all the goodies. (Trust me, the pre confiugraion of all these applciations takes allot of time)

Since it is Debian OS, you can install Python on it (probably is already installed) and write your scripts as you need.

To use Raspbian just SSH into it with the WebGUI password. If you want root you may need to enable it by using passwd root

There is more information here at the documentation

  • Thank you. As Ive mentioned I did download RasPBX image and did install it into my RPi SD card. But I get an command line interface. I dont know and couldnt find a way to use RasPBX with GUI. Any help? – User9125 Jul 28 '17 at 8:11
  • 1
    You need to log in using SSH, just like you would do with any other headless linux system. Or connect a monitor, screen and keyboard and log in using that way – Piotr Kula Jul 28 '17 at 8:12
  • Thank you very much for your help. I did logged into Web GUI. but unfortunately I couldnt find Python installed or a way to install python using web GUI. any help sir? – User9125 Jul 28 '17 at 9:17
  • I managed to install PIXEL on OS and get a GUI. So now it is easy to install Python. Thank you. – User9125 Jul 29 '17 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.