From 295804591acfc7e662423bfe153e21f5e9edcde3 Mon Sep 17 00:00:00 2001 From: Pascal Cadotte Michaud Date: Fri, 1 Oct 2021 13:54:32 -0400 Subject: [PATCH] pjsip.conf: remove the PICKUPMARK variable it messes up when using a mobile session because it tries to send the interceptor in the Stasis app that bridges the future channels together --- xivo_dao/asterisk_conf_dao.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xivo_dao/asterisk_conf_dao.py b/xivo_dao/asterisk_conf_dao.py index 2af1019d..fc1c40a6 100644 --- a/xivo_dao/asterisk_conf_dao.py +++ b/xivo_dao/asterisk_conf_dao.py @@ -556,11 +556,11 @@ def get_flat_config(endpoint): base_config['endpoint_section_options'].append( ['transport', endpoint.transport.name], ) - extension = extension_mapping.get(endpoint.uuid) - if extension: - base_config['endpoint_section_options'].append( - ['set_var', 'PICKUPMARK={}%{}'.format(extension.exten, extension.context)] - ) + # extension = extension_mapping.get(endpoint.uuid) + # if extension: + # base_config['endpoint_section_options'].append( + # ['set_var', 'PICKUPMARK={}%{}'.format(extension.exten, extension.context)] + # ) voicemails = voicemail_mapping.get(endpoint.uuid, []) mailboxes = [] for voicemail in voicemails: