Sample PGW, Unified CM, and IP Unity Transactions


Revised: 08/12/2010, OL-23270-01

This document explains the sample PGW, Unified CM and IP Unity transactions in Unified UCS.

Associate IP Unity VoiceMail Server with PGW Transaction

Associate Unified CM Cluster with PGW for MWI Support Transaction

Add Voicemail Service

Add VoiceMail Pilot Number Transaction on PGW

Add VoiceMail Pilot Number Transaction on Movius

Associate E164 Number to VoiceMail Pilot Number Transaction

Add Location VoiceMail Service Transaction on PGW

Add Location VoiceMail Service Transaction on Unified CM

Add VoiceMail Account Transaction on Unified CM

Add Default VoiceMail Class of Service Transaction

Add VoiceMail Account Transaction on IP Unity

Adding a AA Pilot on PGW

Enabling Auto Attendant on Movius Organization

Load PGW Transaction

Load Unified CM Clusters Transaction

Add Country Transactions

Add Customers Transaction

Add Locations Transactions

Move Phone Inventory Transaction

Add PSTN Published Number Transaction

Add Emergency Published Number Transaction

Assign Range of E164 Numbers to Internal Numbers Transactions

Register Phone Transaction

Add End User Transaction

Add User Extension Mobility Transaction

Configure BO2OT for Customer Transaction

Add Overlay Area Codes Transaction

Associate IP Unity VoiceMail Server with PGW Transaction

USM invokes the PGW driver and uses the mml scripts in the ConnectTransitToVMSvr transaction (ConnectTransitToVMSvr-IPUnity mml script name) of the PGW model worksheet to configure the EGRV dial plan to detect calls destined for IP Unity, modify the B number, and route the call to IP Unity.

For example

;ConnectTransitToVMSvr-IPUnity:  
; 032 A CPID for the IP UNITY system. 
;EGRV DP - Result set to modified B number to Nat. and route it to IPUNITY 
numan-add:resultset:custgrpid="EGRV",name="gotoIpUnity"  
numan-add:Resulttable:custgrpid="EGRV",name="setBnoaNat",resulttype="B_NUMBER_TYPE",setnam
e="gotoIpUnity",dw1="4" 
numan-add:resulttable:custgrpid="EGRV",name="gotoIpUnity",resulttype="ROUTE",dw1="rtlist2i
punity",setname="gotoIpUnity"  
;EGRV DP - B Number Analysis -ResultSet gotoIPUnity trigger on IpUnity CPID 
numan-add:bdigtree:custgrpid="EGRV",callside="originating",digitstring="032",setname="goto
IpUnity"  
 
   

Associate Unified CM Cluster with PGW for MWI Support Transaction

USM invokes the PGW driver and uses the mml scripts in the ConnectIPPBXTransit transaction (ConnectIPPBXTransit mml script name) of the PGW model worksheet to configure the ROUT dial plan to detect MWI calls from IP Unity to the customer's phones

For example

; ConnectIPPBXTransit: add per-CCM cluster support for MWI signals when Cluster is 
connected to PGW that is directly connected to IP Unity 
 ; 101 A CPID for the IP PBX system. 
; 9999 A constant of All 9's to length of RIDs in the system. 
;  Can't used 9999 , change to 9999 A constant of All 9's to length of RIDs in the system. 
; Add entry into ROUT to handle MWI calls from IP Unity calls to this customer s phones 
numan-add:bdigtree:custgrpid="ROUT",callside="originating",digitstring="1019999",setname="
MWItoHSI"
 
   

Add Voicemail Service

USM invokes the PGW driver and uses the mml scripts in the ConnectIPPBXTransit transaction (AddVMService-IPUnity mml script name) of the PGW model worksheet to do the following:

ICCM dial plan to route MWI calls from Movius to correct per-customer vmail dialplan., prefix an A the B number and switch analysis to VOICEMAILDIALPLAN base on the AA service pilot FINT

