Loading codec/c++/sip_codets.cpp +85 −83 Original line number Diff line number Diff line Loading @@ -1141,6 +1141,7 @@ private: SIP_HEADER_ADD (P-Charging-Function-Addresses, , pChargingFunctionAddresses, P_CHARGING_FUNCTION_ADDRESSES_E); SIP_HEADER_ADD (P-Charging-Vector, , pChargingVector, P_CHARGING_VECTOR_E); SIP_HEADER_ADD (Refer-To, r, referTo, REFER_TO_E); SIP_HEADER_ADD (Refer-Sub, r, referSub, REFER_SUB_E); SIP_HEADER_ADD (Replaces, , replaces, REPLACES_E); SIP_HEADER_ADD (Service-Route, , serviceRoute, SERVICE_ROUTE_E); SIP_HEADER_ADD (Accept-Contact, a, acceptContact, ACCEPT_CONTACT_E); Loading Loading @@ -1346,6 +1347,7 @@ const char* FieldName::msFields[] = { "P_PREFERRED_ID_E", "REASON_E", "REFER_TO_E", "REFER_SUB_E", "REFERRED_BY_E", "HISTORY_INFO_E", "P_MEDIA_AUTH_E", Loading codec/validation/LibSip_SIPTypesAndValues.ttcn +14 −0 Original line number Diff line number Diff line Loading @@ -423,6 +423,9 @@ group SubTypes{// Subtypes // [3515] - REFER method REFER_TO_E, // [4488] - REFER method REFER_SUB_E, // [3891] REPLACES_E, Loading Loading @@ -1304,6 +1307,17 @@ group SubTypes{// Subtypes } }//end group RFC3515HeaderFieldTypes group RFC4488HeaderFieldTypes { // [4488] type record ReferSub { FieldName fieldName(REFER_SUB_E), boolean referSubValue, SemicolonParam_List referToParams optional } }//end group RFC4488HeaderFieldTypes group RFC3608HeaderFieldTypes { // [3608] Loading codec/validation/LibSip_Templates.ttcn +216 −210 Original line number Diff line number Diff line Loading @@ -610,6 +610,12 @@ module LibSip_Templates referToParams := {{id:="method",paramValue :=p_method}} } template ReferSub m_referSub(in boolean p_value) := { fieldName := REFER_SUB_E, referSubValue := p_value, referToParams := omit } template Replaces m_Replaces( charstring p_callId, charstring p_toTag, Loading codec/validation/LoopbackTests/compiledTypes.txt +7 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,7 @@ P_PREFERRED_ID_E, REASON_E, REFER_TO_E, REFER_SUB_E, REFERRED_BY_E, HISTORY_INFO_E, P_MEDIA_AUTH_E, Loading Loading @@ -737,6 +738,12 @@ SemicolonParam_List referToParams optional } type record ReferSub { FieldName fieldName(REFER_SUB_E), boolean referSubValue, SemicolonParam_List referToParams optional } type record ServiceRoute { FieldName fieldName(SERVICE_ROUTE_E), RouteBody_List routeBody Loading Loading
codec/c++/sip_codets.cpp +85 −83 Original line number Diff line number Diff line Loading @@ -1141,6 +1141,7 @@ private: SIP_HEADER_ADD (P-Charging-Function-Addresses, , pChargingFunctionAddresses, P_CHARGING_FUNCTION_ADDRESSES_E); SIP_HEADER_ADD (P-Charging-Vector, , pChargingVector, P_CHARGING_VECTOR_E); SIP_HEADER_ADD (Refer-To, r, referTo, REFER_TO_E); SIP_HEADER_ADD (Refer-Sub, r, referSub, REFER_SUB_E); SIP_HEADER_ADD (Replaces, , replaces, REPLACES_E); SIP_HEADER_ADD (Service-Route, , serviceRoute, SERVICE_ROUTE_E); SIP_HEADER_ADD (Accept-Contact, a, acceptContact, ACCEPT_CONTACT_E); Loading Loading @@ -1346,6 +1347,7 @@ const char* FieldName::msFields[] = { "P_PREFERRED_ID_E", "REASON_E", "REFER_TO_E", "REFER_SUB_E", "REFERRED_BY_E", "HISTORY_INFO_E", "P_MEDIA_AUTH_E", Loading
codec/validation/LibSip_SIPTypesAndValues.ttcn +14 −0 Original line number Diff line number Diff line Loading @@ -423,6 +423,9 @@ group SubTypes{// Subtypes // [3515] - REFER method REFER_TO_E, // [4488] - REFER method REFER_SUB_E, // [3891] REPLACES_E, Loading Loading @@ -1304,6 +1307,17 @@ group SubTypes{// Subtypes } }//end group RFC3515HeaderFieldTypes group RFC4488HeaderFieldTypes { // [4488] type record ReferSub { FieldName fieldName(REFER_SUB_E), boolean referSubValue, SemicolonParam_List referToParams optional } }//end group RFC4488HeaderFieldTypes group RFC3608HeaderFieldTypes { // [3608] Loading
codec/validation/LibSip_Templates.ttcn +216 −210 Original line number Diff line number Diff line Loading @@ -610,6 +610,12 @@ module LibSip_Templates referToParams := {{id:="method",paramValue :=p_method}} } template ReferSub m_referSub(in boolean p_value) := { fieldName := REFER_SUB_E, referSubValue := p_value, referToParams := omit } template Replaces m_Replaces( charstring p_callId, charstring p_toTag, Loading
codec/validation/LoopbackTests/compiledTypes.txt +7 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,7 @@ P_PREFERRED_ID_E, REASON_E, REFER_TO_E, REFER_SUB_E, REFERRED_BY_E, HISTORY_INFO_E, P_MEDIA_AUTH_E, Loading Loading @@ -737,6 +738,12 @@ SemicolonParam_List referToParams optional } type record ReferSub { FieldName fieldName(REFER_SUB_E), boolean referSubValue, SemicolonParam_List referToParams optional } type record ServiceRoute { FieldName fieldName(SERVICE_ROUTE_E), RouteBody_List routeBody Loading