;****** ;** Ini File ** ;****** ;docs.shanehoey.com/wizards/mediant/directrouting-starter/

[SYSTEM Params]

SyslogServerIP = 10.0.0.6 EnableSyslog = 1 NTPServerUTCOffset = 0

[Voice Engine Params]

ENABLEMEDIASECURITY = 1

[ TLSContexts ]

FORMAT TLSContexts_Index = TLSContexts_Name, TLSContexts_TLSVersion, TLSContexts_DTLSVersion, TLSContexts_ServerCipherString, TLSContexts_ClientCipherString, TLSContexts_RequireStrictCert, TLSContexts_OcspEnable, TLSContexts_OcspServerPrimary, TLSContexts_OcspServerSecondary, TLSContexts_OcspServerPort, TLSContexts_OcspDefaultResponse, TLSContexts_DHKeySize; TLSContexts “0” = “default”, 4, 0, “RC4:AES128”, “DEFAULT”, 0, 0, 0.0.0.0, 0.0.0.0, 2560, 0, 1024; TLSContexts “1” = “DirectRouting”, 4, 0, “RC4:AES128”, “DEFAULT”, 0, 0, 0.0.0.0, 0.0.0.0, 2560, 0, 2048;

[ \TLSContexts ]

[ IpProfile ]