Add VM Service into Per-customer Ingress (#CUSTDIALPLAN#, for example 0005) dial plan

Per-country (R#PADDEDCC#, for example R044) dial plan, PSTN to voicemail calls, prefix B with Movius CPID+RID

Per Custome Voicemail Dial plan (#VOICEMAILDIALPLAN, i. e. 000G), to support outgoing calls from Movius

For example:

; AddVMService-IPUnity: add Customer support for voicemail 
; 0005 - Customer DialPlan 
; 000G Voicemail Service Dialplan 
; 032 A CPID for the IP UNITY system. 
; 1001 A RID that uniquely identifies a VM Service 
; 9999 A constant of All 9's to length of RIDs in the system. 
; 666 Voicemail Service Site Code 
; 10 - CPID+RID+SLC DIGITS 
; 9 - pstn breakout code for voicemail 
; 90 - pstn breakout code plus National Direct Dialing Code 
; 2 - EXT plus NDD digits 
; 944 - pstn breakout code plus International Direct Dialing Code 
; 3 - EXT plus IDD digits 
; 8 - intersite prefix 
; 100 - CCM Cluster CPID 
; 1009999999001 - The MWI On number on the cluster 
; 1009999999002 The MWI Off number on the cluster  
; 11 - sizeof FINT + 1 
; 11 - sizeof FINT + 2 
; 3 - sizeof (VMEXTNNDD) + 1  
; 4 sizeof (VMEXTNIDD) + 1  
;  
numan-add:dialplan:custgrpid="000G", OVERDEC="YES" 
numan-add:dpsel:custgrpid="ICCM",newdp="000G" 
numan-add:dpsel:custgrpid="000G",newdp="ROUT" 
;allow change to Cust specific MWI dialplan 
numan-add:resultset:custgrpid="ICCM",name="chgdplCust000GMWI" 
numan-add:resulttable:custgrpid="ICCM",name="chgdplCust000GMWI",resulttype="NEW_DIALPLAN",
dw1="000G",setname="chgdplCust000GMWI" 
; check for per-customer voicemail pilot to route MWI calls from IP unity to correct 
per-customer vmail dialplan;  
numan-add:adigtree:custgrpid="ICCM",callside="originating",digitstring="0321001",setname="
chgdplCust000GMWI"   
; Resultset to prefix A to the B number and switch analysis to VOICEMAILDIALPLAN base on 
the AA service pilot FINT (the A number ) from ICCM 
numan-add:resultset:custgrpid="ICCM",name="chgdplCust000GAA" 
numan-add:resulttable:custgrpid="ICCM",name="chgdplCust000GAA",resulttype="NEW_DIALPLAN",d
w1="000G",setname="chgdplCust000GAA" 
numan-add:resulttable:custgrpid="ICCM",name="pfxA2Bnum",resulttype="BMODDIG",dw1="1",dw2="
0",dw3="addA2Bnum",setname="chgdplCust000GAA" 
; 
; add  VM service routing into customer dialplan 
numan-add:digmodstring:custgrpid="0005",name="0321001siteE164",digstring="83CCC6660000" 
numan-add:resultset:custgrpid="0005", name="0321001CR9FNT" 
numan-add:resulttable:custgrpid="0005",name="acr9fnt",resulttype="NUM_TRANS", 
dw1="0005cr9fnt", dw2="2",dw3="5",setname="0321001CR9FNT" 
numan-add:resulttable:custgrpid="0005",name="0321001siteE164",resulttype="AMODDIG",dw1="1"
,dw2="99",dw3="0321001siteE164",setname="0321001CR9FNT" 
numan-add:adigtree:custgrpid="0005",callside="originating",digitstring="03210019",setname=
"0321001CR9FNT"  
; 
numan-add:digmodstring:custgrpid="0005",name="CRVM0321001",digstring="0321001"  
numan-add:resultset:custgrpid="0005",name="VMSvc0321001"  
numan-add:resulttable:custgrpid="0005",name="BVM0321001",resulttype="BMODDIG",dw1="1",dw2=
"1",dw3="CRVM0321001",setname="VMSvc0321001"  
numan-add:resulttable:custgrpid="0005",name="RtVM0321001",resulttype="NEW_DIALPLAN",dw1="R
OUT",dw2="1",setname="VMSvc0321001"   
;B handle, call is to onnet vmail pilot, add CR to B for C1 vmail partition. Go to next 
dialplan, RDN is already modded by A RDN case  
numan-add:bdigtree:custgrpid="0005",callside="originating",digitstring="8666",setname="VMS
vc0321001"  
; 
;PSTN to voicemail calls, prefix B with IPUnity CPID+RID. Now consistent with routing to 
sites.  
numan-add:digmodstring:custgrpid="R044",name="C1001VMpilot",digstring="0321001" 
numan-add:resultset:custgrpid="R044",name="0321001addCRsite"  
numan-add:resulttable:custgrpid="R044",name="C1001addVMCR",resulttype="BMODDIG",dw1="1",dw
2="0",dw3="C1001VMpilot",setname="0321001addCRsite" 
numan-add:resulttable:custgrpid="R044",name="gotoROUT",resulttype="NEW_DIALPLAN",dw1="ROUT
",dw2="1",setname="0321001addCRsite"  
; Add entry into ROUT to handle calls to IP Unity calls for this customer  
numan-add:bdigtree:custgrpid="ROUT",callside="originating",digitstring="0321001",setname="
gotoEGRV"  
; Add outdialing support for Voicemail service 
numan-add:dpsel:custgrpid="000G",newdp="0005" 
numan-add:digmodstring:custgrpid="000G",name="PSTN90",digstring="90" 
numan-add:digmodstring:custgrpid="000G",name="PSTN900",digstring="900" 
numan-add:digmodstring:custgrpid="000G",name="CallType9",digstring="9" 
numan-add:digmodstring:custgrpid="000G",name="Intersite",digstring="8" 
; resultset to handle AA transfers to PSTNNAT 
numan-add:resultset:custgrpid="000G",name="AATfrPstnNat" 
numan-add:resulttable:custgrpid="000G",name="goto0005",resulttype="NEW_DIALPLAN",dw1="0005
",dw2="1",setname="AATfrPstnNat" 
numan-add:resulttable:custgrpid="000G",name="Bpref90",resulttype="BMODDIG",dw1="1",dw2="2"
,dw3="PSTN90",setname="AATfrPstnNat" 
numan-add:resulttable:custgrpid="000G",name="APSTNAA",resulttype="AMODDIG",dw1="8",dw2="0"
,dw3="CallType9",setname="AATfrPstnNat" 
; resultset to handle AA transfers to PSTNINTL 
numan-add:resultset:custgrpid="000G",name="AATfrPstnIntl" 
numan-add:resulttable:custgrpid="000G",name="goto0005",resulttype="NEW_DIALPLAN",dw1="0005
",dw2="1",setname="AATfrPstnIntl" 
numan-add:resulttable:custgrpid="000G",name="Bpref900",resulttype="BMODDIG",dw1="1",dw2="3
",dw3="PSTN900",setname="AATfrPstnIntl" 
numan-add:resulttable:custgrpid="000G",name="APSTNAA",resulttype="AMODDIG",dw1="8",dw2="0"
,dw3="CallType9",setname="AATfrPstnIntl" 
; resultset to handle AA transfers to Extensions 
numan-add:resultset:custgrpid="000G",name="AATfrExtn" 
numan-add:resulttable:custgrpid="000G",name="goto0005",resulttype="NEW_DIALPLAN",dw1="0005
",dw2="1",setname="AATfrExtn" 
numan-add:resulttable:custgrpid="000G",name="BprefISP",resulttype="AMODDIG",dw1="8",dw2="0
",dw3="Intersite",setname="AATfrExtn" 
numan-add:resulttable:custgrpid="000G",name="Bpref90",resulttype="BMODDIG",dw1="1",dw2="1"
,dw3="Intersite",setname="AATfrExtn" 
numan-add:resulttable:custgrpid="000G",name="setBnoaInternal",resulttype="B_NUMBER_TYPE",d
w1="48",setname="AATfrExtn" 
;CT=8  - OnNet calls - 
numan-add:adigtree:custgrpid="0005",callside="originating",digitstring="03210018",setname=
"C1stripCRaddiPX" 
numan-add:bdigtree:custgrpid="000G",callside="originating",digitstring="90",setname="AATfr
PstnNat" 
numan-add:bdigtree:custgrpid="000G",callside="originating",digitstring="944",setname="AATf
rPstnIntl" 
numan-add:bdigtree:custgrpid="000G",callside="originating",digitstring="8",setname="AATfrE
xtn" 
; 
; B number Analysis to handle AA calls 
; InterSite Calls 
numan-add:digmodstring:custgrpid="000G",name="addAAtoAnum",digstring="AA" 
numan-add:resultset:custgrpid="000G",name="AAInterSiteCall" 
numan-add:resulttable:custgrpid="000G",name="modA",resulttype="AMODDIG",dw1="1",dw2="11",d
w3="addAAtoAnum",setname="AAInterSiteCall" 
numan-add:resulttable:custgrpid="000G",name="modB",resulttype="BMODDIG",dw1="1",dw2="2",dw
3="Intersite",setname="AAInterSiteCall" 
numan-add:resulttable:custgrpid="000G",name="switch2CustDP",resulttype="NEW_DIALPLAN",dw1=
"0005",dw2="1",setname="AAInterSiteCall" 
; 
numan-add:bdigtree:custgrpid="000G",callside="originating",digitstring="A8",setname="AAInt
erSiteCall" 
; 
; National Calls 
numan-add:resultset:custgrpid="000G",name="AANatlCall" 
numan-add:resulttable:custgrpid="000G",name="modA",resulttype="AMODDIG",dw1="11",dw2="99",
setname="AANatlCall" 
numan-add:resulttable:custgrpid="000G",name="modB",resulttype="BMODDIG",dw1="1",dw2="3",dw
3="PSTN90",setname="AANatlCall" 
numan-add:resulttable:custgrpid="000G",name="switch2CustDP",resulttype="NEW_DIALPLAN",dw1=
"0005",dw2="1",setname="AANatlCall" 
; 
numan-add:bdigtree:custgrpid="000G",callside="originating",digitstring="A90",setname="AANa
tlCall" 
; 
; International Calls 
numan-add:resultset:custgrpid="000G",name="AAIntlCall" 
numan-add:resulttable:custgrpid="000G",name="modA",resulttype="AMODDIG",dw1="11",dw2="99",
setname="AAIntlCall" 
numan-add:resulttable:custgrpid="000G",name="modB",resulttype="BMODDIG",dw1="1",dw2="4",dw
3="PSTN900",setname="AAIntlCall" 
numan-add:resulttable:custgrpid="000G",name="switch2CustDP",resulttype="NEW_DIALPLAN",dw1=
"0005",dw2="1",setname="AAIntlCall" 
; 
numan-add:bdigtree:custgrpid="000G",callside="originating",digitstring="A944",setname="AAI
ntlCall" 
; 
;MWI  handling for customer - change to the customer's MWI dialplan
 
   

Add VoiceMail Pilot Number Transaction on PGW

USM invokes the PGW driver and uses the mml scripts in the AddVMServicePilot transaction (AddVMServicePilotIPPBX-IPUnity mml script name) of the PGW model worksheet to configure the per-customer VoiceMail Dial Plan MWI On and Off Numbers. This is done per each CUCM cluster associated on 2.3.6

For example

;AddVMServicePilotIPPBX-IPUnity:  add logic for connecting CCM cluster to voicemail when 
CCM is connected to PGW with direct connection to IP Unity 
; 000G A unique dialplan number within PGW to be used for the customer s 
voicemailintegration.
; 100 This is the CPID of the CCM cluster. This value changes each time the routine is 
called.
; 9999 All 9's to length of RIDs in the system.
; 666 All 9's to length of Site Location Codes in the system. 
; 001 Constant Digit string used within the "MWI On" number. The MWI On number on each 
cluster will be 1009999666001 
; 002 Constant Digit string used within the "MWI Off" number. The MWI Off number on each 
cluster will be 1009999666002 
; 
;MWI  handling for customer - change to the customer's MWI dialplan 
numan-add:digmodstring:custgrpid="000G",name="Cluster100MWIon",digstring="1009999666001" 
numan-add:digmodstring:custgrpid="000G",name="Cluster100MWIoff",digstring="1009999666002"
 
   

Add VoiceMail Pilot Number Transaction on Movius

USM invokes the "IP Unity Any" driver and uses the XML scripts in the AddVMServicePilot transaction (Movius_xml table name) of the IPUnity model worksheet to create and configure a per-customer Organization.

For example:

<AddOrgRequest requestId="">
<IAOrganization>
<General>
<name>e3VMSCust1</name>
<callerEmailId>caller@E3Cust1.com</callerEmailId>
<Telephone>
<phoneType>1</phoneType>
<telephone>0321001666099</telephone>
<countryCode>44</countryCode>
</Telephone>
<isResidentialOrg>false</isResidentialOrg>
<autoAttEnabled>false</autoAttEnabled>
<timeZoneId>13</timeZoneId>
<storeVoiceFaxInSeparateFolder>false</storeVoiceFaxInSeparateFolder>
<unheardMsgQEnabled>false</unheardMsgQEnabled>
<defaultTutorialId>0</defaultTutorialId>
<webPasswordPolicyName>default_email</webPasswordPolicyName>
<tuiPasswordPolicyName>default_tui</tuiPasswordPolicyName>
<scheduleBasedAAMenusEnabled>false</scheduleBasedAAMenusEnabled>
<centrixId>8</centrixId>
</General>
<EmailSpecific>
<domain>E3Cust1.com</domain>
<mailServerId>101</mailServerId>
<unifiedMessagingEnabled>false</unifiedMessagingEnabled>
<integratedMessagingEnabled>false</integratedMessagingEnabled>
</EmailSpecific>
<FaxSpecific>
<faxEnabled>false</faxEnabled>
<outboundFaxServerId>0</outboundFaxServerId>
</FaxSpecific>
<Quota>
<maxNumberOfUser>9</maxNumberOfUser>
<maxVoiceMailSize>1000</maxVoiceMailSize>
<quotaWarningLevel>80</quotaWarningLevel>
<quotaMsgSendInterval>12</quotaMsgSendInterval>
</Quota>
<OutCall>
<callSenderEnabled>false</callSenderEnabled>
<placeACallEnabled>false</placeACallEnabled>
<numberingPlanID>101</numberingPlanID>
<mwiCAID>101</mwiCAID>
<outgoingCAID>101</outgoingCAID>
<mwiCallAgentType>1</mwiCallAgentType>
</OutCall>
<MessageWaitingNotification>
<mwnByPhoneEnabled>true</mwnByPhoneEnabled>
<mwnByNumericPageEnabled>true</mwnByNumericPageEnabled>
<mwnByTextPageEnabled>true</mwnByTextPageEnabled>
</MessageWaitingNotification>
<OrganizationAdmin>
<emailId>admin1</emailId>
<emailPassword>PASSWORD:1</emailPassword>
<adminMB>9888</adminMB>
<password>45123</password>
</OrganizationAdmin>
<Miscellaneous>
<firstNameLastName>false</firstNameLastName>
<defMWStartHour>9</defMWStartHour>
<defMWStopHour>17</defMWStopHour>
<defMWRetryPer>30</defMWRetryPer>
<defNumPageString>1111</defNumPageString>
<outcallSpkTimes>3</outcallSpkTimes>
<defMsgMaxRcrdTime>5</defMsgMaxRcrdTime>
<maxFwdDepth>5</maxFwdDepth>
<playSenderNameEnabled>true</playSenderNameEnabled>
<revwPlayTimestampEnabled>true</revwPlayTimestampEnabled>
<rcvMsgEAGEnabled>true</rcvMsgEAGEnabled>
<msgScanVoiceMailEnabled>true</msgScanVoiceMailEnabled>
<autoPlayVoiceMails>true</autoPlayVoiceMails>
<msgScanAllMailsEnbaled>true</msgScanAllMailsEnbaled>
<autoPlayAllMailsEnabled>true</autoPlayAllMailsEnabled>
<autoSkipNextMsgEnabled>true</autoSkipNextMsgEnabled>
<fwdPrivateMsgEnabled>true</fwdPrivateMsgEnabled>
<firstLoginChngPasswdEnabled>true</firstLoginChngPasswdEnabled>
<firstLoginRcrdNameEnabled>true</firstLoginRcrdNameEnabled>
<firstLoginRcrdGtgEnabled>true</firstLoginRcrdGtgEnabled>
<rootPathId>101</rootPathId>
</Miscellaneous>
<subscriberMessagingControl>
<sendMsgBlocked>true</sendMsgBlocked>
<sendMsgNetworkAddressBlocked>true</sendMsgNetworkAddressBlocked>
<sendMsgOdlBlocked>false</sendMsgOdlBlocked>
</subscriberMessagingControl>
<MessageDeliveryToPhoneNumber>
<messageDeliveryToPhoneNumberEnabled>true</messageDeliveryToPhoneNumberEnabled>
<checkDtmfForMsgPlayEnabled>false</checkDtmfForMsgPlayEnabled>
<defaultMsgPlayWaitTime>5</defaultMsgPlayWaitTime>
</MessageDeliveryToPhoneNumber>
<callTransferSettingsForOutsideCaller>
<transferLocalLongBlocked>true</transferLocalLongBlocked>
<transferDomesticLongBlocked>false</transferDomesticLongBlocked>
<transferInternationalBlocked>true</transferInternationalBlocked>
</callTransferSettingsForOutsideCaller>
<networkMessaging>
<networkAddressingAllowed>true</networkAddressingAllowed>
<useSystemNetworkAddresses>true</useSystemNetworkAddresses>
</networkMessaging>
</IAOrganization>
</AddOrgRequest>
 
   

Associate E164 Number to VoiceMail Pilot Number Transaction

USM invokes the PGW driver and adds 3 lines to the FNT x10 DB table to do the following:

Per-customer Ingress (#CUSTDIALPLAN#, for example 0005) dial plan, to detect and convert the configured VoiceMail Pilot number to E164 number

Per-customer Egress (#EGRESSCUSTDIALPLAN#, for example 0006) dial plan, to detect and convert the configured E164 number to VoiceMail Pilot number

Per-country (R#PADDEDCC#, for example R044) dial plan, to detect the configured E164 number.

For example:

FNT,0005cr9fnt,2,03210019666099,E441640666099
FNT,0006afnt,2,441640666099,E666099
FNT,r044bfnt,1,441640666099,0321001666099 
 
   

back to Associating E164 Number to VoiceMail Pilot Number (Section 2.4.5)

Add Location VoiceMail Service Transaction on PGW

USM invokes the PGW driver and uses the mml scripts in the AddLocationVM transaction (AddLocationVM-IPUnity mml script name) of the PGW model worksheet to configure the per-customer VoiceMail dial plan (for example 000G) with per-location logic to support MWI calls from IP Unity.

For example:

 
   
; AddLocationVM-IPUnity: add per location logic to support Mwi calls from IP unity. 
; 000G A unique dialplan number within PGW to be used for the customer s voicemail 
integration 
; 100 CPID for the CCM Cluster where the location resides.
; 0010 RID for the new location.
; 111 The Site Location Code (SLC) for the new location 
;-----------------------------------------------------------------------------------
numan-add:digmodstring:custgrpid="000G",name="MWI1000010",digstring="1000010" 
numan-add:resultset:custgrpid="000G",name="CR1000010" 
numan-add:resulttable:custgrpid="000G",name="prefCR1000010",resulttype="BMODDIG",dw1="1",d
w2="0",dw3="MWI1000010",setname="CR1000010" 
numan-add:resulttable:custgrpid="000G",name="MWIflip",resulttype="B_NBR_MOD_MWI",dw1="Clus
ter100MWIon",dw2="Cluster100MWIoff",setname="CR1000010" 
numan-add:resulttable:custgrpid="000G",name="gotoROUT",resulttype="NEW_DIALPLAN",dw1="ROUT
",dw2="1",setname="CR1000010" 
; if the B-number from IP Unity starts with the location s Site Location Code then use the 
result-set created above 
numan-add:bdigtree:custgrpid="000G",callside="originating",digitstring="111",setname="CR10
00010"
 
   

Add Location VoiceMail Service Transaction on Unified CM

USM invokes the IPPBX driver on the selected Unified CM Cluster to do the following:

Remove Route Pattern

Add Route Pattern

Remove Route Pattern

Add Route Pattern

Remove Translation Pattern

Add Translation Pattern

Add Voicemail Pilot

Add Voicemail Profile

Update all phones in the location

Update all lines in the phone with the VM Profile

Remove Translation pattern, CSS and partition for PLAR

Remove Route Pattern

<removeRoutePattern xmlns="http://10.134.3.2/">
<pattern>8.666!</pattern>
<routePartitionName>AllowVMCalls10</routePartitionName>
<routeFilterName>
</routeFilterName>
</removeRoutePattern>
 
   

Add Route Pattern

<newPattern>
<pattern>8.666!</pattern>
<description>AllowVMCalls10</description>
<usage>Device</usage>
<routePartitionName>AllowVMCalls10</routePartitionName>
<blockEnable>false</blockEnable>
<calledPartyTransformationMask>
</calledPartyTransformationMask>
<callingPartyTransformationMask>10000108111XXX</callingPartyTransformationMask>
<useCallingPartyPhoneMask>Off</useCallingPartyPhoneMask>
<callingPartyPrefixDigits>
</callingPartyPrefixDigits>
<dialPlanWizardGenId>
</dialPlanWizardGenId>
<digitDiscardInstructionName>
</digitDiscardInstructionName>
<messageWaiting>Wink</messageWaiting>
<networkLocation>OnNet</networkLocation>
<patternUrgency>false</patternUrgency>
<prefixDigitsOut>
</prefixDigitsOut>
<routeFilterName>
</routeFilterName>
<callingLinePresentationBit>Default</callingLinePresentationBit>
<callingNamePresentationBit>Allowed</callingNamePresentationBit>
<releaseCause>Call Rejected</releaseCause>
<provideOutsideDialtone>false</provideOutsideDialtone>
<destination>
<routeListName>VOICEMAIL</routeListName>
<provideOutsideDialtone>false</provideOutsideDialtone>
</destination>
<clientCodeRequired>false</clientCodeRequired>
</newPattern>
</addRoutePattern>
 
   

Remove Route Pattern

<removeRoutePattern xmlns="http://10.134.3.2/">
<pattern>8.666!</pattern>
<routePartitionName>AllowVMCallsCF10</routePartitionName>
<routeFilterName>
</routeFilterName>
</removeRoutePattern>
 
   

Add Route Pattern

<addRoutePattern xmlns="http://10.134.3.2/">
<newPattern>
<pattern>8.666!</pattern>
<description>AllowVMCallsCF10</description>
<usage>Device</usage>
<routePartitionName>AllowVMCallsCF10</routePartitionName>
<blockEnable>false</blockEnable>
<calledPartyTransformationMask>
</calledPartyTransformationMask>
<callingPartyTransformationMask>
</callingPartyTransformationMask>
<useCallingPartyPhoneMask>Off</useCallingPartyPhoneMask>
<callingPartyPrefixDigits>10000106</callingPartyPrefixDigits>
<dialPlanWizardGenId>
</dialPlanWizardGenId>
<digitDiscardInstructionName>
</digitDiscardInstructionName>
<messageWaiting>Wink</messageWaiting>
<networkLocation>OnNet</networkLocation>
<patternUrgency>false</patternUrgency>
<prefixDigitsOut>
</prefixDigitsOut>
<routeFilterName>
</routeFilterName>
<callingLinePresentationBit>Default</callingLinePresentationBit>
<callingNamePresentationBit>Allowed</callingNamePresentationBit>
<releaseCause>Call Rejected</releaseCause>
<provideOutsideDialtone>false</provideOutsideDialtone>
<destination>
<routeListName>VOICEMAIL</routeListName>
<provideOutsideDialtone>false</provideOutsideDialtone>
</destination>
<clientCodeRequired>false</clientCodeRequired>
</newPattern>
</addRoutePattern>
 
   

Remove Translation Pattern

<removeTransPattern xmlns="http://10.134.3.2/">
<pattern>#1#.1000010!</pattern>
<routePartitionName>IncomingFromIPU</routePartitionName>
<routeFilterName>
</routeFilterName>
</removeTransPattern>
 
   

Add Translation Pattern

<addTransPattern xmlns="http://10.134.3.2/">
<newPattern>
<pattern>#1#.1000010!</pattern>
<description>Voicemail</description>
<usage>Device</usage>
<routePartitionName>IncomingFromIPU</routePartitionName>
<blockEnable>false</blockEnable>
<calledPartyTransformationMask>
</calledPartyTransformationMask>
<callingPartyTransformationMask>
</callingPartyTransformationMask>
<useCallingPartyPhoneMask>Off</useCallingPartyPhoneMask>
<callingPartyPrefixDigits>
</callingPartyPrefixDigits>
<dialPlanWizardGenId>
</dialPlanWizardGenId>
<digitDiscardInstructionName>Predot</digitDiscardInstructionName>
<messageWaiting>Wink</messageWaiting>
<networkLocation>OnNet</networkLocation>
<patternUrgency>true</patternUrgency>
<prefixDigitsOut>	
</prefixDigitsOut>
<routeFilterName>
</routeFilterName>
<callingLinePresentationBit>Default</callingLinePresentationBit>
<callingNamePresentationBit>Default</callingNamePresentationBit>
<provideOutsideDialtone>false</provideOutsideDialtone>
<callingSearchSpaceName>IncomingToCluster</callingSearchSpaceName>
</newPattern>
</addTransPattern>

Add Voicemail Pilot

<addVoiceMailPilot xmlns="http://10.134.3.2/">
<voiceMailPilot>
<dirn>8666099</dirn>
<description>VM Pilot for location10</description>
<CSSName>Voicemail10</CSSName>
<isDefault>false</isDefault>
</voiceMailPilot>
</addVoiceMailPilot>

Add Voicemail Profile

 
   
<addVoiceMailProfile xmlns="http://10.134.3.2/">
<voiceMailProfile>
<name>VMProfile110</name>
<description>VM Profile for location10</description>
<isDefault>false</isDefault>
<voiceMailPilot uuid="{C713DD9C-8B49-3692-B12D-42BFFD7DA116}">
</voiceMailPilot>
</voiceMailProfile>
</addVoiceMailProfile>
 
   

Update all phones in the location

For example

 
   
<updatePhone xmlns="http://10.134.3.2/">
<name>SEP001DA21A1E52</name>
<callingSearchSpaceName>EmergencyOnly10</callingSearchSpaceName>
<devicePoolName>devicepool10</devicePoolName>
<locationName>location-bvsm-10</locationName>
<networkHoldMOHAudioSourceId>0</networkHoldMOHAudioSourceId>
<userHoldMOHAudioSourceId>0</userHoldMOHAudioSourceId>
<aarNeighborhoodName>	
</aarNeighborhoodName>
<vendorConfig>
<disableSpeaker>false</disableSpeaker>
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
<forwardingDelay>1</forwardingDelay>
<pcPort>0</pcPort>
<settingsAccess>1</settingsAccess>
<garp>1</garp>
<voiceVlanAccess>1</voiceVlanAccess>
<videoCapability>0</videoCapability>
<autoSelectLineEnable>0</autoSelectLineEnable>
<webAccess>0</webAccess>
</vendorConfig>
<lines>
<line uuid="{cff950f0-6380-b958-60f4-3161d4779bbe}" index="1">
<label>005</label>
<display>
</display>
<dirn uuid="{cff950f0-6380-b958-60f4-3161d4779bbe}">
</dirn>
<ringSetting>Use System Default</ringSetting>
<consecutiveRingSetting>Use System Default</consecutiveRingSetting>
<e164Mask>1640111005</e164Mask>
<maxNumCalls>4</maxNumCalls>	
<busyTrigger>2</busyTrigger>
<mwlPolicy>Use System Policy</mwlPolicy>
</line>
</lines>
<phoneTemplateName>Standard 7945 SIP</phoneTemplateName>
<speeddials>
</speeddials>
<busyLampFields>
</busyLampFields>
<blfDirectedCallParks>
</blfDirectedCallParks>
<userLocale>English United States</userLocale>
<networkLocale>United Kingdom</networkLocale>
<deviceSecurityMode>Use System Default</deviceSecurityMode>
<idleTimeout>
</idleTimeout>
<idleURL>
</idleURL>
<services>
<service uuid="{73a4d252-cc52-8db9-4802-c86a8deed384}">
<telecasterServiceName>Login/Logout</telecasterServiceName>
<name>Login/Logout</name>
<url>http://10.134.3.2:8080/emapp/EMAppServlet?device=#DEVICENAME#</url>
<urlButtonIndex>0</urlButtonIndex>
<urlLabel>Login/Logout</urlLabel>
</service>
<service uuid="{9cb76602-3a87-25ab-6faa-388b28260dc0}">
<telecasterServiceName>Phone Services</telecasterServiceName>
<name>Phone Services</name>
<url>http://10.100.92.33/bvsmweb/bvsmservices.cgi?device=#DEVICENAME#</url>
<urlButtonIndex>0</urlButtonIndex>
<urlLabel>Phone Services</urlLabel>
</service>
</services>
<softkeyTemplateName>Softkey_Advanced</softkeyTemplateName>
<enableExtensionMobility>true</enableExtensionMobility>
<builtInBridgeStatus>Off</builtInBridgeStatus>
<callInfoPrivacyStatus>Off</callInfoPrivacyStatus>
<ignorePresentationIndicators>false</ignorePresentationIndicators>
<packetCaptureMode>None</packetCaptureMode>
<packetCaptureDuration>0</packetCaptureDuration>
</updatePhone>
 
   

Update all lines in the phone with the VM Profile

For example

<updateLine xmlns="http://10.134.3.2/">
<uuid>{26597e23-b827-985c-45e0-481bac45de84}</uuid>
<newPattern>1000010111001</newPattern>
<description> Line 1000010111001 for a phone</description>
<newRoutePartitionName>Site10</newRoutePartitionName>
<callForwardAll>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<secondaryCallingSearchSpaceName>
</secondaryCallingSearchSpaceName>
<destination>
</destination>
</callForwardAll>
<callForwardBusy>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>
</destination>
</callForwardBusy>
<callForwardBusyInt>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>
</destination>
</callForwardBusyInt>
<callForwardNoAnswer>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>
</destination>
<duration>12</duration>
</callForwardNoAnswer>
<callForwardNoAnswerInt>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>
</destination>
<duration>12</duration>
</callForwardNoAnswerInt>
<callForwardNoCoverage>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>
</destination>
<duration>12</duration>
</callForwardNoCoverage>
<callForwardNoCoverageInt>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>
</destination>
<duration>12</duration>
</callForwardNoCoverageInt>
<autoAnswer>Auto Answer Off</autoAnswer>
<networkHoldMOHAudioSourceId>0</networkHoldMOHAudioSourceId>
<userHoldMOHAudioSourceId>0</userHoldMOHAudioSourceId>
<alertingName>001</alertingName>
<shareLineAppearanceCSSName>COS1International24Hour10</shareLineAppearanceCSSName>
<voiceMailProfileName>VMProfile110</voiceMailProfileName>
<hrDuration>
</hrDuration>
<hrInterval>
</hrInterval>
<cfaCSSPolicy>With Configured CSS</cfaCSSPolicy>
</updateLine>

Remove Translation pattern, CSS and partition for PLAR

<removeTransPattern xmlns="http://10.134.3.2/">
<pattern>
</pattern>
<routePartitionName>PLAR1000010111001</routePartitionName>
<routeFilterName>
</routeFilterName>
</removeTransPattern>
 
   
<removeCSS xmlns="http://10.134.3.2/">
<name>PLAR1000010111001</name>
</removeCSS>
 
   
	
removeRoutePartition xmlns="http://10.134.3.2/">
<partitionName>PLAR1000010111001</partitionName>
</removeRoutePartition>
 
   

Add VoiceMail Account Transaction on Unified CM

USM invokes the IPPBX driver on the selected Unified CM Cluster to update the line configured for the user.

For example

<updateLine xmlns="http://10.134.3.2/">
<uuid>{29cb4c91-c1c0-0490-666f-4ea4afaf6584}</uuid>
<newPattern>1000010111007</newPattern>
<description> Line 1000010111007 for a phone</description>
<newRoutePartitionName>Site10</newRoutePartitionName>
<callForwardAll>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<secondaryCallingSearchSpaceName>
</secondaryCallingSearchSpaceName>
<destination>
</destination>
</callForwardAll>
<callForwardBusy>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>8666099</destination>
</callForwardBusy>
<callForwardBusyInt>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>8666099</destination>
</callForwardBusyInt>
<callForwardNoAnswer>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>8666099</destination>
<duration>12</duration>
</callForwardNoAnswer>
<callForwardNoAnswerInt>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>8666099</destination>
<duration>12</duration>
</callForwardNoAnswerInt>
<callForwardNoCoverage>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>8666099</destination>
<duration>12</duration>
</callForwardNoCoverage>
<callForwardNoCoverageInt>
<callingSearchSpaceName>PSTNIntMobCF10</callingSearchSpaceName>
<destination>8666099</destination>
<duration>12</duration>
</callForwardNoCoverageInt>
<autoAnswer>Auto Answer Off</autoAnswer>
<networkHoldMOHAudioSourceId>
</networkHoldMOHAudioSourceId>
<userHoldMOHAudioSourceId>
</userHoldMOHAudioSourceId>
<alertingName>007</alertingName>
<shareLineAppearanceCSSName>COS1International24Hour10</shareLineAppearanceCSSName>
<voiceMailProfileName>VMProfile110</voiceMailProfileName>
<hrDuration>
</hrDuration>
<hrInterval>
</hrInterval>
<cfaCSSPolicy>With Configured CSS</cfaCSSPolicy>
</updateLine>
 
   

Add Default VoiceMail Class of Service Transaction

USM invokes the "IP Unity Any" driver and uses the XML scripts in the BasicVoiceMail transaction (IPUnity_model_xml table name) of the IPUnity_Any model worksheet to create and configure the per-organization Class of Service: StandardVoiceMail

For example

 
   
<AddCosRequest requestId="">
<IACos>
<General>
<orgId>614</orgId>
<name>StandardVoiceMail</name>
<orgProfileID>3</orgProfileID>
<forceRcrdPerGtg>true</forceRcrdPerGtg>
<forceRcrdName>true</forceRcrdName>
</General>
<VoiceMail>
<maxNumVoicemails>50</maxNumVoicemails>
<voiceMsgPurgeTime>14</voiceMsgPurgeTime>
<replyToOtherAddrsEnabled>true</replyToOtherAddrsEnabled>
<reqRtrnReceiptEnabled>true</reqRtrnReceiptEnabled>
<hasInterceptMB>false</hasInterceptMB>
<msgScanAllMails>true</msgScanAllMails>
<autoPlayAllMails>true</autoPlayAllMails>
<scanVoiceMailMessageHeaders>true</scanVoiceMailMessageHeaders>
<autoSkipNextMsg>true</autoSkipNextMsg>
<autoPlayVoiceMsgEnabled>true</autoPlayVoiceMsgEnabled>
<maxVoiceMailSize>5120</maxVoiceMailSize>
<quotaWarningLevel>80</quotaWarningLevel>
<maxFDAllowed>5</maxFDAllowed>
<maxRecordingLength>3</maxRecordingLength>
<expiryMsgGracePeriodInDays>14</expiryMsgGracePeriodInDays>
<savedMsgExpiryInDays>7</savedMsgExpiryInDays>
<allowedToSaveExpiredMessages>true</allowedToSaveExpiredMessages>
<userConfigPAEnabled>false</userConfigPAEnabled>
</VoiceMail>
<Greetings>
<maxNumOfGreetingFiles>2</maxNumOfGreetingFiles>
<intPGEnabled>false</intPGEnabled>
<afterHoursGreetingEnabled>false</afterHoursGreetingEnabled>
<intEAGEnabled>false</intEAGEnabled>
<enableEAG>true</enableEAG>
<busyGreetingAllowed>false</busyGreetingAllowed>
</Greetings>
<MWI>
<mwiEnabled>true</mwiEnabled>
</MWI>
<MWN>
<mwnPhoneEnabled>false</mwnPhoneEnabled>
<mwnNumPageEnabled>false</mwnNumPageEnabled>
<mwnTextPageEnabled>false</mwnTextPageEnabled>
<allowLocalLongDistMWN>false</allowLocalLongDistMWN>
<allowDomesticDistMWN>false</allowDomesticDistMWN>
<allowInterDistMWN>false</allowInterDistMWN>
</MWN>
<OutCall>
<allowLocalLongDistOutcall>false</allowLocalLongDistOutcall>
<allowDomesticDistOutcall>false</allowDomesticDistOutcall>
<allowInterDistOutcall>false</allowInterDistOutcall>
<allowCallSender>false</allowCallSender>
<allowPlaceACall>false</allowPlaceACall>
</OutCall>
<Email>
<unifiedMessagingEnabled>false</unifiedMessagingEnabled>
<integratedMessagingEnabled>false</integratedMessagingEnabled>
<emailQuota>5</emailQuota>
</Email>
<Fax>
<faxEnabled>false</faxEnabled>
<maxFaxPages>20</maxFaxPages>
</Fax>
<PDLs>
<maxNumOfPDLs>5</maxNumOfPDLs>
<maxNumOfMembersPerPDL>10</maxNumOfMembersPerPDL>
</PDLs>
</IACos>
</AddCosRequest>
 
   

Add VoiceMail Account Transaction on IP Unity

USM invokes the "IP Unity Any" driver and uses the XML scripts in the AddVoiceMailAcct transaction (IPUnity_model_xml table name) of the IPUnity_Any model worksheet to create and configure a User.

For example

<AddUserRequest requestId="2" ver="1">
<orgPilotPhNumber>0321001666099</orgPilotPhNumber>
<mailBoxNum>111007</mailBoxNum>
<IAUser>
<cosProfileId>3</cosProfileId>
<userType>StdMailbox</userType> <firstName>a</firstName>
<lastName>d</lastName>
<emailId>ad</emailId>
<emailPassword>PASSWORD:1</emailPassword>
<password>123456</password>
<outgoingCAID>0</outgoingCAID> <numberingPlanID>101</numberingPlanID> 
<telephoneList>
<telephone>
<phoneType>1</phoneType> <telephone>111007</telephone>
<mwiAgentID>0</mwiAgentID>
<language>
<languageID>1</languageID> <langSelectionMenuEnabled>false</langSelectionMenuEnabled> 
</language>
</telephone>
</telephoneList>
<mailboxOptions>
<timeZoneId>13</timeZoneId>
<playTimeStampInEnv>true</playTimeStampInEnv>
<playSenderInEnv>false</playSenderInEnv>
<playOldestFirst>false</playOldestFirst>
</mailboxOptions>
<mailFilters>
<ssrVacationEnabled>false</ssrVacationEnabled> 
<ssrVacationMessage>xxxxx</ssrVacationMessage> 
<ssrRedirectEnabled>false</ssrRedirectEnabled> 
<ssrRedirectKeepCopy>false</ssrRedirectKeepCopy> 
<ssrRedirectDonotForwardAutomatedMessages>false</ssrRedirectDonotForwardAutomatedMessages> 
<ssrRedirectMirror>false</ssrRedirectMirror> 
<ssrRedirectForwardTo>a@b.com,c@d.com</ssrRedirectForwardTo>
</mailFilters>
</IAUser>
</AddUserRequest>
 
   

Adding a AA Pilot on PGW

USM invokes the PGW driver and uses the mml scripts in the AddAAServicePilot transaction (AddAAServicePilot mml script name) of the PGW model worksheet to do the following:

Configures EGRV dialplan to detect calls to AA and route them to OGAA dial plan

Configure the per-customer OGAA dial plan to handle calls to AA.

Configure ICCM to handle calls from AA.

; AddAAServicePilot: add Customer support for AutoAttendant 
; 0005 - Customer DialPlan 
; 000V Voicemail Service Dialplan 
; 032 A CPID for the IP UNITY system. 
; 1004 A RID that uniquely identifies a VM Service 
; #IPUNITYRESRID# A constant of All 9's to length of RIDs in the system. 
; 999 AA Service Site Code 
; 098 AA Extension 
; EGRV - B number is AA service pilot goto OGAA dp 
numan-add:bdigtree:custgrpid="EGRV",callside="originating",digitstring="0321004999098",set
name="switch2OGAA" 
; OGAA - Handling call to AA 
numan-add:digmodstring:custgrpid="OGAA",name="03210049999098",digstring="03210049999098" 
numan-add:resultset:custgrpid="OGAA",name="0321004999098" 
numan-add:resulttable:custgrpid="OGAA",name="ApfxFINT",resulttype="AMODDIG",dw1="1",dw2="0
",dw3="03210049999098",setname="0321004999098" 
numan-add:resulttable:custgrpid="OGAA",name="gotoIpUnity",resulttype="ROUTE",dw1="rtlist2i
punity",setname="0321004999098"  
; 
numan-add:bdigtree:custgrpid="OGAA",callside="originating",digitstring="0321004999098",set
name="0321004999098" 
; 
; Handling call from AA 
numan-add:adigtree:custgrpid="ICCM",callside="originating",digitstring="03210049999098",se
tname="chgdplCust000VAA"   
 
   

Enabling Auto Attendant on Movius Organization

USM invokes the "IP Unity Any" driver to enable autoAttendant on the organization:

For example

<ModifyOrgRequest requestId="">	
<orgId>834</orgId>	
<IAOrganization>
<General>
<autoAttEnabled>true</autoAttEnabled>
</General>
</IAOrganization>
</ModifyOrgRequest>
 
   

Load PGW Transaction

USM invokes the PGW driver and uses the mml scripts in the InitTransit transaction of the PGW MML model worksheet to prepare the initial core dial plans on the PGW:

CTRY dial plan

EGRV dial plan

LOGW dial plan

ROUT dial plan

OGAA dial plan

RDNI dial plan

RDNO dial plan

OGAA dial plan

Load Unified CM Clusters Transaction

USM invokes CCM 7.1.x driver and uses the definitions in the InitIPPBX transaction of the CCM model worksheet.

Procedure:


Step 1 Verify that the MOH_<winshostname>; for example, MOH_e2c1p is configured on the Unified CM, if the MOH server was selected.

Step 2 Verify that the Login/Logout and Phone Services IP Phone services are configured on the Unified CM.

Step 3 Verify that all phone button templates defined in USM are configured on Unified CM.

Step 4 Verify that the defaultaar has been configured in Unified CMs 5.x, 6.x and 7.x.

Step 5 Create the Unified CM Groups that were defined in USM, for example: e2PhoneGroupClu1 and e2TrunkGroupClu1.

Step 6 Update various Service Parameters. To check which service parameters are updated in USM, do the following:

a. Go to Network > PBX Devices.

b. Select the Unified CM clster you want to check the parameters

c. Click View CCM Config

d. Click CCM Cluster Config

Step 7 Create user ac (Used for Attendant Console)

Step 8 Create the Time Periods defined in the model: AllDayEveryDay, StandardBusinessHrs, ExtendedBusinessHrs and WeekendHrs

Step 9 Create the Time Schedules defined in the model: alldayeveryday, standardbusinessschedule, extendedbusinessschedule and weekendschedule

Step 10 Create non-site specific Partitions: IncominToCluster, IncomingFromIPU, IncomingFromOffnet, OutOfService, NullPartition, and AllowMWI

Step 11 Create Non-Site specific CSSs: IncomingToCluster, IncomingFromIPU and IncomingFromOffnet

Step 12 Create Partition to CSS mappings for the created CSSs

Step 13 Create a GL-DP-Trunk device pool

Step 14 Create a location-bvsm location

Step 15 Create a gatekeeper, for example 10.120.2.51

Step 16 Create H.225 Trunks (Gatekeeper Controlled): e2c1-External, e2c1-Offnet and e2c1-Vmail

Step 17 Reset the H.225 Trunks

Step 18 Create Route Groups: EXTERNAL, OFFNETTRUNK and VOICEMAIL

Step 19 Route Lists: INTERSITE and INTRASITE, OFFNETTRUNK and VOICEMAIL


Add Country Transactions

This section has two topics:

Add Country Transaction on PGW

Add Country Transaction on Unified CM

Add Country Transaction on PGW

USM invokes the PGW driver and uses the mml scripts in the AddCountryTransits transaction of the PGW MML model worksheet to:


Step 1 Configure the CTRY dial plan with country specific information

Step 2 Create and configure country specific dial plans on the PGW as follows:

E#PADDEDCC# dial plan, for example E044

F#PADDEDCC# dial plan, for example F044

H#PADDEDCC# dial plan, for example H044

L#PADDEDCC# dial plan, for example L044

N#PADDEDCC# dial plan, for example N044

P#PADDEDCC# dial plan, for example P044

R#PADDEDCC# dial plan, for example R044

S#PADDEDCC# dial plan, for example S044

Step 3 Configure the ILGW dial plan with country specific information.


Add Country Transaction on Unified CM

USM invokes the CCM7.1.x drivers and uses the definitions in the AddCountry transaction of the CCM model worksheet to create and configure on all Unified CM Clusters:

Country Specific Route Lists; for example, PSTNNAT044, PSTNINT044, and EMERGENCY044

Associate country specific Route Lists to the EXTERNAL Route Group

Add Customers Transaction

USM invokes the PGW 9.6.1 driver and uses the mml scripts in the AddCustomer transaction of the PGW MML model worksheet.

Procedure:


Step 1 Add and configure customer specific dial plans on the PGW as follows:

Per-customer Ingress dial plan (#CUSTDIALPLAN#), for example 0001

Per-customer Egress dial plan (#EGRESSCUSTDIALPLAN#), for example 0002

Per-customer Egress dial plan 2 (#EGRESSCUSTDIALPLAN2#), for example 0003

Per-customer Central Legacy PBX dial plan (#COMMONLEGACYPBX#), for example 0004

Step 2 Configure the core ICCM and ROUT dial plans with customer specific information.


Add Locations Transactions

The following two topics are explianed in this section:

Add Locations Transaction on PGW

Add Locations Transaction on Unified CM

Add Locations Transaction on PGW

USM invokes the PGW 9.6.1 driver and uses the mml scripts in the AddLocationFirstInCountry and AddLocation transactions of the PGW_9_6_1 model worksheet.

Procedure:


Step 1 Configure the AddLocationFirstInCountry transaction as follows:

Per-customer Ingress (#CUSTDIALPLAN#) dial plan, for example 0001

Per-customer Egress 2 (#EGRESSCUSTDIALPLAN2#) dial plan, for example 0003

with location specific information. This transaction is executed for each first location per Country and per Customer.

Step 2 Configure the AddLocation transaction as follows:

Per-customer Ingress (#CUSTDIALPLAN#) dial plan, for example 0001

Per-customer Egress (#EGRESSCUSTDIALPLAN#) dial plan, for example 0002

Per-customer Egress 2 (#EGRESSCUSTDIALPLAN2#) dial plan, for example 0003

Per-country R#PADDEDCC# dial plan, for example R044

Core ROUT dial plan

Add Locations Transaction on Unified CM

USM invokes the CCM drivers and uses the definitions in the AddLocation transaction of the CCM model worksheet to create and configure on the selected Unified CM Cluster (Generic Hosted UCS 7.1(a) model is shown below):

Site specific location, for example location-bvsm-1

55 Per-location Partitions (Call Routing, Internal, 24x7, Standard Business Hours, Extended Business Hours, Weekend, Call Blocking, Call Forwarding and CLIR partitions), for example AllowInternal1, Site1, AllowPSTNServices24Hour1, AllowInterSiteCF1, etc

36 Per-location CSSs (Static, Incoming Call, Phone, Line, Per COS, Presence CSSs and CLIR CSSs), for example TempOutOfServiceCSS1, IncomingToSite1, EmergencyOnly1, COS1International24Hour1, InternalCF, SUBSCRIBE, etc

Partition to CSS mappings for the created CSSs

7 Per-location Generic Route Patterns, for routing basic calls, and call forwarding, for example 1000100!, 8.!, [^89]XX, etc

4 Generic Translation Patterns, for example 1000100!, [^89]XX, 9999991000100111.!

Number of Country Specific per-location Route Patterns and Translation Patterns

2 Device pools for phones and faxes, for example devicepool1 and faxdevicepool1

Move Phone Inventory Transaction

USM invokes the IPPBX driver on the selected Unified CM Cluster to do the following:


Step 1 verify that the phone is not already configured (removePhone), for example

<phoneName>SEP001D452CDA84</phoneName>

Step 2 Add a new phone (addPhone), for example:

<newPhone>

<name>SEP001D452CDA84</name>

<product>Cisco 7965</product>

<model>Cisco 7965</model>

<class>Phone</class>

<protocol>SIP</protocol>

<protocolSide>User</protocolSide>

<devicePoolName>devicepool1</devicePoolName>

<numberOfButtons>6</numberOfButtons>

<phoneTemplateName>Standard 7965 SIP</phoneTemplateName>

</newPhone>


Note The next step is only executed on Unified CM 5.x clusters, since autogenerated device profiles are not used in Unified CM 6.x


Step 3 Create an autogenerated profile for the phone (createAutogeneratedProfile), for example:

<phoneName>SEP001D452CDA84</phoneName>

Step 4 add a new line to the phone (addLine), for example:

<newLine>

<pattern>88810001001110000</pattern>

<description>Line 88810001001110000 for a phone</description>

<usage>Device</usage>

<routePartitionName>Site1</routePartitionName>

<callForwardAll>

<callingSearchSpaceName>BlockAllCF1</callingSearchSpaceName>

<destination></destination>

</callForwardAll>

<callForwardBusy>

<callingSearchSpaceName>BlockAllCF1</callingSearchSpaceName>

<destination></destination>

</callForwardBusy>

<callForwardBusyInt>

<callingSearchSpaceName>BlockAllCF1</callingSearchSpaceName>

<destination></destination>

</callForwardBusyInt>

<callForwardNoAnswer>

<callingSearchSpaceName>BlockAllCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoAnswer>

<callForwardNoAnswerInt>

<callingSearchSpaceName>BlockAllCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoAnswerInt>

<callForwardNoCoverage>

<callingSearchSpaceName>BlockAllCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoCoverage>

<callForwardNoCoverageInt>

<callingSearchSpaceName>BlockAllCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoCoverageInt>

<autoAnswer>Auto Answer Off</autoAnswer>

<networkHoldMOHAudioSourceId></networkHoldMOHAudioSourceId>

<userHoldMOHAudioSourceId></userHoldMOHAudioSourceId>

<shareLineAppearanceCSSName>COS6InternalCLIP24Hour1</shareLineAppearanceCSSName>

<voiceMailProfileName></voiceMailProfileName>

</newLine>

Step 5 update the phone (updatePhone), for example:

<name>SEP001D452CDA84</name>

<callingSearchSpaceName>EmergencyOnly1</callingSearchSpaceName>

<devicePoolName>devicepool1</devicePoolName>

<locationName>location-bvsm-1</locationName>

<networkHoldMOHAudioSourceId>0</networkHoldMOHAudioSourceId>

<userHoldMOHAudioSourceId>0</userHoldMOHAudioSourceId>

<aarNeighborhoodName></aarNeighborhoodName>

<vendorConfig>

<disableSpeaker>false</disableSpeaker>

<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>

<forwardingDelay>0</forwardingDelay>

<pcPort>0</pcPort>

<settingsAccess>1</settingsAccess>

<garp>1</garp>

<voiceVlanAccess>1</voiceVlanAccess>

<videoCapability>0</videoCapability>

<autoSelectLineEnable>0</autoSelectLineEnable>

<webAccess>0</webAccess>

</vendorConfig>

<lines>

<line uuid="{e1cd8b3a-c74c-1053-1494-bd06fafd4a90}" index="1">

<label>88810001002120000</label>

<display>88810001002120000</display>

<dirn uuid="{e1cd8b3a-c74c-1053-1494-bd06fafd4a90}"></dirn>

<ringSetting>Use System Default</ringSetting>

<consecutiveRingSetting>Use System Default</consecutiveRingSetting>

<e164Mask></e164Mask>

<maxNumCalls>1</maxNumCalls>

<busyTrigger>1</busyTrigger>

<mwlPolicy>Use System Policy</mwlPolicy>

</line>

</lines>

<phoneTemplateName>Standard 7965 SIP</phoneTemplateName>

<speeddials></speeddials>

<userLocale>English United States</userLocale>

<networkLocale>United States</networkLocale>

<deviceSecurityMode>Use System Default</deviceSecurityMode>

<idleTimeout>0</idleTimeout>

<services>

<service uuid="{be4d6290-f402-dc20-1717-55510000fcb5}">

<telecasterServiceName>Phone Services</telecasterServiceName>

<name>Phone Services</name>

<url>http://10.120.3.66:8080/bvsmweb/bvsmservices.cgi?device=#DEVICENAME#</url>

<urlButtonIndex>0</urlButtonIndex>

<urlLabel>Phone Services</urlLabel>

</service>

</services>

<softkeyTemplateName>Standard Feature</softkeyTemplateName>

<enableExtensionMobility>false</enableExtensionMobility>

<builtInBridgeStatus>Off</builtInBridgeStatus>

<callInfoPrivacyStatus>Off</callInfoPrivacyStatus>

<ignorePresentationIndicators>false</ignorePresentationIndicators>

<packetCaptureMode>None</packetCaptureMode>

<packetCaptureDuration>0</packetCaptureDuration>

Step 6 Reset the phone (doDeviceReset), for example:

<deviceName>SEP001D452CDA84</deviceName>

<isHardReset>true</isHardReset>


Add PSTN Published Number Transaction

USM invokes the PGW 9.6.1 driver and uses the mml scripts in the AddPSTNPubNum transaction of the PGW model worksheet to do the following:

Edit the relevant digmodstrings in the per-customer Ingress dial plan (#CUSTDIALPLAN#, for example 0001) with the configured PSTN Published number

Add Emergency Published Number Transaction

USM invokes the PGW9.6.1 driver and uses the mml scripts in the AddEmergNum transaction of the PGW_9_6_1 model worksheet to do the following:

Configure the per-customer Ingress dial plan (#CUSTDIALPLAN#, for example 0001) for the correct routing and number presentation of emergency calls from the relevant location.

Assign Range of E164 Numbers to Internal Numbers Transactions

Starting from Hosted UCS 6.1(a) USM invokes the PGW TimesTen driver and uses the TimesTen Input in the AssocaiteFNN transaction (AssociateFNN script) of the PGW_TimesTen_Any model worksheet to create an import file and transfer it to the PGW, where it invokes the HUCSprovx10 PGW script and inserts the associations into the PGW TimesTen database.

Following is a sample Input file for 5 DDI mappings (1630411000-1630411004) generated for the HUCSprovx10 PGW script:

FNT,0001cr9fnt,2,00100109411000,E441630411000

FNT,0002afnt,2,441630411000,F8411000

FNT,r001bfnt,1,441630411000,0010010411000

FNT,0001cr9fnt,2,00100109411001,E441630411001

FNT,0002afnt,2,441630411001,F8411001

FNT,r001bfnt,1,441630411001,0010010411001

FNT,0001cr9fnt,2,00100109411002,E441630411002

FNT,0002afnt,2,441630411002,F8411002

FNT,r001bfnt,1,441630411002,0010010411002

FNT,0001cr9fnt,2,00100109411003,E441630411003

FNT,0002afnt,2,441630411003,F8411003

FNT,r001bfnt,1,441630411003,0010010411003

FNT,0001cr9fnt,2,00100109411004,E441630411004

FNT,0002afnt,2,441630411004,F8411004

FNT,r001bfnt,1,441630411004,0010010411004

Register Phone Transaction

USM invokes the IPPBX driver on the selected Unified CM Cluster to do the following:


Step 1 Delete the old line (created when the phone was moved to a location), and add a new line to the phone (addLine), for example:

<newLine>

<pattern>10001002120201</pattern>

<description>Line 10001002120201 for a phone</description>

<usage>Device</usage>

<routePartitionName>Site1</routePartitionName>

<callForwardAll>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardAll>

<callForwardBusy>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardBusy>

<callForwardBusyInt>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardBusyInt>

<callForwardNoAnswer>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoAnswer>

<callForwardNoAnswerInt>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoAnswerInt>

<callForwardNoCoverage>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoCoverage>

<callForwardNoCoverageInt>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoCoverageInt>

<autoAnswer>Auto Answer Off</autoAnswer>

<networkHoldMOHAudioSourceId></networkHoldMOHAudioSourceId>

<userHoldMOHAudioSourceId></userHoldMOHAudioSourceId>

<shareLineAppearanceCSSName>COS1International24Hour1</shareLineAppearanceCSSName>

<voiceMailProfileName></voiceMailProfileName>

</newLine>

Step 2 Update the phone (updatePhone), for example:

<name>SEP001D452CDA84</name>

<callingSearchSpaceName>EmergencyOnly1</callingSearchSpaceName>

<devicePoolName>devicepool1</devicePoolName>

<locationName>location-bvsm-1</locationName>

<networkHoldMOHAudioSourceId>0</networkHoldMOHAudioSourceId>

<userHoldMOHAudioSourceId>0</userHoldMOHAudioSourceId>

<aarNeighborhoodName></aarNeighborhoodName>

<vendorConfig>

<disableSpeaker>false</disableSpeaker>

<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>

<forwardingDelay>1</forwardingDelay>

<pcPort>0</pcPort>

<settingsAccess>1</settingsAccess>

<garp>1</garp>

<voiceVlanAccess>1</voiceVlanAccess>

<videoCapability>0</videoCapability>

<autoSelectLineEnable>0</autoSelectLineEnable>

<webAccess>0</webAccess>

</vendorConfig>

<lines>

<line uuid="{e1cd8b3a-c74c-1053-1494-bd06fafd4a90}" index="1">

<label>Desk4</label>

<display>Desk4</display>

<dirn uuid="{e1cd8b3a-c74c-1053-1494-bd06fafd4a90}"></dirn>

<ringSetting>Use System Default</ringSetting>

<consecutiveRingSetting>Use System Default</consecutiveRingSetting>

<e164Mask>1631111001</e164Mask>

<maxNumCalls>4</maxNumCalls>

<busyTrigger>2</busyTrigger>

<mwlPolicy>Use System Policy</mwlPolicy>

</line>

</lines>

<phoneTemplateName>Standard 7965 SIP</phoneTemplateName>

<speeddials></speeddials>

<userLocale>English United States</userLocale>

<networkLocale>United States</networkLocale>

<deviceSecurityMode>Use System Default</deviceSecurityMode>

<idleTimeout>0</idleTimeout>

<services>

<service uuid="{be4d6290-f402-dc20-1717-55510000fcb5}">

<telecasterServiceName>Login/Logout</telecasterServiceName>

<name>Login/Logout</name>

<url>http://10.132.4.2:8080/emapp/EMAppServlet?device=#DEVICENAME#</url>

<urlButtonIndex>0</urlButtonIndex>

<urlLabel>Login/Logout</urlLabel>

<telecasterServiceName>Phone Services</telecasterServiceName>

<name>Phone Services</name>

<url>http://10.120.3.66:8080/bvsmweb/bvsmservices.cgi?device=#DEVICENAME#</url>

<urlButtonIndex>0</urlButtonIndex>

<urlLabel>Phone Services</urlLabel>

</service>

</services>

<softkeyTemplateName>Softkey_Advanced</softkeyTemplateName> <defaultProfileName>ADP001D452CDA84</defaultProfileName> [see Note]

<enableExtensionMobility>true</enableExtensionMobility>

<builtInBridgeStatus>Off</builtInBridgeStatus>

<callInfoPrivacyStatus>Off</callInfoPrivacyStatus>

<ignorePresentationIndicators>false</ignorePresentationIndicators>

<packetCaptureMode>None</packetCaptureMode>

<packetCaptureDuration>0</packetCaptureDuration>


Note The <defaultProfileName> is only executed on Unified CM 5.x clusters, since autogenerated device profiles are not used in Unified CM 6.x


Step 3 Reset the phone (doDeviceReset), for example:

<deviceName>SEP001D452CDA84</deviceName>

<isHardReset>true</isHardReset>


Add End User Transaction

USM invokes the IPPBX driver on the selected Unified CM Cluster to do the following:

Add the user (addUser), for example:

<addUser>

<firstname>FirstName</firstname>

<lastname>LastName</lastname>

<userid>clu1cus1loc1user1</userid>

<password>********</password>

<pin>*****</pin>

<telephoneNumber></telephoneNumber>

<department></department>

</addUser>

Add User Extension Mobility Transaction

USM invokes the IPPBX driver on the selected Unified CM Cluster to do the following:


Step 1 Add a device profile (addDeviceProfile), for example:

<addDeviceProfile>

<name>clu1cus1loc1user1</name>

<product>Cisco 7961</product>

<model>Cisco 7961</model>

<class>Phone</class>

<protocol>SCCP</protocol>

<protocolSide>User</protocolSide>

<devicePoolName>devicepool1</devicePoolName>

<numberOfButtons>6</numberOfButtons>

<phoneTemplateName>Standard 7961 SCCP</phoneTemplateName>

</addDeviceProfile>

Step 2 Add a new line (addLine), for example:

<newLine>

<pattern>1000100111202</pattern>

<description>Line 1000100111202 for a phone</description>

<usage>Device</usage>

<routePartitionName>Site1</routePartitionName>

<callForwardAll>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardAll>

<callForwardBusy>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardBusy>

<callForwardBusyInt>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardBusyInt>

<callForwardNoAnswer>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoAnswer>

<callForwardNoAnswerInt>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoAnswerInt>

<callForwardNoCoverage>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoCoverage>

<callForwardNoCoverageInt>

<callingSearchSpaceName>PSTNIntMobCF1</callingSearchSpaceName>

<destination></destination>

</callForwardNoCoverageInt>

<autoAnswer>Auto Answer Off</autoAnswer>

<networkHoldMOHAudioSourceId></networkHoldMOHAudioSourceId>

<userHoldMOHAudioSourceId></userHoldMOHAudioSourceId>

<shareLineAppearanceCSSName>COS1International24Hour1</shareLineAppearanceCSSName>

<voiceMailProfileName></voiceMailProfileName>

</newLine>

Step 3 Update the created device profile (updateDeviceProfile), for example:

<name>clu1cus1loc1user1</name>

<lines>

<line uuid="{f7829840-69b4-1bf6-13ca-884a93cb2195}" index="1">

<label>1631111202</label>

<display></display>

<dirn uuid="{f7829840-69b4-1bf6-13ca-884a93cb2195}"></dirn>

<ringSetting>Use System Default</ringSetting>

<consecutiveRingSetting>Use System Default</consecutiveRingSetting>

<e164Mask>1631111202</e164Mask>

<maxNumCalls>4</maxNumCalls>

<busyTrigger>2</busyTrigger>

<mwlPolicy>Use System Policy</mwlPolicy>

</line>

</lines>

<phoneTemplateName>Standard 7961 SCCP</phoneTemplateName>

<speeddials></speeddials>

<userLocale>English United States</userLocale>

<services>

<service uuid="{7f7c00ca-3ff5-73b6-60fc-caeac54ac430}">

<telecasterServiceName>Login/Logout</telecasterServiceName>

<name>Login/Logout</name>

<url>http://10.132.4.2:8080/emapp/EMAppServlet?device=#DEVICENAME#</url>

<urlButtonIndex>0</urlButtonIndex>

<urlLabel>Login/Logout</urlLabel>

</service>

<service uuid="{be4d6290-f402-dc20-1717-55510000fcb5}">

<telecasterServiceName>Phone Services</telecasterServiceName>

<name>Phone Services</name>

<url>http://10.120.3.66:8080/bvsmweb/bvsmservices.cgi?device=#DEVICENAME#</url>

<urlButtonIndex>0</urlButtonIndex>

<urlLabel>Phone Services</urlLabel>

</service>

</services>

<softkeyTemplateName>Softkey_Advanced</softkeyTemplateName>

<ignorePresentationIndicators>false</ignorePresentationIndicators>

Step 4 Update the user (updateUser), for example:

<userid>clu1cus1loc1user1</userid>

<phoneProfiles>

<profileName>clu1cus1loc1user1</profileName>

</phoneProfiles>


Configure BO2OT for Customer Transaction

USM invokes the PGW driver and uses the EnableBO2OCT mml script (AddCustomer transaction) of the PGW model worksheet to do the following:

Configure the per-customer Egress Dial Plan 2 #EGRESSCUSTDIALPLAN2# to Mark Incoming OffNet calls.

Example:

;EnableBO2OCT

; 0007 - Per Customer Egress Dial Plan 2

numan-ed:anoa:custgrpid="0007",setname="MarkBnumOffnet",noavalue=4

numan-ed:anoa:custgrpid="0007",setname="MarkBnumOffnet",noavalue=5

Add Overlay Area Codes Transaction

USM invokes the CCM6.1.x drivers and uses the definitions in the AddLocation transaction of the CCM model worksheet to create and configure on the selected CUCM Cluster (Generic HUCS 5.1(B) model).

9 US specific per-location translation Patterns for 10-digit (invoked by the LocationLocalArea-10 model) Local Dialling support: USALocalCalls24Hour, USALocalCLIOCalls24Hour, USALocalCallsStd, USALocalCLIOCallsStd, USALocalCallsExt, USALocalCLIOCallsExt, USALocalCallsWend, USALocalCLIOCallsWend, and USALocalCallsCF