Precompiled demo applications can be found into the downloadable material from bdSound.
What are the limitation of the Trial and the Demo?
Demo application, as the trial version of the libraries, has two limitations:
- after few seconds, an audio overlay can be heard (bdsound dot com)
- after few minutes, it will stop to cancel the echo
Running the demo
These demoes are based on PJSUA. Please refer to PJSUA wiki for commands. A quick guide of base common commands is available below.
Windows
To run the demo, launch the file bdIMAD_DEMO_RUN.bat located in the Demo folder of Windows package (bdIMAD-windows_rX).
Mac OS-X
To run the demo, launch the file bdIMAD_DEMO_RUN.command located in the folder 32bit/Demo and 64bit/Demo of OS-X package (bdIMAD-osx_rX).
Android
Install the bdPjsua.apk apk located in the Demo folder of Android package (bdIMAD-android_rX).
Linux
Libraries and demo are not provided as downloading material for Linux operating systems. Please contact bdSound to request them: techsupport@bdsound.com.
iOS
Where is the iOS demo? There is no demo application for iOS, due to the provisioning restriction of Apple iOS. You shall have to build your own application on your host machine. For any further requests please contact bdSound: techsupport@bdsound.com.
Quick Guide (basic Pjsua commands)
Windows / Mac OS-X
Once opened the Demo application, use the following basic commands:
- m: make a new call. The application will ask the URL of the remote peer to contact. For example, to call the remote peer with Ip address 192.168.178.20, the URL requested by the application is sip:192.168.178.20
- a: answer to a call. The application will ask which status code to send. The status code to be write 200.
- h: hang up a call.
Android
Connect to the device: once opened bdPjsua application, open a shell and connect via telnet to the device. To connect to the device with Ip address 192.168.178.20 use the following command:
1 | telnet 192.168.178.20 2323 |
telnet 192.168.178.20 2323
The Ip address (192.168.178.20) and the port number (2323) can be found on the bottom of the main window of bdPjsua.
Make a call with bdPjsua
- Make a call: to connect to the device with Ip address 192.168.178.34 use the following command
1
call new sip:192.168.178.34call new sip:192.168.178.34
- Answer a call: no commands needed, the answer is automatic.
- Hang up: use the following command:
1
call hang up
call hang up
- Change Hands-free/Hand-set: click on the right top button. Hands-free off means hand-set mode.
Connect to a Sip Server with bdPjsua
- Connect to a Sip server: use the following commad:
1
acc add <sip_url> <registrar> <realm> <username> <password>
acc add <sip_url> <registrar> <realm> <username> <password>
where the fields to be fill are:
<sip_url> sip:usernameID@sipServerIpAddress <registrar> sip:sipServerIpAddress <realm> * <username> usernameID <password> password - Make a call: to connect to the device with username 6053 and Sip Server Ip address 192.168.178.34 use the following command
1
call new sip:6053@192.168.178.34
call new sip:6053@192.168.178.34
For more detailed information about Pjsua Cli Command: https://trac.pjsip.org/repos/wiki/PJSUA-CLI