====== Mobile Voice Access ======
* MVA allows users to call into the enterprise from any phone and place outgoing calls that appear to come from their office phone
* Originate enterprise calls from any remote destination by:
* Dialing to the enterprise MVA number
* Entering ID (if required) and PIN
* Entering destination number to be called
* Called party sees the office phone number as the calling party
* Switch active calls between office and remote phone
{{cucm-mva1.png|}}
===== Requirements =====
* H.323 or SIP gateway providing Mobile Voice Access IVR application
* Out-of-band DTMF
* Remote destination must be external devices
===== CSS =====
* When calling into MVA, the CSS on the line and the CSS on the Remote Destination Profile are combined to determine the effective user CSS.
* New in CUCMv7, there is a new CUCM service paraemter that determines the CSS for MVA calls: **Inbound CSS for Remote Destination**
* This can be set to the trunk or gateway inbound CSS (Default)
* Or the Remote Destination Profile + Line CSS (same behaviour in CUCMv6 handling).
{{cucm-mobc3.png|}}
===== Configuration =====
==== CUCM MVA Service ====
* Activate the Cisco Unified Mobile Voice Access Service
* Under **CCMService > Tools > Service Activation**
{{cucm-mva4.png|}}
==== CUCM Service Parameters ====
* Under **System > Service Parameters > Cisco CallManager**
* Enable MVA globally
* Enable and configure enterprise feature access
* Allow remote device to use various code to trigger various call function such as hold, transfer, resume --- etc.
* Configure MVA number 2999, this is what get pass to the VXML script on the router.
{{cucm-mva5.png|}}
==== CUCM End User ====
* Under **User Management > User**
* Enable MVA per end user
{{cucm-mva6.png|}}
==== CUCM MVA Media Resource ====
* Under **Media Resource > Mobile Voice Access**
* Configure MVA media resource
* The mobile voice access directory number must match what was configured on the router
* Locale - language setting
{{cucm-mva7.png|}}
==== IOS MVA VoiceXML ====
* Configure MVA VoiceXML application at Cisco IOS gateway
* Configure MVA application
application
service mva http://:8080/ccmivr/pages/IVRMainpage.vxml
* Incoming POTS dial peer to match the MVA media resource setting on CUCM
dial-peer voice 29991 pots
service mva
incoming called-number 2999
direct-inward-dial
* Outgoing voip dial peer to the MVA VXML number on CUCM
* Must include DTMF relay
* Must disable VAD
dial-peer voice 29992 voip
destination-pattern 2999
session target ipv4:
dtmf-relay h245 alphanumeric
codec g711ulaw
no vad
* (Optional) Translation pattern to strip the full E.164 number to the short MVA directory number
voice translation-rule 1
rule 1 /.*5552\(...$\)/ /2\1/
!
voice translation-profile pstn-in
translate called 1
!
voice-port 0/0/0:23
translation-profile incoming pstn-in
* PSTN dial peer for incoming and outgoing PSTN call
dial-peer voice 1 pots
destination-pattern 9T
incoming called-number 2...
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 2 voip
destination-pattern 2...
session target ipv4:
incoming called-number 9T
codec g711ulaw