|
@@ -17,7 +17,7 @@ from src.core.callcenter import BizException
|
|
|
from src.core.callcenter.cache import Cache
|
|
|
from src.core.callcenter.api import MakeCallContext, DelayAction, CallInfo, DeviceInfo, NextCommand
|
|
|
from src.core.callcenter.callback import Callback
|
|
|
-from src.core.callcenter.constant import SK, EMPTY, WaitingHangupMusicPath, saasId, HOLD_MUSIC_PATH
|
|
|
+from src.core.callcenter.constant import SK, EMPTY, WaitingHangupMusicPath, SAAS_ID, HOLD_MUSIC_PATH
|
|
|
from src.core.callcenter.esl.constant.esl_constant import BRIDGE_VARIABLES, BRIDGE, HANGUP, NORMAL_CLEARING, SIP_HEADER, \
|
|
|
SPACE, SOFIA, \
|
|
|
ORIGINATE, PARK, SET, EAVESDROP, SMF_ALEG, EXECUTE, PLAYBACK, PAUSE, TRANSFER, UUID_TRANSFER, UUID_BROADCAST, \
|
|
@@ -596,7 +596,7 @@ class OutboundClient:
|
|
|
call_info = CallInfo(call_id=call_id, agent_key=destination,
|
|
|
caller=caller, called=called, direction=Direction.INBOUND.code,
|
|
|
call_type=call_type, call_time=now,
|
|
|
- uuid1=call_id, uuid2=device_id, saas_id=saasId, bucket_type=bucket_type,
|
|
|
+ uuid1=call_id, uuid2=device_id, saas_id=SAAS_ID, bucket_type=bucket_type,
|
|
|
core_uuid=None, cti_flow_id=None, conference=None, group_id=None, hidden_customer=0, caller_display=None, called_display=None, number_location=None, agent_name=None, login_type=None, ivr_id=None, task_id=None, media_host=None, sip_server=None, client_host=None, record=None, record2=None, record_time=None, answer_flag=None, wait_time=None, answer_count=0, hangup_dir=None, sdk_hangup=0, hangup_code=None, answer_time=None, end_time=None, talk_time=None, first_queue_time=None, queue_start_time=None, queue_end_time=None, overflow_count=0, cdr_notify_url=None, queue_level=None, transfer_agent=None,device_list=[], device_info_map = {}, follow_data = {}, process_data = {}, next_commands=[], call_details=[])
|
|
|
device_custom = DeviceInfo(device_id=device_id, call_time=now,
|
|
|
call_id=call_id, device_type=DeviceType.CUSTOMER.code,
|