Getting StartedΒΆ
The following tutorial shows you the main features of the library.
This tutorial assumes that you have installed and configured the Asterisk Sip Server on a reachable PC. (For getting instructions about the Asterisk manual configuration click on the Asterisk configuration link below)
Alternatively, you can download a virtual machine containing a running Asterisk Server instance already configured for running the proposed android examples, as explained here
- Asterisk Configuration Guide for Most Voip Examples
- How to add Sip Users to Asterisk
- How to add extensions to dial in Asterisk
- How to run Asterisk
- How to open the Asterisk Command Line Interface (CLI) Shell
- How to look for sip users current state:
- How to reload the dialplan (useful when you add and/or modify a new extension):
- How to originate a call:
- Tutorial 1: Making a Call
- Tutorial 2: Answering a Call
- Step 1: Import and instance the voip lib
- Step 2: Implement the CallBack method where to receive notifications about incoming calls and other relevant events
- Step 3: Initialize the Voip Library and register the account on the Sip Server
- Step 4: Add a ‘while’ loop for waiting for incoming calls
- Step 5: Originate a call from the Sip Server for testing the example