Loading LibSip_Templates.ttcn +21 −0 Original line number Diff line number Diff line Loading @@ -507,6 +507,17 @@ module LibSip_Templates hiExtention := p_paramlist } template SemicolonParam_List mw_Cause_Privacy(integer p_StatusCode):= { ({"cause",int2str(p_StatusCode)}), ({"Privacy","history"}) }; template HistoryInfo_List mw_HistoryInfo_List_WithCauseValue(integer p_StatusCode):= { (mw_HistoryInfoEntry(?, ({1}), omit)), (mw_HistoryInfoEntry(?, ({1,1}), mw_Cause_Privacy(p_StatusCode))) }; template PAssertedID m_PAssertedID_2x(template Addr_Union p_pAssertedIDValue1, template Addr_Union p_pAssertedIDValue2) := { fieldName := P_ASSERTED_ID_E, Loading Loading @@ -2002,6 +2013,16 @@ group response_receive { } } template Response mw_Response_HistoryInfo (template StatusLine p_statusLine, template CallId p_callId, template CSeq p_cSeq, template HistoryInfo p_historyInfo) modifies mw_Response_Base:= { statusLine := {sipVersion := c_sipNameVersion, statusCode := p_statusLine.statusCode, reasonPhrase := ?}, msgHeader := { historyInfo:=p_historyInfo } } template Response mw_Response_messageBody ( template StatusLine p_statusLine, template CallId p_callId, Loading Loading
LibSip_Templates.ttcn +21 −0 Original line number Diff line number Diff line Loading @@ -507,6 +507,17 @@ module LibSip_Templates hiExtention := p_paramlist } template SemicolonParam_List mw_Cause_Privacy(integer p_StatusCode):= { ({"cause",int2str(p_StatusCode)}), ({"Privacy","history"}) }; template HistoryInfo_List mw_HistoryInfo_List_WithCauseValue(integer p_StatusCode):= { (mw_HistoryInfoEntry(?, ({1}), omit)), (mw_HistoryInfoEntry(?, ({1,1}), mw_Cause_Privacy(p_StatusCode))) }; template PAssertedID m_PAssertedID_2x(template Addr_Union p_pAssertedIDValue1, template Addr_Union p_pAssertedIDValue2) := { fieldName := P_ASSERTED_ID_E, Loading Loading @@ -2002,6 +2013,16 @@ group response_receive { } } template Response mw_Response_HistoryInfo (template StatusLine p_statusLine, template CallId p_callId, template CSeq p_cSeq, template HistoryInfo p_historyInfo) modifies mw_Response_Base:= { statusLine := {sipVersion := c_sipNameVersion, statusCode := p_statusLine.statusCode, reasonPhrase := ?}, msgHeader := { historyInfo:=p_historyInfo } } template Response mw_Response_messageBody ( template StatusLine p_statusLine, template CallId p_callId, Loading