FORMAT IpProfile_Index = IpProfile_ProfileName, IpProfile_IpPreference, IpProfile_CodersGroupName, IpProfile_IsFaxUsed, IpProfile_JitterBufMinDelay, IpProfile_JitterBufOptFactor, IpProfile_IPDiffServ, IpProfile_SigIPDiffServ, IpProfile_RTPRedundancyDepth, IpProfile_CNGmode, IpProfile_VxxTransportType, IpProfile_NSEMode, IpProfile_IsDTMFUsed, IpProfile_PlayRBTone2IP, IpProfile_EnableEarlyMedia, IpProfile_ProgressIndicator2IP, IpProfile_EnableEchoCanceller, IpProfile_CopyDest2RedirectNumber, IpProfile_MediaSecurityBehaviour, IpProfile_CallLimit, IpProfile_DisconnectOnBrokenConnection, IpProfile_FirstTxDtmfOption, IpProfile_SecondTxDtmfOption, IpProfile_RxDTMFOption, IpProfile_EnableHold, IpProfile_InputGain, IpProfile_VoiceVolume, IpProfile_AddIEInSetup, IpProfile_SBCExtensionCodersGroupName, IpProfile_MediaIPVersionPreference, IpProfile_TranscodingMode, IpProfile_SBCAllowedMediaTypes, IpProfile_SBCAllowedAudioCodersGroupName, IpProfile_SBCAllowedVideoCodersGroupName, IpProfile_SBCAllowedCodersMode, IpProfile_SBCMediaSecurityBehaviour, IpProfile_SBCRFC2833Behavior, IpProfile_SBCAlternativeDTMFMethod, IpProfile_SBCSendMultipleDTMFMethods, IpProfile_SBCAssertIdentity, IpProfile_AMDSensitivityParameterSuit, IpProfile_AMDSensitivityLevel, IpProfile_AMDMaxGreetingTime, IpProfile_AMDMaxPostSilenceGreetingTime, IpProfile_SBCDiversionMode, IpProfile_SBCHistoryInfoMode, IpProfile_EnableQSIGTunneling, IpProfile_SBCFaxCodersGroupName, IpProfile_SBCFaxBehavior, IpProfile_SBCFaxOfferMode, IpProfile_SBCFaxAnswerMode, IpProfile_SbcPrackMode, IpProfile_SBCSessionExpiresMode, IpProfile_SBCRemoteUpdateSupport, IpProfile_SBCRemoteReinviteSupport, IpProfile_SBCRemoteDelayedOfferSupport, IpProfile_SBCRemoteReferBehavior, IpProfile_SBCRemote3xxBehavior, IpProfile_SBCRemoteMultiple18xSupport, IpProfile_SBCRemoteEarlyMediaResponseType, IpProfile_SBCRemoteEarlyMediaSupport, IpProfile_EnableSymmetricMKI, IpProfile_MKISize, IpProfile_SBCEnforceMKISize, IpProfile_SBCRemoteEarlyMediaRTP, IpProfile_SBCRemoteSupportsRFC3960, IpProfile_SBCRemoteCanPlayRingback, IpProfile_EnableEarly183, IpProfile_EarlyAnswerTimeout, IpProfile_SBC2833DTMFPayloadType, IpProfile_SBCUserRegistrationTime, IpProfile_ResetSRTPStateUponRekey, IpProfile_AmdMode, IpProfile_SBCReliableHeldToneSource, IpProfile_GenerateSRTPKeys, IpProfile_SBCPlayHeldTone, IpProfile_SBCRemoteHoldFormat, IpProfile_SBCRemoteReplacesBehavior, IpProfile_SBCSDPPtimeAnswer, IpProfile_SBCPreferredPTime, IpProfile_SBCUseSilenceSupp, IpProfile_SBCRTPRedundancyBehavior, IpProfile_SBCPlayRBTToTransferee, IpProfile_SBCRTCPMode, IpProfile_SBCJitterCompensation, IpProfile_SBCRemoteRenegotiateOnFaxDetection, IpProfile_JitterBufMaxDelay, IpProfile_SBCUserBehindUdpNATRegistrationTime, IpProfile_SBCUserBehindTcpNATRegistrationTime, IpProfile_SBCSDPHandleRTCPAttribute, IpProfile_SBCRemoveCryptoLifetimeInSDP, IpProfile_SBCIceMode, IpProfile_SBCRTCPMux, IpProfile_SBCMediaSecurityMethod, IpProfile_SBCHandleXDetect, IpProfile_SBCRTCPFeedback, IpProfile_SBCRemoteRepresentationMode, IpProfile_SBCKeepVIAHeaders, IpProfile_SBCKeepRoutingHeaders, IpProfile_SBCKeepUserAgentHeader, IpProfile_SBCRemoteMultipleEarlyDialogs, IpProfile_SBCRemoteMultipleAnswersMode, IpProfile_SBCDirectMediaTag, IpProfile_SBCAdaptRFC2833BWToVoiceCoderBW, IpProfile_CreatedByRoutingServer, IpProfile_SBCFaxReroutingMode, IpProfile_SBCMaxCallDuration, IpProfile_SBCGenerateRTP, IpProfile_SBCISUPBodyHandling, IpProfile_SBCISUPVariant, IpProfile_SBCVoiceQualityEnhancement, IpProfile_SBCMaxOpusBW, IpProfile_SBCEnhancedPlc, IpProfile_LocalRingbackTone, IpProfile_LocalHeldTone, IpProfile_SBCGenerateNoOp, IpProfile_SBCRemoveUnKnownCrypto; IpProfile 1 = ITSP, 1, “AudioCodersGroups_0”, 0, 10, 10, 46, 24, 0, 0, 2, 0, 0, 0, 0, -1, 1, 0, 0, -1, 1, 4, -1, 1, 1, 0, 0, “”, “”, 0, 0, “”, “”, “”, 0, 2, 0, 0, 0, 0, 0, 8, 300, 400, 0, 0, 0, “”, 0, 0, 1, 3, 0, 2, 2, 1, 3, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 300, -1, -1, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, -1, 0, “”, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 0; IpProfile 2 = DirectRouting, 1, “AudioCodersGroups_0”, 0, 10, 10, 46, 24, 0, 0, 2, 0, 0, 0, 0, -1, 1, 0, 0, -1, 1, 4, -1, 1, 1, 0, 0, “”, “”, 0, 0, “”, “”, “”, 0, 1, 0, 0, 0, 0, 0, 8, 300, 400, 0, 0, 0, “”, 0, 0, 1, 3, 0, 0, 1, 0, 3, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 300, -1, -1, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, -1, 0, “”, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 0;

[ \IpProfile ]

[ CpMediaRealm ]

FORMAT CpMediaRealm_Index = CpMediaRealm_MediaRealmName, CpMediaRealm_IPv4IF, CpMediaRealm_IPv6IF, CpMediaRealm_RemoteIPv4IF, CpMediaRealm_RemoteIPv6IF, CpMediaRealm_PortRangeStart, CpMediaRealm_MediaSessionLeg, CpMediaRealm_PortRangeEnd, CpMediaRealm_IsDefault, CpMediaRealm_QoeProfile, CpMediaRealm_BWProfile, CpMediaRealm_TopologyLocation; CpMediaRealm 0 CpMediaRealm 1 = ITSP, “”, “”, “”, “”, 7000, 10, , 0, “”, “”, 1; CpMediaRealm 2 = DirectRouting, “”, “”, “”, “”, 8000, 10, , 0, “”, “”, 0;

