Asterisk - The Open Source Telephony Project GIT-master-f36a736
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: 79290b511e4b
Create Date: 2020-07-06 08:29:53.974820

Function Documentation

◆ downgrade()

def downgrade ( )

Definition at line 25 of file b80485ff4dd0_add_pjsip_endpoint_acn_options.py.

25def 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 upgrade ( )

Definition at line 18 of file b80485ff4dd0_add_pjsip_endpoint_acn_options.py.

18def 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'