Difference between revisions of "M4 How to make first call"
Line 16: | Line 16: | ||
Create Dial Peer (Routing -> Dial Peers). | Create Dial Peer (Routing -> Dial Peers). | ||
Set '.*' (without quotes) for 'Destination regexp' and 'Source regexp' | Set '.*' (without quotes) for 'Destination regexp' and 'Source regexp' | ||
Line 24: | Line 21: | ||
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) | ||
Create Routing Group (Routing -> Routing Groups). | |||
Assign Dial Peer to Routing Group. (icon Routing -> Routing Groups -> Dial Peers) | |||
Revision as of 07:18, 11 June 2015
TARIFFS
Create Tariffs/Rates for Customer and Supplier.
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).
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)
Create Routing Group (Routing -> Routing Groups). Assign Dial Peer to Routing Group. (icon Routing -> Routing Groups -> Dial Peers)
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)
Assign proper Routing Group and Tariff for the Origination Point.
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.