SRF Configuration
SRF Selection
SRF connectivity and interaction configuration must be in place to allow N2SCP applications to perform user interaction using an SRF.
If language IDs are being provided to the SRF then they must also be configured.
    ...
      <config>
        ...
        <language_maps>
          <map name='general'>
            <language name='English' id='1'/>
            <language name='German' id='2'/>
          </map>
        </language_maps>
        <srfs>
          <srf name="N2IVR" use_etc="1" routing_address="a88441"/>
          <srf name="OtherSRF" use_etc="1" routing_address="bb88441" scf_id="ad0002" correlation_id_location="standalone"/>
          <srf name="Switch" use_etc="0" star_digit="C" hash_digit="b" cancel_digit="#" end_digit="E" language_map="general" language_extension_type="400"/>
        </srfs>
      </config>
      ...
Configuration Details
The available configuration items for SRF selection are as below:
| Attribute | Type | Description | 
|---|---|---|
| . language_maps | Array | Array of mapelements defining the supported language map(s). | 
| . map | Array | An array of languages in the map. | 
| . name | String | The name of the language map. (Default = default). | 
| . language | Object | A language mapping within the map. This elements may be repeated. | 
| . srfs | Array | Array of srfelements definining the supported SRF endpoints. | 
| . srf | Object | Provisions a known SRF endpoint, either on-switch (CTR) or off-switch (ETC). | 
Language
Each map contains one or more Language mappings from name to id as follows:
| Attribute | Type | Description | 
|---|---|---|
| name | String | [Required] The name of the language as the service logic will supply. | 
| id | Integer | [Required] The numeric language ID which is supplied to the SRF. | 
SRF Endpoints
Each SRF Endpoint defines a rule for choosing the appropriate SRF for an announcement.
SRF Endpoints are referred to using the configured name.
Each srf Object in the SRF Endpoints array is configured as follows:
| Attribute | Type | Description | 
|---|---|---|
| name | String | [Required] The name of the SRF for use with selection for playing announcements. | 
| use_etc | Boolean | [Required] The connection mode for the SRF. Set to ( 1) if the SRF is off-switch and connected to viaEstablishTemporaryConnection.Set to ( 0) if the SRF is on-switch and connected to viaConnectToResource. | 
| inap | cs1/camel2/ camel3/ camel4 | [Required for ETC] One of the implemented SRF protocol variants . | 
| routing_address | Hex Digits | [Required for use_etc=1] This is the prefix of theassistingSSPIPRoutingAddress,
      which will typically include some indicate to identify this SCP node, so that the SRF can
      route the associatedAssistRequestInstructionscorrectly. | 
| star_digit | [A-E] | The hex digit used by this SRF to represent the "star" character *.Modern CAMEL protocol standards state that this should always be B.(Default = B). | 
| hash_digit | [A-E] | The hex digit used by this SRF to represent the "hash" character #.Modern CAMEL protocol standards state that this should always be C.(Default = C). | 
| cancel_digit | [*#A-E] | The digit to send to the SRF as the cancelDigitinPlayAnnouncementandPromptAndCollectUserInformationoperations.(Default = do not specify cancel digit). | 
| end_digit | [*#A-E] | The digit to send to the SRF as the endOfReplyDigitinPlayAnnouncementandPromptAndCollectUserInformationoperations.(Default = do not specify end of reply digit). | 
| returned_ac | [AC Alias]/ Hex Value /copy/none | Specify the TCAP Application Context to return to the SRF in response to the AssistRequestInstructions.Either a known TCAP AC Alias, or a hex string, or the value copy(copy the received AC) or the valuenone(do not send AC).(Default = the same as the inap). | 
| scf_id | Hex String | A hex representation of the value to encode as the EstablishTemporaryConnectionattributescfID.(Default = do not set scfID). | 
| correlation_id_location | routing_address/standalone | Mechanism for setting the correlation ID in EstablishTemporaryConnection.routing_addressmeans append the digits to the configuredrouting_address.standalonemeans encode the correlation ID as generic digits in thecorrelationIDattribute of the ETC.(Default = routing_address ). | 
| tcap_close | prearranged/end/abort | How should we close the SRF TCAP dialog if we believe that the interaction session is over, but
      the TCAP SSP dialog is still open. prearranged= Assume pre-arranged END.end= Send TCAP END with no components.abort= Send TCAP ABORT.(Default = prearranged). | 
| language_map | String | The nameof amapentry within thelanguage_maps.(Default = default). | 
| language_extension_type | Integer | The typevalue for the INAP/ASN.1extensionsSEQUENCE.Setting this value enables the use of the ASN.1 "extensions" syntax originally proposed by Unisys for interaction with their NAP platform. This mechanism is also the default mechanism supported by the Oracle NCC/OC3C platform and by the N-Squared SRF. (Default = undefi.e. language cannot be conveyed to the SRF). | 
| max_pa_secs | 5-3600 | This is the maximum allowed duration of interaction resulting from sending PlayAnnouncementto this (on-switch or external) SRF.  The SRF connection will be aborted ifSpecializedResourceReportis not received within this time.The additional global TCAP round-trip allowance tcap_margin_mswill be added to this value.(Default = 300seconds). | 
| max_pacui_secs | 5-3600 | This is the maximum allowed duration of interaction resulting from sending PromptAndCollectUserInformationto this (on-switch or external) SRF.  The SRF connection will be aborted ifPromptAndCollectUserInformationResultis not received within this time.The additional global TCAP round-trip allowance tcap_margin_mswill be added to this value.(Default = 300seconds). | 
| max_etc_ms | 10-5000 | This is the maximum time that the SCP layer will allow between sending EstablishTemporaryConnectionto the SSP and receivingAssistRequestInstructionsfrom the SRF.  The SRF connection process will
      be aborted if the ARI is not received within this time window.(Default = 4000milliseconds). | 
| tcap_margin_ms | 10-5000 | The grace period (in milliseconds) within which a medium/long-term expected TCAP component may
      arrive late because of allowance for processing and network time. For an SRF definition, this parameter adds a margin on top of max_pa_secsormax_pacui_secsto allow for network/processing delay.(Default = 500milliseconds). | 
The full process for determining the outbound assistingSSPIPRoutingAddress in the
EstablishTemporaryConnection is as follows.
- Start with the configured routing_address.
- If correlation_id_location=routing_addressthen append the Correlation ID assigned by theSigtranApp(including any leading “0”).
- Use the called_partydenormalisation rules to modify the digits and determine the NoA.
The length of the Correlation ID including leading 0 is configured in the SigtranApp using the correlation_id_len application parameter.