1. 程式人生 > >Kamailio add user and test with softphone (Linphone, Zoiper)

Kamailio add user and test with softphone (Linphone, Zoiper)

In the previous post, i guided how to build and config Kamailio with MySQL as database engine to work, if you have not read it yet then read at post. Today i will guide how to create user and demo basic VoIP system with softphone. Linphone and Zoiper are used to test, these are popular opensource softphone nowadays, support multiple platform (Desktop, Android and IOS).

According to the previous post, i have Kamailio is installed with path “/data/kamailio”. The first i need to create some account to register Kamailio server.

To add new user please remote to server and run command

/data/kamailio/sbin/kamctl add

example

/data/kamailio/sbin/kamctl add 01632796542 hieu1234 /data/kamailio/sbin/kamctl add 01643934930 abc123

After add users, you should check records in database. All users information are stored in table “kamalio.subcriber”. The image below is result

Selection_031

Start Kamailio server to test

/data/kamailio/sbin/kamctl start

The next step i install Linphone on my desktop and zoiper on my phone (Android). Register account 01632796542/hieu1234

by Linphone

Selection_033

Register 01643934930/abc123 on Zoiper and make call to account 01632796542

22833444_1299800916798771_308804700_o          22810395_1299801823465347_913952245_o

When make call to 01632796542, on my desktop get a notification “incoming call” as below

Selectio

Ok i introduced you how to build and setup a basic VoIP system, how to manage account and test call with softphone. Thank you and see you next time.

Advertisements

Like this:

Like Loading...