Difference between revisions of "M4 How to make first call"
(Created page with 'Create User which will be your Customer (will buy traffic from you). Set min/max balance for this User (example -1000, 0). Create User which will be your Supplier (will sell tra…') |
|||
Line 1: | Line 1: | ||
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 - | Set min/max balance for this User (example -10, 0). | ||
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, | Set min/max balance for this User (example 0, 10). | ||
Create Tariffs for Customer and Supplier. | Create Tariffs for Customer and Supplier. | ||
Line 24: | Line 24: | ||
Call | Call | ||
<br><br> | |||
= 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. |
Revision as of 14:12, 22 January 2014
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 Algoirthm, 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.