newOcr
This suite does not correspond to any of the original system tests. Instead it contains a test case from one of the original SIP conformance tests (in the systemTest/conformance/ocr/ test suite).
00Startup and zzShutdown
Start the SIP proxy before this test suite, and stop the SIP proxy after this test suite.
OCR-CONF-TC1
Description
This is a clone of the original 'OCR-CONF-TC1' test in the original 'ocr' directory. The description of that original test was 'No HLR, Non-Mobile VM TestSubscriber, MIM-Registration and LCR termination'.
uac_zzzcwells_newOcr_OCR-CONF-TC1_1.xml
TestSubscriber:
- Originating subscriber device: 4168800002.
- device { number(4168800002) VM(0) ringingEnabled(1) statusTrackingEnabled(0) originSubscriberProvided(0) deviceId(15164) grpRole(CSID) (domain { id(6283) name(mch_cell_4168800000/4168800002 (SDN/DN)) type(CELLULAR) route(sip:127.0.0.1:5080) uri(REUSE) host() lcc() tg_info() max_priv(0) min_nat(7) max_nat(10) cell_type(GSM) prim_tg() uri_from_contact(0) tls_only(0) intercept_term_answer(1) pbx_user() refer_handling_type(PROCESS) sipRegistrarAddress() sipRegistrationOption(ACCEPT) outbound_calling { add_lcc(1) remove_lcc(0) intl_prefix() priv_prefix() remove_params(0) } outbound_called { add_lcc(1) remove_lcc(0) intl_prefix() priv_prefix() remove_params(0) routing_prefix { { match(MATCH) compare(151) replace() }, { match(MATCH) compare(888) replace() }, { match(MATCH) compare(987) replace() }, { match(MATCH) compare(998) replace() }, { match(MATCH) compare(999) replace() }) } } }) securePickupEnabled(0) }
Test case details
TestSubscriber does MIM registration
TestSubscriber
Send an INVITE for MIM registration
TestSubscriber
Receive optional 100 Trying
TestSubscriber
Receive 200 OK
- Assert that the Contact field says REGISTERED
- Get the Contact field value into script variable [$1]
- Get the From field value into script variable [$4]
TestSubscriber
Send an ACK
TestSubscriber
Auto-generated pause between back-to-back 'send' to avoid the 'send' instances being concatenated
TestSubscriber
Send a BYE
TestSubscriber
Receive 200 OK
uas_zzzcwells_newOcr_OCR-CONF-TC1_2.xml
Mim-registered device:
- Terminating subscriber device: 4161980000 (active DN: 4161980000).
- Estimated URI: 'sip:4161980000@toronto.newstep.com'.
- device { number(4168800002) VM(0) ringingEnabled(1) statusTrackingEnabled(0) originSubscriberProvided(0) deviceId(15164) grpRole(CSID) (domain { id(6283) name(mch_cell_4168800000/4168800002 (SDN/DN)) type(CELLULAR) route(sip:127.0.0.1:5080) uri(REUSE) host() lcc() tg_info() max_priv(0) min_nat(7) max_nat(10) cell_type(GSM) prim_tg() uri_from_contact(0) tls_only(0) intercept_term_answer(1) pbx_user() refer_handling_type(PROCESS) sipRegistrarAddress() sipRegistrationOption(ACCEPT) outbound_calling { add_lcc(1) remove_lcc(0) intl_prefix() priv_prefix() remove_params(0) } outbound_called { add_lcc(1) remove_lcc(0) intl_prefix() priv_prefix() remove_params(0) routing_prefix { { match(MATCH) compare(151) replace() }, { match(MATCH) compare(888) replace() }, { match(MATCH) compare(987) replace() }, { match(MATCH) compare(998) replace() }, { match(MATCH) compare(999) replace() }) } } }) securePickupEnabled(0) }
uas_zzzcwells_newOcr_OCR-CONF-TC1_3.xml
VM device:
- Terminating subscriber device: 4168800003.
- Estimated URI: 'sip:1154168800003@ims.attlabs.net'.
- device { number(4168800003) VM(1) ringingEnabled(1) statusTrackingEnabled(0) originSubscriberProvided(0) deviceId(15165) grpRole() (domain { id(6285) name(simring1_pstn_115_4168800000/4168800003 (SDN/DN)) type(PSTN) route(sip:127.0.0.1:5080) uri(SIP) host(ims.attlabs.net) lcc() tg_info() max_priv(0) min_nat(7) max_nat(10) cell_type(CDMA) prim_tg() uri_from_contact(0) tls_only(0) intercept_term_answer(1) pbx_user() refer_handling_type(PROCESS) sipRegistrarAddress() sipRegistrationOption(ACCEPT) outbound_calling { add_lcc(1) remove_lcc(0) intl_prefix() priv_prefix() remove_params(0) } outbound_called { add_lcc(1) remove_lcc(0) intl_prefix() priv_prefix() remove_params(0) routing_prefix { { match(MATCH) compare(151) replace(115) }, { match(MATCH) compare(888) replace(115) }, { match(MATCH) compare(987) replace(115) }, { match(MATCH) compare(998) replace(115) }, { match(MATCH) compare(999) replace(115) }, { match(MATCH) compare() replace(115) }) } } }) securePickupEnabled(0) }
uac_zzzcwells_newOcr_OCR-CONF-TC1_4.xml
Non-subscriber:
- Originating non-subscriber device: 4161980101.
Test case details
Non-subscriber sends voice invite to the SDN
Non-subscriber
Send an INVITE for a voice call
VM device receives an INVITE and responds TRYING
VM device
Receive 'INVITE' request
- Remember the CSeq of this request, to send back in a subsquent response
- Get the From field value into script variable [$4]
- Get the Contact field value into script variable [$1]
- Get the From tag field value into script variable [$3]
VM device
Respond 100 Trying to previous request
Non-subscriber
Receive optional 100 Trying
LCR device receives an INVITE and responds OK to accept it
Mim-registered device
Receive 'INVITE' request
- Remember the CSeq of this request, to send back in a subsquent response
- Get the From field value into script variable [$4]
- Assert that INVITE is sent to the MIM-registered DN
- Assert that INVITE is sent from the non-subscriber DN
- Get the Contact field value into script variable [$1]
- Get the From tag field value into script variable [$3]
Mim-registered device
longish wait while/until device accepts the call
Mim-registered device
Respond 200 OK with SDP to accept the voice call
Mim-registered device
Receive 'ACK' request
Call to the VM device is now cancelled because LCR accepted the call
VM device
Receive 'CANCEL' request
VM device
Respond 200 OK to previous request
VM device
Auto-generated pause between back-to-back 'send' to avoid the 'send' instances being concatenated
VM device
Respond 487 Request Terminated to pending INVITE
VM device
Receive 'ACK' request
LCR device receives a 2nd invite because it's a half-call being joined to the full call
Mim-registered device
Receive 'INVITE' request
- Remember the CSeq of this request, to send back in a subsquent response
- Get the From field value into script variable [$4]
- Assert that INVITE is sent to the MIM-registered DN
- Assert that INVITE is sent from the non-subscriber DN
Mim-registered device
longish wait while/until device accepts the call
Mim-registered device
Respond 200 OK with SDP to accept the voice call
Mim-registered device
Receive 'ACK' request
Non-subscriber receives 200 OK on call established
Non-subscriber
Receive 200 OK
- Get the Contact field value into script variable [$1]
- Get the From field value into script variable [$4]
Non-subscriber
Send an ACK
Non-subscriber
longish wait to simulate using the established call
Non-subscriber sends BYE
Non-subscriber
Send a BYE
Mim-registered device
Receive 'BYE' request
Mim-registered device
Respond 200 OK to previous request
Mim-registered device
Keep the script running for a while in case the 200 OK is lost, so that SIPp can retransmit it if necessary
Non-subscriber
Receive 200 OK
Subscriber[s]
To do: add a description of this subscriber
*-*-* McsSubscriptionData *-*-*
McsSubscriptionDataId(7037)
StServiceDef(NewStep Service Definition)
StServiceTemp()
HlrFlag(0)
DceTo(20)
DceAddr(5551112222)
SdnBaseVmRetrievalFlag(0)
SdnBaseVmRetrievalPrefix()
pickupScope(SUBSCRIBER)
PickupNumber()
PersonalPickupFlag(0)
RingBackAnnounce()
UnifiedRingBackResource(NONE)
UnifiedRingbackControl(UNCONDITIONAL)
ReconnectAnnounce()
MimFlag(1)
MimRegAddr(5551113333)
WiFiSmsFlag(0)
NaTo(0)
AutoReconnectEnable(0)
ReconnectTo(0)
DelayJoinTo(0)
PersonalHandBackFlag(0)
HandOffCode1()
HandBackCode1()
HandOffCode2()
HandBackCode2()
HandOffTo(-1)
HandBackTo(-1)
ByeTo(0)
WiFiNotReachableTo(0)
IncomingCallDisp(0)
SpecialCodeURI()
CsnCfEnable(0)
eCfuType(0)
CsnCfuUri()
CsnCfuDn()
CsnCfBusyUri()
CsnCfNonReachUri()
twoDinTo(100)
VpnEnable(0)
VpbxEnable(0)
VpbxOutSipAddr()
TwoStageAddr()
DtmfDetectionEnable(0)
anchoringNotificationEnabled(0)
anchoringNotificationType(0)
DtmfTones()
AnchoringNotificationUri()
PickUpRejectAnnouncementUri()
PickupPendingUri()
SecurePickupTimeout(60)
termAnchorCondition(UNCONDITIONAL)
m_MwiEnabled(0)
m_MwiDeviceId(-1)
m_MwiDeliveryType(UNSOLICITED)
m_MwiOnUri()
m_MwiOffUri()
m_MwiOutboundAddress()
ValidateHandoffFlag(0)
AnalyzeRemoteFlag(0)
origTolerance(0)
termTolerance(0)
validationLen(-1)
ConfIdPropagationHeader(REMOTE_PARTY_ID)
ConferenceResourceId(-1)
ConferenceInvocationUri()
ConferenceEnabled(0)
dmdPolicy(WIFI_IF_PRESENT_THEN_CELLULAR)
inProPolicy(RING_ALL)
RingingScheduleEnabled(0)
m_subsequentDualModePolicy(1)