mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
Geolocation: chan_pjsip Capability Preview
This commit adds res_pjsip_geolocation which gives chan_pjsip the ability to use the core geolocation capabilities. This commit message is intentionally short because this isn't a simple capability. See the documentation at https://wiki.asterisk.org/wiki/display/AST/Geolocation for more information. THE CAPABILITIES IMPLEMENTED HERE MAY CHANGE BASED ON USER FEEDBACK! ASTERISK-30128 Change-Id: Ie2e2bcd87243c2cfabc43eb823d4427c7086f4d9
This commit is contained in:
committed by
Friendly Automation
parent
639d72e98c
commit
1fa568e76f
@@ -0,0 +1,22 @@
|
||||
"""Geoloc Endpoint Params
|
||||
|
||||
Revision ID: 7197536bb68d
|
||||
Revises: 58e440314c2a
|
||||
Create Date: 2022-03-07 05:32:54.909429
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '7197536bb68d'
|
||||
down_revision = '58e440314c2a'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
def upgrade():
|
||||
op.add_column('ps_endpoints', sa.Column('geoloc_incoming_call_profile', sa.String(80)))
|
||||
op.add_column('ps_endpoints', sa.Column('geoloc_outgoing_call_profile', sa.String(80)))
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('ps_endpoints', 'geoloc_outgoing_call_profile')
|
||||
op.drop_column('ps_endpoints', 'geoloc_incoming_call_profile')
|
Reference in New Issue
Block a user