Skip to content

Emergency calls

In this Chapter we'll change configuration that is described in Chapter 1 above by adding possibility to make free call to the emergency number (112) even in case of zero balance of Customer's account.

1. Editing of the Customer Auth record

At the first step it is necessary to edit Customers Auth that was configured in Chapter 1 above by disabling Check account balance flag.

2. Adding new Destination for emergency calls

At the second step we'll configure Destination that should be associated with Rateplan that was configured in Chapter 1 above.

In our example we will use 112 as Prefix and we'll receive 0 monetary units per minute from Customer after the initial interval and 0 monetary units during initial interval. It is also important to set value of the Profit control mode field into the no control value.

Object to createAttributes
DestinaionPrefix: 112
Dst number min length: 3
Dst number max length: 3
Enabled: True
Rate Group: My RateGroup
Initial rate: 0
Next rate: 0
Profit control mode: no control

3. Creation new Dialpeer for emergency calls

At the third step we'll configure one additional Dialpeer that should be associated with Routing Group, Vendor, Vendor's Account, Vendor's Gateway B that were configured in Chapter 1.

In our example we use 112 as Prefix and we'll pay 0 monetary unit per minute to the Vendor after the initial interval (bydefault - 1 second) and 0 monetary units during initial interval.

Object to createAttributes
DialpeerPrefix: 112
Dst number min length: 3
Dst number max length: 3
Enabled: True
Routing Group: My RoutingGroup
Vendor: Contractor B
Account: Account B
Initial rate: 0
Next rate: 0
Gateway: Gateway B

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 number331234567890
Dst number112

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 newly created Destination and Dialpeer as a basis for Customer's and Vendor's billing and will work also in case zero balance of Customer's Account. 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.