Commit 0f92e0ab authored by berge's avatar berge
Browse files

Fixed compilation issues

parent d4382d1d
Loading
Loading
Loading
Loading
+97 −8
Original line number Diff line number Diff line
@@ -96,23 +96,36 @@ module Sanity_Templates {
		
	} // end group toTemplates

	group contactBodyTemplates {
		template ContactBody m_contactBody(template SipUrl p_contactUri) := {
			contactAddresses := {
				{
					addressField := { addrSpecUnion := p_contactUri},
					contactParams := omit
				}
			}
		}

	} // end group contactBodyTemplates


	group contactTemplates {
		
		template Contact m_contact(template SipUrl p_contactUri) := {
			fieldName 		:= CONTACT_E,
			contactBody		:= {contactAddresses := {{addressField := {addrSpecUnion := p_contactUri}}}}
			contactBody		:= m_contactBody(p_contactUri)
		}
		
	} // end group contactTemplates
	  	  
	group viaTemplates {
		
		template Via m_via(ViaBody_List p_viaBodyList) := {
		template Via m_via(template ViaBody_List p_viaBodyList) := {
		  fieldName := VIA_E,
		  viaBody	:= p_viaBodyList
		}
		
		template ViaBody m_viaBody(template HostPort p_sentBy, SemicolonParam_List p_viaParams) := {
		template ViaBody m_viaBody(template HostPort p_sentBy, template SemicolonParam_List p_viaParams) := {
			sentProtocol	:= m_sentProtocol,
			sentBy			:= p_sentBy,
			viaParams 		:= p_viaParams
@@ -136,15 +149,91 @@ module Sanity_Templates {
  			template SipUrl p_contactUri,
			template SipUrl p_fromUri,
			template SipUrl p_toUri,
			ViaBody_List p_viaBodyList
			template ViaBody_List p_viaBodyList
  		) := {
			accept := omit,
			acceptContact  := omit,
			acceptEncoding  := omit,
			acceptLanguage  := omit,
			alertInfo  := omit,
			allow  := omit,
			allowEvents  := omit, // 3265/7.2
			authenticationInfo  := omit, // only in responses
			authorization  := omit, // only in requests
			callId 		:= m_callId(p_callId),
			callInfo  := omit,
			contact		:= m_contact(p_contactUri),
			contentDisposition  := omit,
			contentEncoding  := omit,
			contentLanguage  := omit,
			contentLength  := omit, // optional in responses and all requests except ACK where mandatory
			contentType  := omit,
			cSeq 		:= m_cSeq(p_method),
			date  := omit,
			errorInfo  := omit, // only in responses
			event  := omit, // 3265/7.2
			expires  := omit,
			fromField 	:= m_fromField(p_fromUri), 
 			toField 	:= m_toField(p_toUri), 
			contact		:= m_contact(p_contactUri),
			historyInfo  := omit, // 4244
			inReplyTo  := omit, // only in requests
			maxForwards	:= c_maxForwards70,
			via 		:= m_via(p_viaBodyList) 
			mimeVersion  := omit,
			minExpires  := omit, // only in responses
			minSE  := omit, // 4028
			organization  := omit,
			pAccessNetworkInfo  := omit, // 3455
			pAssertedID  := omit, // 3325
			pAssertedService  := omit,
			pAssociatedURI  := omit, // 3455
			path  := omit, // 3327
			pCalledPartyID  := omit, // 3455
			pChargingFunctionAddresses  := omit, // 3455
			pChargingVector  := omit, // 3455
			pEarlyMedia	 := omit, // 5009
			pMediaAuthorization  := omit, // 3313
			pPreferredID  := omit, // 3325
			priority  := omit,  // only in requests
			privacy  := omit, // 3323
			proxyAuthenticate  := omit, // only in responses
			proxyAuthorization  := omit, // only in requests
			proxyRequire  := omit, // only in requests
			pVisitedNetworkID  := omit, // 3455
			rAck  := omit, // 3262/7.1
			rSeq  := omit, // 3262/7.1
			reason  := omit, // 3326
			recordRoute  := omit,
			referredBy  := omit, // 3892 - REFER method	
			referTo  := omit, // 3515 - REFER method
			replyTo  := omit, // optional in responses and INVITE requests
			require  := omit,
			retryAfter  := omit, // only in responses
			route  := omit, // only in requests
			securityClient  := omit, // 3329
			securityServer  := omit, // 3329
			securityVerify  := omit, // 3329
			server  := omit, // only in responses
			serviceRoute  := omit, // 3608
			sessionExpires := omit, // 4028
			subject  := omit, // only in requests
			subscriptionState  := omit, // 3265/7.2
			supported  := omit,
			timestamp  := omit,
			toField	:= m_toField(p_toUri),
			unsupported  := omit, // only in responses
			userAgent  := omit,
			via 		:= m_via(p_viaBodyList), 
			warning  := omit, // only in responses
			wwwAuthenticate  := omit, // only in responses
			undefinedHeader_List  := omit  			
  			
  			
			
			
			 
			
			
			 
			
  		}
  	
  	} // end group msgHeaderTemplates