[ \CpMediaRealm ]

[ SBCRoutingPolicy ]

FORMAT SBCRoutingPolicy_Index = SBCRoutingPolicy_Name, SBCRoutingPolicy_LCREnable, SBCRoutingPolicy_LCRAverageCallLength, SBCRoutingPolicy_LCRDefaultCost, SBCRoutingPolicy_LdapServerGroupName; SBCRoutingPolicy 0 = “Default_SBCRoutingPolicy”, 0, 1, 0, “”;

[ \SBCRoutingPolicy ]

[ SRD ]

FORMAT SRD_Index = SRD_Name, SRD_BlockUnRegUsers, SRD_MaxNumOfRegUsers, SRD_EnableUnAuthenticatedRegistrations, SRD_SharingPolicy, SRD_UsedByRoutingServer, SRD_SBCOperationMode, SRD_SBCRoutingPolicyName, SRD_SBCDialPlanName, SRD_AdmissionProfile; SRD 0 = “DefaultSRD”, 0, -1, 1, 0, 0, 0, “Default_SBCRoutingPolicy”, “”, “”;

[ \SRD ]

;need to fix port [ SIPInterface ]

FORMAT SIPInterface_Index = SIPInterface_InterfaceName, SIPInterface_NetworkInterface, SIPInterface_ApplicationType, SIPInterface_UDPPort, SIPInterface_TCPPort, SIPInterface_TLSPort, SIPInterface_AdditionalUDPPorts, SIPInterface_AdditionalUDPPortsMode, SIPInterface_SRDName, SIPInterface_MessagePolicyName, SIPInterface_TLSContext, SIPInterface_TLSMutualAuthentication, SIPInterface_TCPKeepaliveEnable, SIPInterface_ClassificationFailureResponseType, SIPInterface_PreClassificationManSet, SIPInterface_EncapsulatingProtocol, SIPInterface_MediaRealm, SIPInterface_SBCDirectMedia, SIPInterface_BlockUnRegUsers, SIPInterface_MaxNumOfRegUsers, SIPInterface_EnableUnAuthenticatedRegistrations, SIPInterface_UsedByRoutingServer, SIPInterface_TopologyLocation, SIPInterface_PreParsingManSetName, SIPInterface_AdmissionProfile, SIPInterface_CallSetupRulesSetId; SIPInterface 1 = ITSP, “”, 2, 5060, 0, 0, “”, 0, “DefaultSRD”, “”, “default”, -1, 1, 500, -1, 0, ITSP, 0, -1, -1, -1, 0, 1, “”, “”, -1; SIPInterface 2 = DirectRouting, “”, 2, 0, 0, 5067, “”, 0, “DefaultSRD”, “”, DirectRouting, 1, 1, 0, -1, 0, DirectRouting, 0, -1, -1, -1, 0, 0, “”, “”, -1;

[ \SIPInterface ]

[ ProxySet ]

FORMAT ProxySet_Index = ProxySet_ProxyName, ProxySet_EnableProxyKeepAlive, ProxySet_ProxyKeepAliveTime, ProxySet_ProxyLoadBalancingMethod, ProxySet_IsProxyHotSwap, ProxySet_SRDName, ProxySet_ClassificationInput, ProxySet_TLSContextName, ProxySet_ProxyRedundancyMode, ProxySet_DNSResolveMethod, ProxySet_KeepAliveFailureResp, ProxySet_GWIPv4SIPInterfaceName, ProxySet_SBCIPv4SIPInterfaceName, ProxySet_GWIPv6SIPInterfaceName, ProxySet_SBCIPv6SIPInterfaceName, ProxySet_MinActiveServersLB, ProxySet_SuccessDetectionRetries, ProxySet_SuccessDetectionInterval, ProxySet_FailureDetectionRetransmissions; ProxySet 0 = “ProxySet_0”, 0, 60, 0, 0, “DefaultSRD”, 0, “”, -1, -1, “”, “”, ITSP, “”, “”, 1, 1, 10, -1; ProxySet 1 = ITSP, 1, 60, 0, 0, “DefaultSRD”, 0, “”, -1, -1, “”, “”, ITSP, “”, “”, 1, 1, 10, -1; ProxySet 2 = DirectRouting, 1, 60, 2, 1, “DefaultSRD”, 0, DirectRouting, -1, 1, “”, “”, DirectRouting, “”, “”, 1, 1, 10, -1;

