|
@@ -523,8 +523,8 @@ class OutboundClient:
|
|
|
|
|
|
self.build_call_info(call_id, device_id, new_device_id, str(destination), **kwargs)
|
|
|
Cache.add_device_user_part(device_id, destination)
|
|
|
- # con.execute("bridge", "{sip_h_P-LIBRA-CallId=%s,sip_h_P-LIBRA-DeviceId=%s,origination_uuid=%s}user/%s"%(call_id, new_device_id, new_device_id, destination), device_id)
|
|
|
- con.bgapi(ORIGINATE, "{sip_h_P-LIBRA-CallId=%s,sip_h_P-LIBRA-DeviceId=%s,origination_uuid=%s}user/%s"%(call_id, new_device_id, new_device_id, destination))
|
|
|
+ con.execute("bridge", "{sip_h_P-LIBRA-CallId=%s,sip_h_P-LIBRA-DeviceId=%s,origination_uuid=%s}user/%s"%(call_id, new_device_id, new_device_id, destination), device_id)
|
|
|
+ # con.bgapi(ORIGINATE, "{sip_h_P-LIBRA-CallId=%s,sip_h_P-LIBRA-DeviceId=%s,origination_uuid=%s}user/%s"%(call_id, new_device_id, new_device_id, destination))
|
|
|
|
|
|
# destination = "user/1001"
|
|
|
# msg = ESL.ESLevent("sendmsg", uuid)
|