M4 How to make first call

From Kolmisoft Wiki
Revision as of 13:59, 22 May 2015 by Mindaugas (talk | contribs)
Jump to navigationJump to search

Create User which will be your Customer (will buy traffic from you). Set min/max balance for this User (example -10, 0).

Create User which will be your Supplier (will sell traffic to you). Set min/max balance for this User (example 0, 10).

Create Tariffs for Customer and Supplier.

Create Dial Peer (Routing -> Dial Peers).

Create Routing Group (Routing -> Routing Groups). Assign Dial Peer to Routing Group. (icon Routing -> Routing Groups -> Dial Peers)

Set '.*' (without quotes) for 'Destination regexp' and 'Source regexp' This will allow any CallerID to any Destination.

Create Device for Customer and mark it as 'Act as Origination Point', mark it Active, set Routing Algorithm, Routing Group and Tariff for it. Set '.*' (without quotes) in Source (CallerID) Allow field. Device should be IP Auth. Enter proper IP for this Device (from where call will come)

Create Device for Supplier and mark it as 'Act as Termination Point', mark it Active, set Tariff for it. Set '.*' (without quotes) in Source (CallerID) Allow field. Device should be IP Auth. Enter proper IP for this Device (where to call will go)

Assign Termination Point to the Dial Peer (Routing -> Dial Peers -> TP list icon)

Call



IMPORTANT

This is basic tutorial just to make first call. Configuration will allow any CallerID to dial to any Destination from set IP. Adjust settings accordingly to suite your needs.