|
@@ -549,9 +549,7 @@ class BotAgent:
|
|
|
self.ep.libHandleEvents(100)
|
|
|
|
|
|
def transfer(self, user_part, call_id, device_id, service_id='00000000000000000'):
|
|
|
- print(f"Transfer {user_part} to {call_id}", flush=True)
|
|
|
if self.acd_service:
|
|
|
- print(f"Transfer {user_part} to {call_id}, come in ", flush=True)
|
|
|
self.acd_service.transfer_to_agent(call_id, device_id, service_id)
|
|
|
# sip_headers = {'P-LIBRA-HangUpReason': 'transferToAgent', 'P-LIBRA-ServiceId': service_id}
|
|
|
try_count = 100
|