forked from erlang/signerl
tcap_invocation_sup:start_ism/5 instead of start_ism/1
This commit is contained in:
parent
2e7ab1fe65
commit
70be83b1c9
|
@ -47,12 +47,12 @@
|
||||||
-export([init/1]).
|
-export([init/1]).
|
||||||
|
|
||||||
%% API to other modules
|
%% API to other modules
|
||||||
-export([start_ism/1, start_link/1]).
|
-export([start_ism/5, start_link/1]).
|
||||||
|
|
||||||
init([]) ->
|
init([]) ->
|
||||||
{ok,{{one_for_all, 0, 1}, []}}.
|
{ok,{{one_for_all, 0, 1}, []}}.
|
||||||
|
|
||||||
start_ism([USAP, DlgId, InvokeID, OpClass, Timeout]) ->
|
start_ism(USAP, DlgId, InvokeID, OpClass, Timeout) ->
|
||||||
SupRef = list_to_atom("tcap_invocation_sup_" ++ integer_to_list(DlgId)),
|
SupRef = list_to_atom("tcap_invocation_sup_" ++ integer_to_list(DlgId)),
|
||||||
StartArgs = [USAP, DlgId, InvokeID, OpClass, Timeout],
|
StartArgs = [USAP, DlgId, InvokeID, OpClass, Timeout],
|
||||||
StartFunc = {tcap_ism_fsm, start_link, StartArgs},
|
StartFunc = {tcap_ism_fsm, start_link, StartArgs},
|
||||||
|
|
Loading…
Reference in New Issue