Newer
Older
portField := p_userprofile.currPort
}
}
},
urlParameters := omit,
headers := omit
}
},
rrParam := omit
}
template(value) ReferredBy m_ReferredBy_SipUrl(
template(value) SipUrl p_sipUrl
) := {
nameAddr :=
m_NameAddr(
// STF471 {displayName
omit,
// := omit,
p_sipUrl // addrSpec:=p_sipUrl}
),
template(value) ReferTo m_ReferTo_SipUrl(
template(value) SipUrl p_sipUrl,
template(value) GenValue p_method
nameAddr :=
m_NameAddr(
// STF471 {displayName
omit,
// := omit,
p_sipUrl // addrSpec:=p_sipUrl}
),
{
id := "method",
paramValue := p_method
}
template(value) ReferSub m_ReferSub(
template(value) boolean p_value
) := {
fieldName := REFER_SUB_E,
referSubValue := p_value,
template(value) Replaces m_Replaces(
template(value) charstring p_callId,
template(value) GenValue p_toTag,
template(value) GenValue p_fromTag
callid := p_callId,
{
id := "to-tag",
paramValue := p_toTag
},
{
id := "from-tag",
paramValue := p_fromTag
}
template(value) Require m_Require_replaces modifies m_Require_empty := {optionsTags := {c_replaces}}
template(value) Require m_Require_100rel modifies m_Require_empty := {optionsTags := {c_tag100rel}}
template(value) Require m_Require_prec modifies m_Require_empty := {optionsTags := {c_tagPrecond}}
template(value) SubscriptionState m_SubscriptionState_active := {
fieldName := SUBSCRIPTION_STATE_E,
subState := "active",
paramValue := {tokenOrHost := "60000"}
template(value) Supported m_Supported_fromChange modifies m_Supported_empty := {optionsTags := {c_tagFromChange}}
template(value) Supported m_Supported_prec modifies m_Supported_empty := {optionsTags := {c_tagPrecond}}
template(value) Supported m_Supported_100rel modifies m_Supported_empty := {optionsTags := {c_tag100rel}}
template(value) Supported m_Supported_100rel_prec modifies m_Supported_empty := {optionsTags := {c_tag100rel, c_tagPrecond}}
template(value) GenericParam m_Text(
template(value) GenValue p_text
template(present) GenericParam mw_Text(
paramValue := { quotedString := "phone" }
template(value) GenericParam m_UserToUserEncodingHex := {
paramValue := { quotedString := "hex" }
template(value) UserToUser m_UserToUserData(
template(value) UserToUser.uuiData p_U2UData
) := {
fieldName := USER_TO_USER_E,
uuiData := p_U2UData,
template(value) To m_To(
template(value) SipUrl p_sipUrl
) := {
//* optional charstring
p_sipUrl //* SipUrl
)
}, //* end addressField
template(value) To m_To_SipUrl(
template(value) SipUrl p_sipUrl
) modifies m_To := {
addressField := {
nameAddr := {
displayName :=
omit //* optional charstring
}
template(present) charstring p_user := ?,
template charstring p_host := ?
) := {
fieldName := TO_E,
addressField := (mw_AddrUnion_Nameaddr(p_dn, p_user, p_host), mw_AddrUnion_SipUrl(p_user, p_host)),
template(present) To mw_To(
template(present) SipUrl p_sipUrl := ?
) := {
fieldName := TO_E,
addressField := {nameAddr := mw_NameAddr(*, p_sipUrl)},
template(present) From mw_From(
template(present) SipUrl p_sipUrl := ?
) := {
fieldName := FROM_E,
addressField := {nameAddr := mw_NameAddr(*, p_sipUrl)},
template(present) charstring p_user := ?,
template charstring p_host
) := {
fieldName := FROM_E,
addressField := (mw_AddrUnion_Nameaddr(p_dn, p_user, p_host), mw_AddrUnion_SipUrl(p_user, p_host)),
template(value) charstring p_branch_val,
template(value) SipUserProfile p_userprofile
) := {
sentProtocol := m_SentProtocol(PX_SIP_TRANSPORT),
sentBy := {
host := p_userprofile.currIpaddr,
portField := p_userprofile.currPort
},
viaParams := {
{
id := c_branchId,
paramValue := {
tokenOrHost := p_branch_val
}
template(present) ViaBody mw_ViaBody_interface(
template(present) HostPort p_hostport := ?
) := {
template(present) Via mw_Via(
template(present) ViaBody p_viabody := ?
) := {
template(present) Require mw_Require_not_100rel modifies mw_Require_Base := {optionsTags := superset(complement(c_tag100rel))}
template(present) Require mw_require_100rel modifies mw_Require_Base := {optionsTags := superset(c_tag100rel)}
template(present) RecordRoute mw_recordroute(
template(present) RouteBody p_routeBody := ?
) := {
routeBody := {*, p_routeBody, *} // superset(p_routeBody)
template(present) Route mw_route(
template(present) RouteBody_List p_routeBody := ?
) := {
template(present) Supported mw_Supported_100rel_prec modifies mw_Supported_Base := {optionsTags := superset(c_tag100rel, c_tagPrecond)}
template(present) Supported mw_Supported_100rel modifies mw_Supported_Base := {optionsTags := superset(c_tag100rel)}
template(present) Supported mw_Supported_fromChange modifies mw_Supported_Base := {optionsTags := superset(c_tagFromChange)}
template(present) UserToUser mw_UserToUserData(
template(present) UserToUser.uuiData p_U2UData := ?
) := {
fieldName := USER_TO_USER_E,
uuiData := p_U2UData,
}
template(present) Contact mw_Contact_conference := {
fieldName := CONTACT_E,
contactBody := {
contactAddresses := {
{
addressField := {
template(value) AlertInfo m_AlertInfo(
template(value) charstring p_urn
) modifies m_AlertInfo_Base := {
template(present) AlertInfo mw_AlertInfo(
template(present) charstring p_urn := ?
) modifies m_AlertInfo_Base := {
alertInfoBody :=
superset(
{
p_urn,
omit
}
)
template(value) RequestLine m_requestLine_dummy(
template(value) Method p_method
) := {
method := p_method,
requestUri := c_unavailableUri,
}
template(value) MessageHeader m_msgHeader_dummy := {
accept := omit,
acceptContact := omit,
acceptEncoding := omit,
acceptLanguage := omit,
alertInfo := omit,
allow := omit,
allowEvents := omit, //* RFC3265
authenticationInfo := omit,
authorization := omit,
callId := c_empty_CallId,
callInfo := omit,
contact := omit,
contentDisposition := omit,
contentEncoding := omit,
contentLanguage := omit,
contentType := omit, //* if message body present m,
cSeq := c_empty_cSeq,
date := omit,
errorInfo := omit,
event := omit, //* RFC3265
expires := omit,
fromField := c_empty_From,
geolocation := omit,
geolocationRouting := omit,
historyInfo := omit, //* RFC4244
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
inReplyTo := omit,
maxForwards := c_maxForwards70,
mimeVersion := omit,
minExpires := omit,
minSE := omit, //* RFC4028
organization := omit,
pAccessNetworkInfo := omit, //* RFC3455
pAssertedID := omit,
pAssertedService := omit,
pAssociatedURI := omit,
path := omit, //* RFC3327
pCalledPartyID := omit, //* RFC3455
pChargingFunctionAddresses := omit, //* RFC3455
pChargingVector := omit, //* RFC3455
pEarlyMedia := omit, //* RFC5009
pMediaAuthorization := omit, //* RFC3313
pPreferredID := omit,
pPreferredService := omit,
priority := omit,
privacy := omit,
proxyAuthenticate := omit,
proxyAuthorization := omit,
proxyRequire := omit,
pVisitedNetworkID := omit, //* RFC3455
rAck := omit,
rSeq := omit,
reason := omit,
recordRoute := omit,
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
requestDisposition := omit,
referredBy := omit, //* RFC3892 - REFER method
referTo := omit, //* RFC3515 - REFER method
referSub := omit, //* RFC4488 - REFER method
replaces := omit, //* RFC3891
replyTo := omit,
require := omit,
retryAfter := omit,
route := omit,
securityClient := omit, //* RFC3329
securityServer := omit, //* RFC3329
securityVerify := omit, //* RFC3329
server := omit,
serviceRoute := omit, //* RFC3608
sessionExpires := omit, //* RFC4028
sessionId := omit,
sipETag := omit,
sipIfMatch := omit,
subject := omit,
subscriptionState := omit, //* RFC3265
supported := omit,
timestamp := omit,
toField := c_empty_To,
unsupported := omit,
userToUser := omit,
userAgent := omit,
via := c_empty_Via,
warning := omit,
wwwAuthenticate := omit,
resourcePriority := omit,
answerMode := omit,
privAnswerMode := omit,
targetDialog := omit,
pAnswerState := omit,
undefinedHeader_List := omit
}
} //* group dummy_parameter_send
group dummy_parameter_receive {
template(present) RequestLine mw_requestLine_dummy(
Method p_method
) := {
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
template(present) MessageHeader mw_msgHeader_dummy := {
accept := *,
acceptContact := *,
acceptEncoding := *,
acceptLanguage := *,
alertInfo := *,
allow := *,
allowEvents := *, //* RFC3265
authenticationInfo := *,
authorization := *,
callId := ?,
callInfo := *,
contact := *,
contentDisposition := *,
contentEncoding := *,
contentLanguage := *,
contentLength := ?,
contentType := *,
cSeq := ?,
date := *,
errorInfo := *,
event := *, //* RFC3265
expires := *,
fromField := ?,
geolocation := *,
geolocationRouting := *,
historyInfo := *, //* RFC4244
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
inReplyTo := *,
maxForwards := *,
mimeVersion := *,
minExpires := *,
minSE := *, //* RFC4028
organization := *,
pAccessNetworkInfo := *, //* RFC3455
pAssertedID := *,
pAssertedService := *,
pAssociatedURI := *,
path := *, //* RFC3327
pCalledPartyID := *, //* RFC3455
pChargingFunctionAddresses := *, //* RFC3455
pChargingVector := *, //* RFC3455
pEarlyMedia := *, //* RFC5009
pMediaAuthorization := *, //* RFC3313
pPreferredID := *,
pPreferredService := *,
priority := *,
privacy := *,
proxyAuthenticate := *,
proxyAuthorization := *,
proxyRequire := *,
pVisitedNetworkID := *, //* RFC3455
rAck := *,
rSeq := *,
reason := *,
recordRoute := *,
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
requestDisposition := *,
referredBy := *, //* RFC3892 - REFER method
referTo := *, //* RFC3515 - REFER method
referSub := *, //* RFC4488 - REFER method
replaces := *, //* RFC 3891
replyTo := *,
require := *,
retryAfter := *,
route := *,
securityClient := *, //* RFC3329
securityServer := *, //* RFC3329
securityVerify := *, //* RFC3329
server := *,
serviceRoute := *, //* RFC3608
sessionExpires := *, //* RFC4028
sessionId := *,
sipETag := *,
sipIfMatch := *,
subject := *,
subscriptionState := *, //* RFC3265
supported := *,
timestamp := *,
toField := ?,
unsupported := *,
userToUser := *,
userAgent := *,
via := ?,
warning := *,
wwwAuthenticate := *,
resourcePriority := *,
answerMode := *,
privAnswerMode := *,
targetDialog := *,
pAnswerState := *,
group dummy_request_templates_send {
template(value) ACK_Request m_ACK_Dummy := {
requestLine := m_requestLine_dummy(ACK_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) BYE_Request m_BYE_Dummy := {
requestLine := m_requestLine_dummy(BYE_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) CANCEL_Request m_CANCEL_Dummy := {
requestLine := m_requestLine_dummy(CANCEL_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) INFO_Request m_INFO_Dummy := {
requestLine := m_requestLine_dummy(INFO_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) INVITE_Request m_INVITE_Dummy := {
requestLine := m_requestLine_dummy(INVITE_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) MESSAGE_Request m_MESSAGE_Dummy := {
}
template(value) NOTIFY_Request m_NOTIFY_Dummy := {
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) OPTIONS_Request m_OPTIONS_Dummy := {
requestLine := m_requestLine_dummy(OPTIONS_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) PRACK_Request m_PRACK_Dummy := {
requestLine := m_requestLine_dummy(PRACK_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) PUBLISH_Request m_PUBLISH_Dummy := {
requestLine := m_requestLine_dummy(PUBLISH_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) REGISTER_Request m_REGISTER_Dummy := {
requestLine := m_requestLine_dummy(REGISTER_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) REFER_Request m_REFER_Dummy := {
requestLine := m_requestLine_dummy(REFER_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) SUBSCRIBE_Request m_SUBSCRIBE_Dummy := {
requestLine := m_requestLine_dummy(SUBSCRIBE_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
template(value) UPDATE_Request m_UPDATE_Dummy := {
requestLine := m_requestLine_dummy(UPDATE_E),
msgHeader := m_msgHeader_dummy,
messageBody := omit,
group dummy_request_templates_receive {
template(present) ACK_Request mw_ACK_Dummy := {
requestLine := mw_requestLine_dummy(ACK_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) BYE_Request mw_BYE_Dummy := {
}
template(present) CANCEL_Request mw_CANCEL_Dummy := {
requestLine := mw_requestLine_dummy(CANCEL_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) INFO_Request mw_INFO_Dummy := {
requestLine := mw_requestLine_dummy(INFO_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) INVITE_Request mw_INVITE_Dummy := {
requestLine := mw_requestLine_dummy(INVITE_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) MESSAGE_Request mw_MESSAGE_Dummy := {
requestLine := mw_requestLine_dummy(MESSAGE_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) OPTIONS_Request mw_OPTIONS_Dummy := {
requestLine := mw_requestLine_dummy(OPTIONS_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) NOTIFY_Request mw_NOTIFY_Dummy := {
requestLine := mw_requestLine_dummy(NOTIFY_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) PRACK_Request mw_PRACK_Dummy := {
requestLine := mw_requestLine_dummy(PRACK_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) PUBLISH_Request mw_PUBLISH_Dummy := {
requestLine := mw_requestLine_dummy(PUBLISH_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) REFER_Request mw_REFER_Dummy := {
}
template(present) REGISTER_Request mw_REGISTER_Dummy := {
requestLine := mw_requestLine_dummy(REGISTER_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) SUBSCRIBE_Request mw_SUBSCRIBE_Dummy := {
requestLine := mw_requestLine_dummy(SUBSCRIBE_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
}
template(present) UPDATE_Request mw_UPDATE_Dummy := {
requestLine := mw_requestLine_dummy(UPDATE_E),
msgHeader := mw_msgHeader_dummy,
messageBody := *,
group dummy_response_templates_send {
template(value) Response m_Response_Dummy := {
statusLine := c_statusLine100,
msgHeader := m_msgHeader_dummy,
messageBody := omit,
}
} //* group dummy_response_templates_send
group dummy_response_templates_receive {
statusLine := ?,
msgHeader := mw_msgHeader_dummy,
messageBody := *,
} //* group dummy_response_templates_receive
}
group base_templates {
template(value) CSeq m_cSeq(
template(value) integer p_seqNumber,
template(value) charstring p_method
) := {
fieldName := CSEQ_E,
seqNumber := p_seqNumber,
template(value) ContentLength m_contentLength(
template(value) integer p_len
) := {
template(value) ContentType m_contentType(
template(value) charstring p_mTypeSubtype,
template(omit) SemicolonParam_List p_mParams := omit
mTypeSubtype := p_mTypeSubtype,
mParams := p_mParams
template(present) ContentType mw_contentType(
in template(present) charstring p_mTypeSubtype := ?,
in template SemicolonParam_List p_mParams := *
mTypeSubtype := p_mTypeSubtype,
mParams := p_mParams
template(omit) CallId p_callId := omit,
template(omit) CSeq p_cSeq := omit,
template(value) From p_from,
template(value) To p_to,
template(value) Via p_via
cSeq := m_cSeq(p_cSeq.seqNumber, "ACK"), // STF471
// {fieldName:=CSEQ_E,
// seqNumber:=
// p_cSeq.seqNumber,
// method:=
// "ACK"},
fromField := p_from,
toField := p_to,
via := p_via
}
}
template(value) ACK_Request m_ACK_Request_withRecordRoute(
template(omit) CallId p_callId := omit,
template(omit) CSeq p_cSeq := omit,
template(value) From p_from,
template(value) To p_to,
template(value) Via p_via,
template(value) Route p_route
msgHeader := {
route := p_route,
contentLength := m_contentLength(0)
}
}
template(value) BYE_Request m_BYE_Request_Base(
template(value) SipUrl p_requestUri,
template(omit) CallId p_callId := omit,
template(omit) CSeq p_cSeq := omit,
template(value) From p_from,
template(value) To p_to,
template(value) Via p_via
callId := p_callId,
cSeq := p_cSeq,
fromField := p_from,
toField := p_to,
template(omit) CallId p_callId := omit,
template(omit) CSeq p_cSeq := omit,
template(value) From p_from,
template(value) To p_to,
template(value) Via p_via
callId := p_callId,
cSeq := p_cSeq,
fromField := p_from,
toField := p_to,
template(omit) CallId p_callId := omit,
template(omit) CSeq p_cSeq := omit,
template(value) From p_from,
template(value) To p_to,
template(value) Via p_via
callId := p_callId,
cSeq := p_cSeq,
fromField := p_from,
toField := p_to,
template(value) INVITE_Request m_INVITE_Request_Base(
template(value) SipUrl p_requestUri,
template(omit) CallId p_callId := omit,
template(omit) CSeq p_cSeq := omit,
template(value) From p_from,
template(value) To p_to,
template(value) Via p_via,
template(value) Contact p_contact
) modifies m_INVITE_Dummy := {
msgHeader := {
callId := p_callId,
contact := p_contact,
cSeq := p_cSeq,
fromField := p_from,
toField := p_to,
via := p_via
}
template(value) MESSAGE_Request m_MESSAGE_Request_Base(
template(value) SipUrl p_requestUri,
template(omit) CallId p_callId := omit,
template(omit) CSeq p_cSeq := omit,
template(value) From p_from,
template(value) To p_to,
template(value) Via p_via
) modifies m_MESSAGE_Dummy := {
msgHeader := {
callId := p_callId,
cSeq := p_cSeq,
fromField := p_from,
toField := p_to,
via := p_via
}
template(value) NOTIFY_Request m_NOTIFY_Request_Base(
template(value) SipUrl p_requestUri,
template(omit) CallId p_callId := omit,
template(omit) CSeq p_cSeq := omit,
template(value) From p_from,
template(value) To p_to,
template(value) Via p_via
) modifies m_NOTIFY_Dummy := {
requestLine := {requestUri := p_requestUri},
msgHeader := {
callId := p_callId,
cSeq := m_cSeq(p_cSeq.seqNumber, "NOTIFY"), // STF471
// {fieldName:=CSEQ_E,
// seqNumber:=
// p_cSeq.seqNumber,
// method:=
// "NOTIFY"},
fromField := p_from,
toField := p_to,
via := p_via
}
}
template(value) OPTIONS_Request m_OPTIONS_Request_Base(
template(value) SipUrl p_requestUri,
template(omit) CallId p_callId := omit,
template(omit) CSeq p_cSeq := omit,