Commit 4c4f6d30 authored by poglitsch's avatar poglitsch
Browse files

templates PIXIT and functions added

parent df563916
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -530,6 +530,22 @@ group TS_SCSCF {
	}
} // end group TS_SCSCF

group TS_ECSCF {
	modulepar {
    	/** @desc	charstring for TS/E-CSCF IP address to exchange SIP messages
    	*/
		charstring  PX_IMS_TS_ECSCF_IPADDR := "172.31.1.14";
	
    	/** @desc	integer for TS/E-CSCF port number to exchange SIP messages
    	*/
		integer	    PX_IMS_TS_ECSCF_PORT := 5060;

    	/** @desc	charstring for TS/E-CSCFdomain
    	*/
		charstring  PX_IMS_TS_ECSCF_HOME_DOMAIN := "ECSCF.ts.net";
	}
} // end group TS_ECSCF

group TS_IMS1user {
	modulepar {
	/** @desc	charstring for public userinfo/displayname addressing IMS1UE (simulated by the TS)
+4 −1
Original line number Diff line number Diff line
@@ -34,11 +34,13 @@ group UserProfileConstants
	  const integer c_userProfile_PCSCFwithUnknownVisitingUE := 44;	// location is IMS1 domain
	  const integer c_userProfile_ICSCFwithHomeUE := 45; 			// location is IMS1 domain
	  const integer c_userProfile_SCSCFwithHomeUE := 46; 			// location is IMS1 domain
	  const integer c_userProfile_ECSCFwithHomeUE := 47; 			// location is IMS1 domain
	  const integer c_userProfile_ISUP := 49;						// 
 	  const integer c_userProfile_AS1 := 51;       					// Isc userProfile at AS1
      const integer c_userProfile_AS2 := 52;						// Isc userProfile at AS2
		
		
	  
	  // number of interface profile 
	  const integer c_interfaceProfile_IMS_SUT_IBCF1 := 100;		// Ic interface at IBCF1 located in SUT
	  const integer c_interfaceProfile_IMS_SUT_IBCF2 := 101;		// Ic interface at IBCF2 located in SUT
@@ -49,6 +51,7 @@ group UserProfileConstants
	  const integer c_interfaceProfile_IMS_SUT_ICSCF := 114; 		// Mw interface at I-CSCF located in SUT
	  const integer c_interfaceProfile_IMS_SUT_MGCF := 115; 		// Mw interface at MGCF located in SUT
  	  const integer c_interfaceProfile_IMS_SUT_AS := 116; 			// Isc interface at AS located in SUT
  	  const integer c_interfaceProfile_IMS_SUT_ECSCF := 117; 		// Mw interface at E-CSCF located in SUT
	  
	  
	  // number of conference profile
+18 −0
Original line number Diff line number Diff line
@@ -633,6 +633,20 @@ module LibIms_Steps
			vc_userprofile.homeDomain := PX_IMS_TS_AS2_HOME_DOMAIN;		// via, route
			}
			
			case (c_userProfile_ECSCFwithHomeUE) { 						//variant c_userProfile_PCSCFwithHomeUE
    			vc_userprofile.currPort := PX_IMS_TS_ECSCF_PORT;			// via (Mw interface of TS)
    			vc_userprofile.currIpaddr := PX_IMS_TS_ECSCF_IPADDR;		// via
    			vc_userprofile.contactPort := PX_IMS_TS_UE1_PORT;			// contact (simulated UE)
    			vc_userprofile.contactIpaddr := PX_IMS_TS_UE1_IPADDR;		// contact
    			vc_userprofile.bearerIpaddr := PX_IMS_SUT_UE1_BEARER_IPADDR;	
    			vc_userprofile.homeDomain := PX_IMS_SUT_UE1_HOME_DOMAIN;	// From, To (register)
    			vc_userprofile.publUsername := PX_IMS_SUT_UE1_PUBLIC_USER;	// From, To (register)
    			vc_userprofile.qop := PX_IMS_SUT_UE1_QOP;					// Authorization
    			vc_userprofile.privUsername := PX_IMS_SUT_UE1_PRIVAT_USERNAME;	// Authorization
    			vc_userprofile.passwd := PX_IMS_SUT_UE1_PRIVAT_PASSWD;			// Authorization
    			vc_userprofile.registrarDomain := PX_IMS_SUT_UE1_REGISTRAR; 	// Authorization
			}
			
			}
		}

@@ -710,6 +724,10 @@ module LibIms_Steps
//						p_sipUrl.userInfo := {userOrTelephoneSubscriber:=PX_IMS_TS_IMS1UE_PUBLIC_USER, password:=omit};
//						p_sipUrl.hostPort := {host := PX_IMS_TS_IMS1UE_HOME_DOMAIN, portField :=omit}
				}
				case (c_userProfile_ECSCFwithHomeUE) {
					p_sipUrl.userInfo := {userOrTelephoneSubscriber:=PX_IMS_TS_IMS1UE_PUBLIC_USER, password:=omit};
					p_sipUrl.hostPort := {host := PX_IMS_TS_ECSCF_IPADDR, portField :=omit}
				}
				case (c_userProfile_ISUP) {
						p_sipUrl.userInfo := {userOrTelephoneSubscriber:=PX_IMS_TS_ISUP_PUBLIC_USER, password:=omit};
						p_sipUrl.hostPort := {host := PX_IMS_TS_ISUP_HOME_DOMAIN, portField :=omit}
+22 −0
Original line number Diff line number Diff line
@@ -1961,6 +1961,28 @@ group request_receive {
			via := p_via
		}
	  }
	template INVITE_Request mw_INVITE_Request_IMS_requestLine(template PChargingVector p_pChargingVector,
						  template RecordRoute p_recordRoute,
						  template Route p_route, template Via p_via, template SipUrl p_requestUri)
	modifies mw_INVITE_Request_Base := {
		requestLine	:=
		{
			requestUri := p_requestUri
		},
		msgHeader := {
			pChargingVector := p_pChargingVector,
			recordRoute := p_recordRoute,
			route := p_route,
			via := p_via
		}
	}
	
	template INVITE_Request mw_INVITE_Request_IMS_PAsserted_noPPreferred(template PChargingVector p_pChargingVector,
								template RecordRoute p_recordRoute,
								template Route p_route, template Via p_via, template SipUrl p_requestUri, template PAssertedID p_pAssertedID)
	modifies mw_INVITE_Request_Base := {
		msgHeader := {pAssertedID := p_pAssertedID, pPreferredID := omit}
	}
	 
	template INVITE_Request mw_INVITE_Request_IMS_mb (template PChargingVector p_pChargingVector, template RecordRoute p_recordRoute, template Route p_route, template Via p_via) modifies  mw_INVITE_Request_Base
	:=