Skip to content

Commit

Permalink
3.19: spawn the set/bridge_export for connect_leg
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesaimonetti committed Mar 4, 2015
1 parent f914863 commit d5e0bb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions applications/ecallmgr/src/ecallmgr_call_command.erl
Original file line number Diff line number Diff line change
Expand Up @@ -791,9 +791,9 @@ get_call_pickup_app(Node, UUID, JObj, Target, Command) ->
lager:debug("API is skipping control usurp")
end,

ecallmgr_util:set(Node, UUID, build_set_args(SetApi, JObj)),
ecallmgr_util:bridge_export(Node, UUID, Exports),
ecallmgr_util:bridge_export(Node, Target, Exports),
spawn('ecallmgr_util', 'set', [Node, UUID, build_set_args(SetApi, JObj)]),
spawn('ecallmgr_util', 'bridge_export', [Node, UUID, Exports]),

{Command, Target}.

-spec exports_from_api(wh_json:object(), ne_binaries()) -> wh_proplist().
Expand Down
2 changes: 1 addition & 1 deletion applications/ecallmgr/src/ecallmgr_fs_command.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%-------------------------------------------------------------------
%%% @copyright (C) 2013, 2600Hz
%%% @copyright (C) 2013-2015, 2600Hz
%%% @doc
%%%
%%% @end
Expand Down

0 comments on commit d5e0bb9

Please sign in to comment.