From 42cbfe0e63c9cc6c7aac13a66a63db6269651673 Mon Sep 17 00:00:00 2001 From: Daniel Finke Date: Sun, 31 May 2020 16:04:38 +0000 Subject: [PATCH] PISTON-662: pass CAVs through to agent calls --- src/acdc_agent_listener.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/acdc_agent_listener.erl b/src/acdc_agent_listener.erl index 65f18e3..fde5fc6 100644 --- a/src/acdc_agent_listener.erl +++ b/src/acdc_agent_listener.erl @@ -1062,6 +1062,7 @@ maybe_connect_to_agent(MyQ, EPs, Call, Timeout, AgentId, _CdrUrl) -> Prop = props:filter_undefined( [{<<"Msg-ID">>, kz_binary:rand_hex(6)} + ,{<<"Custom-Application-Vars">>, kapps_call:custom_application_vars(Call)} ,{<<"Custom-Channel-Vars">>, kz_json:from_list(CCVs)} ,{<<"Timeout">>, Timeout} ,{<<"Endpoints">>, Endpoints}