AtsImsIot_Templates_MW.ttcn 69.5 KB
Newer Older
                sipVersion := c_sipNameVersion
            },
            msgHeader := {
                callId := p_callId,
                fromField := p_from,
                toField := p_to,
                route := {
                    fieldName := ROUTE_E,
                    routeBody := {
                        *, 
                        ?,
                        *
                    }
                }
            }
        } // End of template mw_TP_MW_ECSCF_ACK_01
        
        template (present) ACK_Request mw_TP_MW_ECSCF_ACK_02( // TODO To be enforced
                                                             template (present) CallId p_callId := ?,
                                                             template (present) CSeq p_cSeq := ?,
                                                             template (present) SipUrl p_ack_uri := ?,
                                                             template (present) From p_from := ?,
                                                             template (present) To p_to := ?
                                                             ) modifies mw_TP_MW_ECSCF_ACK_01 := {
            msgHeader := {
                route := omit
            }
        } // End of template mw_TP_MW_ECSCF_ACK_02

        template (present) BYE_Request mw_TP_MW_ECSCF_BYE_01( // TODO To be enforced
                                                             template (present) CallId p_callId := ?,
                                                             template (present) CSeq p_cSeq := ?,
                                                             template (present) SipUrl p_bye_uri := ?,
                                                             template (present) From p_from := ?,
                                                             template (present) To p_to := ?
                                                             ) modifies mw_BYE_Request_Base := {
            requestLine := {
                method := BYE_E,
                requestUri := p_bye_uri, // @TODO
                sipVersion := c_sipNameVersion
            },
            msgHeader := {
                callId := p_callId,
                fromField := p_from,
                toField := p_to,
                route := {
                    fieldName := ROUTE_E,
                    routeBody := {
                        *, 
                        ?,
                        *
                    }
                }
            }
        } // End of template mw_TP_MW_PCSCF_BYE_01
        
    }

    group g_ibcf {

        /**
          * @desc INVITE Request checking TP_MW_IBCF_INVITE_01
          */
         template(present)  INVITE_Request mdw_TP_MW_IBCF_INVITE_01 (template (present) SipUrl p_ECSCF_SIP_URI := ?,
                                                                     template (present) From p_from := ?,
                                                                     template (present) To p_to := ?)
          modifies mw_INVITE_Request_Base := {
           msgHeader := {
             fromField := p_from,
             toField := p_to,
             route := ({
                 fieldName := ROUTE_E,
                 routeBody := {
                     *, 
                     complement(mw_routeBody(p_ECSCF_SIP_URI)),
                     *
                 }
             }, omit),
             recordRoute := {
                 fieldName := RECORD_ROUTE_E,
                 routeBody := {mw_routeBody(p_ECSCF_SIP_URI), *}             
             },        
             pChargingVector := {
                 fieldName := P_CHARGING_VECTOR_E,
                 chargeParams := {
                     *,
//                     {id := "icid-value", paramValue := ?},
                     *,
                     {id := "orig-ioi", paramValue := ?},
                     *,
//                     complement({id := "term-ioi", paramValue := ?}),
                     *,
                     complement({id := "access-network-charging-info", paramValue := ?}),
                     *
                 }
             },
            pAccessNetworkInfo := omit
           }
         }

        template (present) Response mw_TP_MW_IBCF_100Trying_01(
                                                                template (present) CSeq p_cSeq := ?,
                                                                template (present) From p_from := ?,
                                                                template (present) To p_to := ?
                                                                ) modifies mw_100Trying_Base := {
            msgHeader := {
                cSeq      := p_cSeq,
                fromField := p_from,
                toField   := p_to
            }
        } // End of template mw_TP_MW_IBCF_100Trying_01
        
        template (present) Response mw_TP_MW_IBCF_180Ringing_01(
                                                                 template (present) CSeq p_cSeq := ?,
                                                                 template (present) From p_from := ?,
                                                                 template (present) To p_to := ?
                                                                 ) modifies mw_180Ringing_Base := {
            msgHeader := {
                cSeq      := p_cSeq,
                fromField := p_from,
                toField   := p_to
            }
        } // End of template mw_TP_MW_IBCF_180Ringing_01
        
        template (present) Response mw_TP_MW_IBCF_183SessionProgress_01(
                                                                 template (present) CSeq p_cSeq := ?,
                                                                 template (present) From p_from := ?,
                                                                 template (present) To p_to := ?
                                                                 ) modifies mw_183SessionProgress_Base := {
            msgHeader := {
                cSeq      := p_cSeq,
                fromField := p_from,
                toField   := p_to
            }
        } // End of template mw_TP_MW_IBCF_183SessionProgress_01
    
        template (present) ACK_Request mw_TP_MW_IBCF_ACK_01( // TODO To be enforced
                                                             template (present) CallId p_callId := ?,
                                                             template (present) CSeq p_cSeq := ?,
                                                             template (present) SipUrl p_ack_uri := ?,
                                                             template (present) From p_from := ?,
                                                             template (present) To p_to := ?
                                                             ) modifies mw_ACK_Request_Base := {
            requestLine := {
                method := ACK_E,
                requestUri := p_ack_uri, // @TODO
                sipVersion := c_sipNameVersion
            },
            msgHeader := {
                callId := p_callId,
                fromField := p_from,
                toField := p_to,
                route := {
                    fieldName := ROUTE_E,
                    routeBody := {
                        *, 
                        ?,
                        *
                    }
                }
            }
        } // End of template mw_TP_MW_IBCF_ACK_01

        template (present) BYE_Request mw_TP_MW_IBCF_BYE_01( // TODO To be enforced
                                                             template (present) CallId p_callId := ?,
                                                             template (present) CSeq p_cSeq := ?,
                                                             template (present) SipUrl p_bye_uri := ?,
                                                             template (present) From p_from := ?,
                                                             template (present) To p_to := ?
                                                             ) modifies mw_BYE_Request_Base := {
            requestLine := {
                method := BYE_E,
                requestUri := p_bye_uri, // @TODO
                sipVersion := c_sipNameVersion
            },
            msgHeader := {
                callId := p_callId,
                fromField := p_from,
                toField := p_to,
                route := {
                    fieldName := ROUTE_E,
                    routeBody := {
                        *, 
                        ?,
                        *
                    }
                }
            }
        } // End of template mw_TP_MW_IBCF_BYE_01
        
Bostjan Pintar's avatar
Bostjan Pintar committed
} // End of module AtsImsIot_Templates_MW