Difference between revisions of "M4 How to make first call"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
'''TARIFFS'''
Create Tariffs for Customer and Supplier.
'''ORIGINATOR'''
Create User which will be your Customer (will buy traffic from you).
Create User which will be your Customer (will buy traffic from you).
Set min/max balance for this User (example -10, 0).
Set min/max balance for this User (example -10, 0).
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)
'''TERMINATOR'''


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


Create Tariffs for Customer and Supplier.
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)
 
'''ROUTING'''


Create Dial Peer (Routing -> Dial Peers).
Create Dial Peer (Routing -> Dial Peers).
Line 14: Line 28:
Set '.*' (without quotes) for 'Destination regexp' and 'Source regexp'
Set '.*' (without quotes) for 'Destination regexp' and 'Source regexp'
This will allow any CallerID to any Destination.
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)
Assign Termination Point to the Dial Peer (Routing -> Dial Peers -> TP list icon)


Call
'''Call'''


<br><br>
<br><br>

Revision as of 12:32, 25 May 2015

TARIFFS

Create Tariffs for Customer and Supplier.

ORIGINATOR

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

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)

TERMINATOR

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

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)

ROUTING

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.

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.