[ \ProxySet ]

[ IPGroup ]

FORMAT IPGroup_Index = IPGroup_Type, IPGroup_Name, IPGroup_ProxySetName, IPGroup_SIPGroupName, IPGroup_ContactUser, IPGroup_SipReRoutingMode, IPGroup_AlwaysUseRouteTable, IPGroup_SRDName, IPGroup_MediaRealm, IPGroup_ClassifyByProxySet, IPGroup_ProfileName, IPGroup_MaxNumOfRegUsers, IPGroup_InboundManSet, IPGroup_OutboundManSet, IPGroup_RegistrationMode, IPGroup_AuthenticationMode, IPGroup_MethodList, IPGroup_EnableSBCClientForking, IPGroup_SourceUriInput, IPGroup_DestUriInput, IPGroup_ContactName, IPGroup_Username, IPGroup_Password, IPGroup_UUIFormat, IPGroup_QOEProfile, IPGroup_BWProfile, IPGroup_AlwaysUseSourceAddr, IPGroup_MsgManUserDef1, IPGroup_MsgManUserDef2, IPGroup_SIPConnect, IPGroup_SBCPSAPMode, IPGroup_DTLSContext, IPGroup_CreatedByRoutingServer, IPGroup_UsedByRoutingServer, IPGroup_SBCOperationMode, IPGroup_SBCRouteUsingRequestURIPort, IPGroup_SBCKeepOriginalCallID, IPGroup_TopologyLocation, IPGroup_SBCDialPlanName, IPGroup_CallSetupRulesSetId, IPGroup_Tags, IPGroup_SBCUserStickiness, IPGroup_UserUDPPortAssignment, IPGroup_AdmissionProfile, IPGroup_ProxyKeepAliveUsingIPG; IPGroup 0 = 0, “Default_IPG”, “ProxySet_0”, “”, “”, -1, 0, “DefaultSRD”, “”, 0, “”, -1, -1, -1, 0, 0, “”, 0, -1, -1, “”, “”, “$1$gQ==”, 0, “”, “”, 0, “”, “”, 0, 0, “default”, 0, 0, -1, 0, 0, 1, “”, -1, “”, 0, 0, “”, 0; IPGroup 1 = 0, ITSP, ITSP, “”, “”, -1, 0, “DefaultSRD”, ITSP, 1, ITSP, -1, -1, -1, 0, 0, “”, 0, -1, -1, “”, “”, “$1$gQ==”, 0, “”, “”, 0, “”, “”, 0, 0, “default”, 0, 0, 0, 0, 0, 1, “”, -1, “”, 0, 0, “”, 0; IPGroup 2 = 0, DirectRouting, DirectRouting, “”, “”, -1, 0, “DefaultSRD”, DirectRouting, 0, DirectRouting, -1, -1, -1, 0, 0, “”, 0, -1, -1, “sbc03.directrouting.guide”, “”, “$1$gQ==”, 0, “”, “”, 1, “”, “”, 0, 0, DirectRouting, 0, 0, 0, 0, 0, 0, “”, -1, “”, 0, 0, “”, 0;

[ \IPGroup ]

[ Srv2Ip ]

FORMAT Srv2Ip_Index = Srv2Ip_InternalDomain, Srv2Ip_TransportType, Srv2Ip_Dns1, Srv2Ip_Priority1, Srv2Ip_Weight1, Srv2Ip_Port1, Srv2Ip_Dns2, Srv2Ip_Priority2, Srv2Ip_Weight2, Srv2Ip_Port2, Srv2Ip_Dns3, Srv2Ip_Priority3, Srv2Ip_Weight3, Srv2Ip_Port3; Srv2Ip 0 = “directrouting.local”, 2, “sip.pstnhub.microsoft.com”, 1, 1, 5061, “sip2.pstnhub.microsoft.com”, 2, 1, 5061, “sip3.pstnhub.microsoft.com”, 3, 1, 5061;

[ \Srv2Ip ]

[ ProxyIp ]

FORMAT ProxyIp_Index = ProxyIp_ProxySetId, ProxyIp_ProxyIpIndex, ProxyIp_IpAddress, ProxyIp_TransportType, ProxyIp_Priority, ProxyIp_Weight; ProxyIp 1 = “1”, 0, “siptrunk.local:5060”, 0, 0, 0; ProxyIp 2 = “2”, 0, “directrouting.local”, 2, 0, 0;

