POM ports and licenses

Last Updated : Jun 30, 2025 |
Prolog information
Using POM, you can run multiple simultaneous campaign jobs. The port licenses available to POM are distributed among all running jobs. The distribution mechanism uses the Minimum Ports, Maximum Ports, and Priority parameters, which are set for each job task in the campaign strategy. The priority is a number with the minimum value 1 (lowest priority) and the maximum value 10 (highest priority). The higher the number, the higher the priority.
You can specify either a dynamic license or a reserved license.
The allocation of ports to each job task is in proportion to the priority assigned to the job task. But POM license manager never allocates more than the Maximum Ports assigned to a job task. Also, the license manager tries to allocate at least the Minimum Ports to a job task.
Before starting an outbound call attempt, the Campaign Manager queries the license manager and if available, gets the total number of licenses available for a job task and marks the license as In use.

Reserved licenses

The licenses which are not reallocated to other jobs or task unless recalculation occurs are called reserved licenses.
In case of reserved licenses, the campaign job or task does not release the licenses even though the campaign job or task might not need the licenses.
The licenses allocated to the reserved job or task are retained till the recalculation happens. Jobs or tasks with reserved licenses cannot trigger the recalculation.
The license recalculation can occur when:
  • A new job starts.
  • A job is stopped.
  • A job is paused.
  • A job is resumed.
  • You change the priority, minimum port, or maximum ports value through Supervisor Dashboard.
  • A dynamic job is not using the allocated quota, and there are other jobs in the system that need more licenses.
    In case of dynamic jobs with outbound or notification licenses, if the job does not make call attempt for a duration of one minute, then it is considered that the dynamic job does not need more licenses.
Whenever license recalculation is triggered, the license quota for all jobs is recalculated irrespective of their allocation type.

Dynamic licenses

License allocation and management is performed better with the help of dynamic licensing. Dynamic licensing is useful for a job or a task that does not require all allocated licenses all the time. There are other jobs or tasks that require more licenses than the allocated licenses, simultaneously. With the help of dynamic licensing, POM can release some licenses and assign the licenses to the other jobs or tasks.
You can choose to use reserved or dynamic licensing. If you choose dynamic licensing, you must remember that:
  • Only dynamic jobs or tasks can donate the additional or excess licenses.
  • Any job or task can borrow the additional or excess licenses.
  • No job or task can use more licenses than the maximum value specified in the campaign strategy.
  • Dynamic jobs or tasks always reserve minimum licenses specified in the campaign strategy although the job or task might not need the licenses.
  • Dynamic jobs or tasks start donating licenses only when the current job or task is not requesting licenses and the other job need more licenses.
  • After donating licenses, dynamic jobs or tasks get the license back only when the dynamic job or task needs the licenses.
  • POM allocates the licenses that are released by a dynamic job to other jobs according to their priorities, and the minimum and maximum values.
The following table shows the license calculation for different scenarios:
Priority
Min
Max
Allocated licenses
Total licenses available = 120
1
No constraints
Job1
2
10
100
20
Job2
2
10
100
20
job3*
8
10
100
80
2
Max reached for one - excess redistributed
job1
2
10
100
30
job2
2
10
100
30
job3*
8
10
60
60
3
Shortfall for two - recovered from one with excess
job1
2
25
100
25
job2
2
25
100
25
job3*
8
10
100
70
4
Max for all - license wastage
job1
2
5
10
10
job2
2
5
10
10
job3*
8
5
90
90
5
Excess not enough to recover shortfall - three remain below min
job1
1
50
100
10
job2
2
50
100
20
job3
4
50
100
40
job4*
8
50
100
50
* denotes dynamic jobs.
POM marks a license as In use just before making a call attempt. The POMDriver application releases the In use licenses once the call is over, call failed, call is disconnected, or a call is transferred to an agent.
If an error occurs in the POMDriver application or POM application, and the call is terminated, the Campaign Director periodically checks for such failures and forcefully releases the call and license. The scenarios where the Campaign Director releases the call and the license are as follows:
  1. Error in the POMDriver application, where the call is in progress, but the MPP fails before outcome of the call is available. Campaign Director looks for calls where the in progress duration exceeds the configured time in minutes (Maximum call in-progress time parameter in global configuration). If the Campaign Director finds such calls, the Campaign Director forcefully releases the license engaged for such calls and marks the status of this call as Attempt Timeout so that the contact can be dialed again.
  2. Error in the POMDriver application where an answering machine or live voice answers the call. The driver application launches the dialog application, but the application does not exit properly, as the application server where the POMDriver application is running, crashes. Campaign Director looks for calls where the calls in answered state exceed the configured time in minutes, that is, the maximum call time parameter in global configuration. If the Campaign Director finds such calls, the Campaign Director forcefully releases the license engaged for such calls and updates the call completion time.

Dynamic licensing behavior for agent based campaigns

POM allocates licenses to the job only when the agents are logged in and are attached to a job, and releases the licenses from the job whenever the agents are detached from the job. When the job snoozes, POM releases all the agents immediately along with the licenses. The license goes back to the license pool. Also, during manual movement of agents, POM moves the licenses along with the agents.