Loading ttcn/LibIms_Templates.ttcn +59 −12 Original line number Diff line number Diff line Loading @@ -849,31 +849,74 @@ group Ims3gppTemplates { } // end group Ims3gpp group CONFTemplates { template booleanXSD boolXSD_true:={bool:=true} template booleanXSD boolXSD_false:={bool:=false} template anyAttributes m_emptyAnyAttributes:={} template Users_type m_users_1user_full(template User_type p_user):={ template Media_type m_mediatype_status(template Media_status_type p_status):= { id:="1", anyAttributes:=m_emptyAnyAttributes, display_text :=omit, type_ :=omit, label_ :=omit, src_id:=omit, status:= p_status, any_1:=omit } template Endpoint_type m_endpoint(template charstring p_Uri,template Endpoint_status_type p_epStatus, template Media_type p_mediastatus):= { entity:=p_Uri, state:=full, anyAttributes:=m_emptyAnyAttributes, display_text:=omit, referred:=omit, status:=p_epStatus, joining_method:=dialed_out, joining_info:=omit, disconnection_method:=omit, disconnection_info:=omit, media:={p_mediastatus},// optional, call_info:=omit, any_1:=omit } template User_type m_1user (template charstring p_Uri,template Endpoint_type p_endpoint) := { entity:=p_Uri, state:=full, anyAttributes:=m_emptyAnyAttributes, display_text:=omit, associated_aors:=omit, roles:=omit, languages :=omit, cascaded_focus :=omit, endpoint:={p_endpoint},// optional, any_1:=omit } template Users_type m_users_1user_full(template User_type p_user):={ state:=full, anyAttributes := m_emptyAnyAttributes, user:={p_user}, any_1:=omit } template Conference_state_type m_conference_state(template unsignedInt p_nUsers, template booleanXSD p_active, template booleanXSD p_locked) := { anyAttributes:=m_emptyAnyAttributes, user_count:=p_nUsers, active:=p_active, locked:=p_locked, any_1 := omit } template Conference_info m_ci_cUri_nUsers_userEntity_active(template charstring p_cUri, template unsignedInt p_nUsers, template Users_type p_users ) := { template Conference_info m_ci_cUri_cState_userEntity(template charstring p_cUri, template Conference_state_type p_cState, template Users_type p_users ) := { entity := p_cUri, state := full, version := 1, anyAttributes := m_emptyAnyAttributes,//*,// {{name:="",val:=""}}, conference_description := omit, host_info := omit, conference_state := { anyAttributes:=m_emptyAnyAttributes, user_count:=p_nUsers, active:={bool:=true}, locked:=omit,//{bool:=false}, any_1 := omit }, conference_state := p_cState, users := p_users, sidebars_by_ref := omit, sidebars_by_val := omit, Loading Loading @@ -1500,7 +1543,7 @@ group request_send { messageBody := m_MBody_longPlainText } template NOTIFY_Request m_NOTIFY_Request_Xml_IMS template NOTIFY_Request m_NOTIFY_Request_Xml_IMS_Conference (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq, From p_from, To p_to, Via p_via, template MessageBody p_mb ) modifies m_NOTIFY_Request_Base Loading @@ -1509,7 +1552,11 @@ group request_send { msgHeader := { contentLength := {fieldName := CONTENT_LENGTH_E, len:= f_MessageBodyLength(valueof(p_mb))}, contentType := {fieldName := CONTENT_TYPE_E, mediaType := c_xmlAplication} contentType := {fieldName := CONTENT_TYPE_E, mediaType := c_xmlAplication}, event := {fieldName:=EVENT_E, eventType:="conference",eventParams:=omit}, subscriptionState:={fieldName:=SUBSCRIPTION_STATE_E, subState:="active",substateParams:=omit}, expires:={fieldName:=EXPIRES_E, deltaSec:="3600"} }, messageBody := p_mb } Loading Loading
ttcn/LibIms_Templates.ttcn +59 −12 Original line number Diff line number Diff line Loading @@ -849,31 +849,74 @@ group Ims3gppTemplates { } // end group Ims3gpp group CONFTemplates { template booleanXSD boolXSD_true:={bool:=true} template booleanXSD boolXSD_false:={bool:=false} template anyAttributes m_emptyAnyAttributes:={} template Users_type m_users_1user_full(template User_type p_user):={ template Media_type m_mediatype_status(template Media_status_type p_status):= { id:="1", anyAttributes:=m_emptyAnyAttributes, display_text :=omit, type_ :=omit, label_ :=omit, src_id:=omit, status:= p_status, any_1:=omit } template Endpoint_type m_endpoint(template charstring p_Uri,template Endpoint_status_type p_epStatus, template Media_type p_mediastatus):= { entity:=p_Uri, state:=full, anyAttributes:=m_emptyAnyAttributes, display_text:=omit, referred:=omit, status:=p_epStatus, joining_method:=dialed_out, joining_info:=omit, disconnection_method:=omit, disconnection_info:=omit, media:={p_mediastatus},// optional, call_info:=omit, any_1:=omit } template User_type m_1user (template charstring p_Uri,template Endpoint_type p_endpoint) := { entity:=p_Uri, state:=full, anyAttributes:=m_emptyAnyAttributes, display_text:=omit, associated_aors:=omit, roles:=omit, languages :=omit, cascaded_focus :=omit, endpoint:={p_endpoint},// optional, any_1:=omit } template Users_type m_users_1user_full(template User_type p_user):={ state:=full, anyAttributes := m_emptyAnyAttributes, user:={p_user}, any_1:=omit } template Conference_state_type m_conference_state(template unsignedInt p_nUsers, template booleanXSD p_active, template booleanXSD p_locked) := { anyAttributes:=m_emptyAnyAttributes, user_count:=p_nUsers, active:=p_active, locked:=p_locked, any_1 := omit } template Conference_info m_ci_cUri_nUsers_userEntity_active(template charstring p_cUri, template unsignedInt p_nUsers, template Users_type p_users ) := { template Conference_info m_ci_cUri_cState_userEntity(template charstring p_cUri, template Conference_state_type p_cState, template Users_type p_users ) := { entity := p_cUri, state := full, version := 1, anyAttributes := m_emptyAnyAttributes,//*,// {{name:="",val:=""}}, conference_description := omit, host_info := omit, conference_state := { anyAttributes:=m_emptyAnyAttributes, user_count:=p_nUsers, active:={bool:=true}, locked:=omit,//{bool:=false}, any_1 := omit }, conference_state := p_cState, users := p_users, sidebars_by_ref := omit, sidebars_by_val := omit, Loading Loading @@ -1500,7 +1543,7 @@ group request_send { messageBody := m_MBody_longPlainText } template NOTIFY_Request m_NOTIFY_Request_Xml_IMS template NOTIFY_Request m_NOTIFY_Request_Xml_IMS_Conference (SipUrl p_requestUri, CallId p_callId, CSeq p_cSeq, From p_from, To p_to, Via p_via, template MessageBody p_mb ) modifies m_NOTIFY_Request_Base Loading @@ -1509,7 +1552,11 @@ group request_send { msgHeader := { contentLength := {fieldName := CONTENT_LENGTH_E, len:= f_MessageBodyLength(valueof(p_mb))}, contentType := {fieldName := CONTENT_TYPE_E, mediaType := c_xmlAplication} contentType := {fieldName := CONTENT_TYPE_E, mediaType := c_xmlAplication}, event := {fieldName:=EVENT_E, eventType:="conference",eventParams:=omit}, subscriptionState:={fieldName:=SUBSCRIPTION_STATE_E, subState:="active",substateParams:=omit}, expires:={fieldName:=EXPIRES_E, deltaSec:="3600"} }, messageBody := p_mb } Loading