app_queue: Add feature to set wrapuptime on the queue member

This patch adds the ability to set the wrapuptime on the queue member
config.

When the option is set the wrapuptime on the queue member is used instead
of the queue's wrapuptime.

ASTERISK-27483 #close

Change-Id: I11c85809537f974eb44dc5bbf82bcedd8a458902
This commit is contained in:
Rodrigo Ramírez Norambuena
2017-12-06 23:35:40 -03:00
committed by Richard Mudgett
parent 7b127e2d20
commit 5335ad117d
4 changed files with 88 additions and 8 deletions

View File

@@ -0,0 +1,22 @@
"""add wrapuptime to queue_members
Revision ID: e2f04d309071
Revises: 041c0d3d1857
Create Date: 2017-12-07 08:32:45.360857
"""
# revision identifiers, used by Alembic.
revision = 'e2f04d309071'
down_revision = '041c0d3d1857'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_column('queue_members', sa.Column('wrapuptime', sa.Integer))
def downgrade():
op.drop_column('queue_members', 'wrapuptime')