[ \ProxyIp ]

[ ConditionTable ]

FORMAT ConditionTable_Index = ConditionTable_Name, ConditionTable_Condition; ConditionTable 0 = “DirectRouting-Contact”, “header.contact.url.host contains ‘pstnhub.microsoft.com’”;

[ \ConditionTable ]

[ IP2IPRouting ]

FORMAT IP2IPRouting_Index = IP2IPRouting_RouteName, IP2IPRouting_RoutingPolicyName, IP2IPRouting_SrcIPGroupName, IP2IPRouting_SrcUsernamePrefix, IP2IPRouting_SrcHost, IP2IPRouting_DestUsernamePrefix, IP2IPRouting_DestHost, IP2IPRouting_RequestType, IP2IPRouting_MessageConditionName, IP2IPRouting_ReRouteIPGroupName, IP2IPRouting_Trigger, IP2IPRouting_CallSetupRulesSetId, IP2IPRouting_DestType, IP2IPRouting_DestIPGroupName, IP2IPRouting_DestSIPInterfaceName, IP2IPRouting_DestAddress, IP2IPRouting_DestPort, IP2IPRouting_DestTransportType, IP2IPRouting_AltRouteOptions, IP2IPRouting_GroupPolicy, IP2IPRouting_CostGroup, IP2IPRouting_DestTags, IP2IPRouting_SrcTags, IP2IPRouting_IPGroupSetName, IP2IPRouting_RoutingTagName, IP2IPRouting_InternalAction; IP2IPRouting 0 = “OPTIONS Terminate”, “Default_SBCRoutingPolicy”, “Any”, “”, “”, “”, “”, 6, “”, “Any”, 0, -1, 1, “”, “”, “Internal”, 0, -1, 0, 0, “”, “”, “”, “”, “default”, “”; IP2IPRouting 1 = “REFER”, “Default_SBCRoutingPolicy”, “Any”, “”, “”, “”, “”, 0, “”, DirectRouting, 2, -1, 2, DirectRouting, “”, “”, 0, -1, 0, 0, “”, “”, “”, “”, “default”, “”; IP2IPRouting 2 = “ITSP to DirectRouting”, “Default_SBCRoutingPolicy”, ITSP, “”, “”, “”, “”, 0, “”, “Any”, 0, -1, 0, DirectRouting, “”, “”, 0, -1, 0, 0, “”, “”, “”, “”, “default”, “”; IP2IPRouting 3 = “DirectRouting to ITSP”, “Default_SBCRoutingPolicy”, DirectRouting, “”, “”, “”, “”, 0, “”, “Any”, 0, -1, 0, ITSP, “”, “”, 0, -1, 0, 0, “”, “”, “”, “”, “default”, “”;

[ \IP2IPRouting ]

[ Classification ]

FORMAT Classification_Index = Classification_ClassificationName, Classification_MessageConditionName, Classification_SRDName, Classification_SrcSIPInterfaceName, Classification_SrcAddress, Classification_SrcPort, Classification_SrcTransportType, Classification_SrcUsernamePrefix, Classification_SrcHost, Classification_DestUsernamePrefix, Classification_DestHost, Classification_ActionType, Classification_SrcIPGroupName, Classification_DestRoutingPolicy, Classification_IpProfileName, Classification_IPGroupSelection, Classification_IpGroupTagName; Classification 0 = “DirectRouting”, “DirectRouting-Contact”, “DefaultSRD”, DirectRouting, “”, 0, -1, “”, “”, “*”, “DirectRouting”, 1, DirectRouting, “”, “”, 0, “default”;

[ \Classification ]

[ MessageManipulations ]

FORMAT MessageManipulations_Index = MessageManipulations_ManipulationName, MessageManipulations_ManSetID, MessageManipulations_MessageType, MessageManipulations_Condition, MessageManipulations_ActionSubject, MessageManipulations_ActionType, MessageManipulations_ActionValue, MessageManipulations_RowRole; MessageManipulations 0 = DirectRouting, 2, “Options”, “param.message.address.dst.sipinterface==’2’”, “header.contact.url.host”, 2, “‘sbc03.directrouting.guide’”, 0;

[ \MessageManipulations ]