External Phone Number Mask on a CME SCCP Phone (Under DN):
ephone-dn 5 octo-line
number 3001 no-reg
name Jacques Strahp
description +3432143001
External Phone Number Mask on a CME SIP Phone (Under Phone):
voice register pool 1
description +3432143001
!
voice register dn 1
number 3001
name Jacques Strahp
SIP Phone Caveats
- You must bind all SIP media and control messages to a particular interface; preferably, the voice VLAN’s default router. If you do not do this, your SIP phones to sporadically unregister/reregister. Useful command: “voice service voip” | “sip” | “bind all source-interface Vlan 240” and “registrar server”
- If you do not define an NTP reference for your SIP phones, they will use the time from the last SIP message sender. Therefore, make sure to enter “voice register global” | “ntp server X.X.X.X”
- Cisco CME SIP phones cannot negotiate codec like the CME SCCP phones. Therefore, remember to configure “codec g711ulaw” and “dtmf-relay rtp-nte” under each “voice register pool” section.
Intercluster Presence Subscription (CME-to-CME):
Scenario: Extension 5002 at CME HQ, watching Extension 1002 at CME SB.
HQ Configuration:
sip-ua
presence enablepresence
server 10.10.201.1
watcher all
allow subscribeephone 2
blf-speed-dial 1 1002 label "SBPHN2-1002"dial-peer voice 1002 voip
destination-pattern 1…
session protocol sipv2
session target ipv4:10.10.201.1
incoming called-number 5…
dtmf-relay rtp-nte
no vad
SB Configuration:
presence
server 10.10.200.3
watcher all
allow subscribe
sip-ua
presence enabledial-peer voice 5002 voip
destination-pattern 5…
session protocol sipv2
session target ipv4:10.10.200.3
incoming called-number 1…
dtmf-relay rtp-nte
no vad
CUE CLI Command Reference:
- security password expiry days 90
- security pin expiry days 90
- voicemail mailbox owner "SCPHN1" | login pinless subscriber-phone-numbers
- voicemail notification restriction msg-notification
Restrict Inbound International Calls To Single Extension in CME:
This setup is especially useful when the inbound restriction is tied to a particular number. The gut reaction is to attempt to use CoR, but let’s face it…CoR sucks and doesn’t always work the way you’d expect.
voice translation-rule 2
rule 1 reject // type international plan isdnvoice translation-profile 2-IN
translate calling 2dial-peer voice 2 pots
call-block translation-profile incoming 2-IN
call-block disconnect-cause incoming call-reject
incoming called-number 1002
direct-inward-dial
port 0/0/0:23
After-Hours Block Patterns in CME:
Remember, the start time starts at the VERY BEGINNING (i.e. 00:00:00 – no secs); the end time ends at the VERY LATEST (i.e. 23:59:59 – max secs).
In Cisco CME 3.4 and later, call-blocking configuration under telephony-service applies to all SCCP, H.323, SIP, and POTS calls that go through the CME router. All incoming calls to the router, except calls from an exempt phone, are also checked against this after-hours configuration.
after-hours block pattern 1 9011T
after-hours day Sun 12:00 06:59
after-hours day Mon 19:00 06:59
after-hours day Tue 19:00 06:59
after-hours day Wed 19:00 06:59
after-hours day Thu 19:00 06:59
after-hours day Fri 19:00 06:59
after-hours day Sat 13:00 12:00
Basic Gatekeeper Configuration with Default-Tech and Hop-Off
It’s always good to look at gatekeeper configurations, just so you don’t forget!
gatekeeper
zone local US cisco.com 10.10.110.1
zone local SP cisco.com 10.10.110.1
zone prefix US 212* gw-priority 10 HQ-GW
zone prefix US 212* gw-priority 9 SB-GW
zone prefix SP 34*
gw-type-prefix 2# default-technology
gw-type-prefix 617* hopoff US gw ipaddr 10.10.110.2 1720
no shutdown
Basic Gatekeeper CAC for US Zone
gatekeeper
…
bandwidth interzone zone US 32
endpoint resource-threshold
endpoint max-calls h323id HQ-GW 1
no shutdown
Random Notes That Don’t Below Anywhere Else
- One way to limit conference participants is to string ephone-dns together with “no huntstop.” This way, you can set a restriction lower than 8/16 participants, which is the minimum values possible when working with a G.729r8-enabled hardware conference bridge.
- The command “conference admin” gives users the ability to add/drop/list conference participants in CME.
- Verify CME conferencing using:
show ephone-dn conference
show telephony-service conference hardware
CME-to-CUC SCCP Integration
- Add call-forward settings for each user’s extension under “ephone-dn”
- Add voicemail command under “telephony-service”
- Add voicemail pilot under “ephone-dn”. Number should be the voicemail pilot.
- Add DN for mwi under “ephone-dn”. Use “number 5601 secondaey 5602 no-reg both” | “mwi on-off”
- Add voicemail port under “ephone”. Use “vm-device-id” command and make sure it matches what you enter in the CUC port group.
Hello Matthew,
It's an amaizing blog you have here, it sums almost everything.Well but i have a question regarding hopoff GK, while i'm going through in ipexpert lab 9 i found it is configured on the GK (gw-type-prefix 617* hopoff US gw ipaddr 10.10.110.2 1720) ,but have no idea what is it using for?.
thanks in advance