Difference between revisions of "M4 How to make first call"
Line 11: | Line 11: | ||
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. | 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) | Device should be IP Auth. Enter proper IP for this Device (where to call will go) | ||
'''ROUTING''' | '''ROUTING''' | ||
Line 22: | Line 23: | ||
This will allow any CallerID to any Destination. | This will allow any CallerID to any Destination. | ||
Assign Termination Point to the Dial Peer (Routing -> Dial Peers -> TP list icon) | |||
'''ORIGINATOR''' | '''ORIGINATOR''' | ||
Line 34: | Line 35: | ||
Assign proper Routing Group and Tariff for the Origination Point. | Assign proper Routing Group and Tariff for the Origination Point. | ||
'''Call''' | '''Call''' |
Revision as of 14:39, 26 May 2015
TARIFFS
Create Tariffs 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).
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)
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.