Asterisk - The Open Source Telephony Project  18.5.0
Functions | Variables
b80485ff4dd0_add_pjsip_endpoint_acn_options Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = '79290b511e4b'
 
int max_value_length = 128
 
string revision = 'b80485ff4dd0'
 

Detailed Description

Add pjsip endpoint ACN options

Revision ID: b80485ff4dd0
Revises: fbb7766f17bc
Create Date: 2020-07-06 08:29:53.974820

Function Documentation

◆ downgrade()

def b80485ff4dd0_add_pjsip_endpoint_acn_options.downgrade ( )

Definition at line 25 of file b80485ff4dd0_add_pjsip_endpoint_acn_options.py.

25 def downgrade():
26  op.drop_column('ps_endpoints', 'codec_prefs_incoming_offer')
27  op.drop_column('ps_endpoints', 'codec_prefs_outgoing_offer')
28  op.drop_column('ps_endpoints', 'codec_prefs_incoming_answer')
29  op.drop_column('ps_endpoints', 'codec_prefs_outgoing_answer')

◆ upgrade()

def b80485ff4dd0_add_pjsip_endpoint_acn_options.upgrade ( )

Definition at line 18 of file b80485ff4dd0_add_pjsip_endpoint_acn_options.py.

18 def upgrade():
19  op.add_column('ps_endpoints', sa.Column('codec_prefs_incoming_offer', sa.String(max_value_length)))
20  op.add_column('ps_endpoints', sa.Column('codec_prefs_outgoing_offer', sa.String(max_value_length)))
21  op.add_column('ps_endpoints', sa.Column('codec_prefs_incoming_answer', sa.String(max_value_length)))
22  op.add_column('ps_endpoints', sa.Column('codec_prefs_outgoing_answer', sa.String(max_value_length)))
23 
24 

Variable Documentation

◆ down_revision

string down_revision = '79290b511e4b'

◆ max_value_length

int max_value_length = 128

◆ revision

string revision = 'b80485ff4dd0'