mirror of https://github.com/asterisk/asterisk
contact_user, when specified on an endpoint, will override the user portion of the Contact header on outgoing requests. This may not work on scheduled qualify requests where we haven't looked up the endpoint. Change-Id: I7ce6b6c6678f66807885da1d42fb5fd6909ae55achanges/73/3573/3
parent
7ce04c1641
commit
8b7280da92
@ -0,0 +1,22 @@
|
||||
"""Add contact_user to endpoint
|
||||
|
||||
Revision ID: 4e2493ef32e6
|
||||
Revises: 28ce1e718f05
|
||||
Create Date: 2016-08-16 14:19:58.918466
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '4e2493ef32e6'
|
||||
down_revision = '28ce1e718f05'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('ps_endpoints', sa.Column('contact_user', sa.String(80)))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('ps_endpoints', 'contact_user')
|
Loading…
Reference in new issue