Configuration description
The service ‘priority’ can automatically free resources if a high priority call needs to be established while no resources are available. The service ‘priority’ can have multiple ports. You can assign a priority level for each port. This priority level defines the priority level of each call, which is received through the port. If a call with higher priority fails to be established, the service tries dropping lower priority calls to free resources for the higher priority call. Subsequently it tries to establish the higher priority call again. The configuration below is a typical application for this service in which non-.emergency calls are dropped to free resources for emergency calls.
The configuration below routes every call from the fxs-ports to a routing-table and if it is an emergency call (number 112, 117, 118, 119) to the higher port with the higher priority. Every other call can be dropped if an emergency call needs to be placed.
Commande sequence to copy, edit and paste
context cs
routing-table called-e164 RT_CALLED_PARTY route 11[2789] dest-service SER_PRIO.priority route default dest-service SER_PRIO.standard
interface fxs IF_FXS_00 route call dest-table RT_CALLED_PARTY
interface fxs IF_FXS_01 route call dest-table RT_CALLED_PARTY
interface fxo IF_FXO_00
service priority SER_PRIO
port priority route call dest-interface IF_FXO_00 priority 10
port standard route call dest-interface IF_FXO_00
|