Skip to content

Additional termination provider

In this Chapter we'll add additional local termination partner(Vendor2) who providing route to 38048705 prefix with price $0.2 per minute. We also will provide better price to this destination for customer.

Configuration based on Chapter 2

1. Creation of new Vendor and Account

At the first step we'll configure one additional Contractor and Account for it

Object to createAttributes
ContractorName: Vendor2
Enabled: True
Vendor: True
Customer: False
AccountName: Vendor2 Account
Contractor: Vendor2
Max Balance: 100

2. Creation of new termination Gateway

At the second step we'll configure one additional termination Gateway that will be linked to Vendor2

Object to createAttributes
GatewayName: Vendor2 Gateway
Contractor: Vendor2
Enabled: True
Allow origination: False
Allow termination: True
Host: 129.0.0.1

3. Creation of additional Dialpeer

At the third step we'll configure one additional Dialpeer to route calls to prefix 38048705 via new termination gateway with price $0.2 per minute.

Object to createAttributes
DialpeerPrefix: 38048705
Enabled: True
Routing Group: My RoutingGroup
Vendor: Vendor2
Account: Vendor2 Account
Initial Rate: 0.2
Next Rate: 0.2
Gateway: Vendor2 Gateway

4. Test the call

For the call testing it is necessary to fill Routing Simulation form and to press Simulate routing button.

Field nameValue
Remote ip127.0.0.1
Remote port10000
Src number001234567890
Dst number380487050321

As a result two records will be shown, where the first record is an actual record of Call Profile that will be send to the Yeti/SEMS node for making call. This Call Profile uses Gateway C for termination the call. Full log of call processing also will be shown under the resulting records.

INFO

If you don't see necessary results, please, make sure that you enter everything correctly.