tcap_invocation_sup:start_ism/5 instead of start_ism/1

This commit is contained in:
Harald Welte 2011-12-17 18:35:14 +01:00
parent 2e7ab1fe65
commit 70be83b1c9
1 changed files with 2 additions and 2 deletions

View File

@ -47,12 +47,12 @@
-export([init/1]).
%% API to other modules
-export([start_ism/1, start_link/1]).
-export([start_ism/5, start_link/1]).
init([]) ->
{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)),
StartArgs = [USAP, DlgId, InvokeID, OpClass, Timeout],
StartFunc = {tcap_ism_fsm, start_link, StartArgs},