mirror of http://gerrit.asterisk.org/asterisk
Added a "debug" configuration option for res_pjsip that when set to "yes" enables SIP messages to be logged. It is specified under the "system" type. Also added an alembic script to add the option to realtime. (closes issue ASTERISK-23038) Reported by: Rusty Newton Review: https://reviewboard.asterisk.org/r/3148/ ........ Merged revisions 407036 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@407037 65c4cc65-6c06-0410-ace0-fbb531ad65f3changes/97/197/1
parent
f5bb5b3e8c
commit
10e38fb10c
@ -0,0 +1,21 @@
|
||||
"""add pjsip debug option
|
||||
|
||||
Revision ID: 21e526ad3040
|
||||
Revises: 2fc7930b41b3
|
||||
Create Date: 2014-01-30 10:44:02.297455
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '21e526ad3040'
|
||||
down_revision = '2fc7930b41b3'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('ps_globals', sa.Column('debug', sa.String(40)))
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('ps_globals', 'debug')
|
Loading…
Reference in new issue