TCAP DHA: Store user-provided dialogueID as otid in state

This commit is contained in:
Harald Welte 2013-06-23 20:15:29 +02:00
parent 7a05586c5d
commit d7932419d9
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ idle({'TC', 'BEGIN', request, BeginParms}, State)
origAddress = BeginParms#'TC-BEGIN'.origAddress,
transactionID = BeginParms#'TC-BEGIN'.dialogueID,
userData = #'TR-user-data'{dialoguePortion = dialogue_ext(DialoguePortion)}},
NewState = State#state{parms = TrParms,
NewState = State#state{parms = TrParms, otid = BeginParms#'TC-BEGIN'.dialogueID,
%% Set application context mode
appContextMode = BeginParms#'TC-BEGIN'.appContextName},
%% Request components to CHA