I was trying to configure a CME router to stream music on hold to its
e-phones.  The CME router is also the voice gateway to PSTN.

Here are the results:

Scenario #1 Calls between e-phones.  e-phones can hear MOH.

Scenario #2 Calls between e-phone and PSTN phones.  PSTN phones can hear
MOH.

Scenario #3 Calls between e-phone and PSTN phones.  e-phones hear
beep-on-hold (beep-beep-beep).

I was trying to troubleshoot Scenario #3.

Here are the configure highlights:

=========
ip multicast-routing
!
interface vlan502
 description e-phone vlan
 ip address 142.102.66.254 255.255.255.0
 ip pim dense

interface Loopback0
 ip address 142.1.66.254 255.255.255.255

ccm-manager music-on-hold

telephony-service
 ip source-address 142.102.66.254 port 2000
 moh music-on-hold.au
 multicast moh 239.1.1.1 port 16384 route 142.1.66.254 142.102.66.254
=========

Attached are the full router config and debug output.

Any help is appreciated!

Michael
version 12.4
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
card type e1 0 0
logging message-counter syslog
logging buffered 512000
enable secret 5 $1$mwEV$3uqLkfGBScOF9BIOcFFLd1
!
no aaa new-model
clock timezone HKT 8
network-clock-participate wic 0 
!
!
!
dot11 syslog
ip source-route
ip cef
!
!
ip dhcp excluded-address 142.102.66.1 142.102.66.9
ip dhcp excluded-address 142.102.66.31 142.102.66.254
!
ip dhcp pool CME
   network 142.102.66.0 255.255.255.0
   default-router 142.102.66.254 
   option 150 ip 142.102.66.254 
!
!
no ip domain lookup
ip multicast-routing 
no ipv6 cef
!
multilink bundle-name authenticated
!         
!
!
!
isdn switch-type primary-net5
!
voice-card 0
!
!
!
!
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
!
!
!
voice class h323 1
  h225 timeout tcp establish 3
  h225 timeout setup 3
!
!         
!
!
!
!
!
!
!
!
!
voice translation-rule 1
 rule 1 /^.*\(4...\)/ /\1/
!
voice translation-rule 2
 rule 1 /^852\(4...\)/ /\1/
!
voice translation-rule 11
 rule 1 /^4...$/ /2404&/ type any subscriber plan any isdn
!
voice translation-rule 12
 rule 1 /^4...$/ /8522404&/ type any international plan any isdn
!
voice translation-rule 21
 rule 1 // // type any subscriber plan any isdn
!
voice translation-rule 22
 rule 1 // // type any international plan any isdn
!
!
voice translation-profile gk_in
 translate called 1
!
voice translation-profile int_out
 translate calling 12
 translate called 22
!
voice translation-profile loc_out
 translate calling 11
 translate called 21
!
voice translation-profile pstn_in
 translate called 1
!
!
voip-incoming translation-profile gk_in
!
!         
! 
!
!
archive
 log config
  hidekeys
!
!
controller E1 0/0/0
 pri-group timeslots 1-6,16
 description PSTN 0/1/0
!
!
!
!
!
interface Loopback0
 ip address 142.1.66.254 255.255.255.255
!
interface GigabitEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
 media-type rj45
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
 media-type rj45
!
interface FastEthernet0/2/0
 description SW G1/0/22 SiteC SoftPhone
 switchport access vlan 502
!
interface FastEthernet0/2/1
 description SiteC Phone1
 switchport access vlan 602
 switchport voice vlan 502
 spanning-tree portfast
!
interface FastEthernet0/2/2
 description SiteC Phone2
 switchport access vlan 602
 switchport voice vlan 502
 spanning-tree portfast
!
interface FastEthernet0/2/3
 shutdown
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn outgoing display-ie
 no cdp enable
!
interface Serial0/1/0
 no ip address
 encapsulation frame-relay IETF
 ip ospf mtu-ignore
 no fair-queue
 frame-relay lmi-type ansi
!
interface Serial0/1/0.301 point-to-point
 description DLCI 301 to R1 DLCI 103
 ip address 156.201.26.2 255.255.255.0
 frame-relay interface-dlci 301   
!
interface Service-Engine1/0
 no ip address
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan502
 ip address 142.102.66.254 255.255.255.0
 ip pim dense-mode
 h323-gateway voip interface
 h323-gateway voip id GK ipaddr 142.1.64.254 1719
 h323-gateway voip h323-id CME-HKG
 h323-gateway voip tech-prefix 852
 h323-gateway voip bind srcaddr 142.102.66.254
!
interface Vlan602
 ip address 142.202.66.254 255.255.255.0
!         
router ospf 1
 router-id 142.1.66.254
 log-adjacency-changes
 network 0.0.0.0 255.255.255.255 area 0
!
ip forward-protocol nd
ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
tftp-server flash:Desktops/320x212x16/List.xml
tftp-server flash:Desktops/320x212x16/Sunrise.png
tftp-server flash:Desktops/320x212x16/Sunrise-TN.png
!
control-plane
!
!         
!
voice-port 0/0/0:15
 translation-profile incoming pstn_in
!
ccm-manager music-on-hold
!
mgcp fax t38 ecm
!
!
!
dial-peer voice 1 pots
 incoming called-number .
 direct-inward-dial
!
dial-peer voice 999 pots
 destination-pattern 999
 no digit-strip
 port 0/0/0:15
!
dial-peer voice 11 pots
 translation-profile outgoing loc_out
 destination-pattern 9[2-9].......
 port 0/0/0:15
!
dial-peer voice 12 pots
 translation-profile outgoing int_out
 destination-pattern 900T
 port 0/0/0:15
!
dial-peer voice 2301 voip
 destination-pattern [23]...$
 voice-class codec 1
 session target ras
 tech-prefix 1
 dtmf-relay h245-alphanumeric
 no vad
!
dial-peer voice 2302 pots
 preference 1
 destination-pattern 2...$
 port 0/0/0:15
 prefix 1408202
!
dial-peer voice 2303 pots
 preference 1
 destination-pattern 3...$
 port 0/0/0:15
 prefix 1972303
!
!
gateway 
 timer receive-rtp 1200
!
!
!
gatekeeper
 shutdown
!
!
telephony-service
 no auto-reg-ephone
 max-ephones 4
 max-dn 10
 ip source-address 142.102.66.254 port 2000
 time-zone 42
 date-format dd-mm-yy
 max-conferences 12 gain -6
 moh music-on-hold.au
 multicast moh 239.1.1.1 port 16384 route 142.1.66.254 142.102.66.254
 transfer-system full-consult
 create cnf-files version-stamp 7960 Mar 17 2011 06:04:22
!
!
ephone-dn  1  octo-line
 number 4001 no-reg primary
 description +85224044001
 name SC Phone1
!
!
ephone-dn  2  octo-line
 number 4002 no-reg primary
 description +85224044002
 name SC Phone2
!
!
ephone-dn  3  octo-line
 number 4003 no-reg primary
 huntstop channel 5
!
!
ephone-dn  8
 number 4008 no-reg primary
 description +85224044008
 name SC CIPC
!
!
ephone  1
 privacy off
 privacy-button
 device-security-mode none
 mac-address 001D.45B6.40A1
 busy-trigger-per-button 2
 type 7965
 button  1:1 2:3
!
!
!
ephone  2
 privacy off
 device-security-mode none
 mac-address 0026.CBBE.BC9C
 busy-trigger-per-button 4
 type 7965
 button  1:2 2:3
!         
!
!
ephone  8
 device-security-mode none
 mac-address 1122.3344.5566
 type CIPC
 button  1:8
!
!
!
line con 0
 exec-timeout 0 0
line aux 0
line 66
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output all
line vty 0 4
 password cisco
 login
 length 0 
!
scheduler allocate 20000 1000
ntp update-calendar
ntp server 157.26.1.253
end
R3#sh ip mul int
Vlan502 is up, line protocol is up
  Internet address is 142.102.66.254/24
  Multicast routing: enabled
  Multicast switching: fast
  Multicast packets in/out: 0/0
  Multicast TTL threshold: 0
  Multicast Tagswitching: disabled



R3#sh ephone sum

hairpin_block:
ephone-1[0] Mac:001D.45B6.40A1 TCP socket:[2] activeLine:0 whisperLine:0 
REGISTERED
mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 
reset_sent:0 debug:0 privacy:0 primary_dn: 1*
IP:142.102.66.11 7965  keepalive 49   music 0  1:1 2:3 
privacy button is enabled

ephone-2[1] Mac:0026.CBBE.BC9C TCP socket:[1] activeLine:0 whisperLine:0 
REGISTERED
mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 
reset_sent:0 debug:0 privacy:0 primary_dn: 2*
IP:142.102.66.10 7965  keepalive 50   music 0  1:2 2:3 

ephone-8[2] Mac:1122.3344.5566 TCP socket:[-1] activeLine:0 whisperLine:0 
UNREGISTERED
mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 
reset_sent:0 debug:0  primary_dn: 8*
IP:0.0.0.0 Unknown 0  keepalive 0   music 0  

Max 4, Registered 2, Unregistered 1, Deceased 0 High Water Mark 5, Sockets 2
ephone_send_packet process switched 0
          

Max Conferences 12 with 0 active (12 allowed)
Skinny Music On Hold Status
Active MOH clients 0 (max 830), Media Clients 0, B-ACD Clients 0
File music-on-hold.au type AU Media_Payload_G711Ulaw64k  160 bytes
Moh multicast on 239.1.1.1 port 16384 via 142.1.66.254
via 142.102.66.254


########## PSTN phone hears music #########

Mar 20 22:16:02.640 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:02.640 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 22:16:07.760 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:07.760 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 22:16:12.180 HKT: %ISDN-6-CONNECT: Interface Serial0/0/0:0 is now 
connected to 911 N/A
Mar 20 09:16:12.178 CDT: %ISDN-6-CONNECT: Interface Serial0/1/0:0 is now 
connected to 24044001 N/A
Mar 20 22:16:12.876 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:12.876 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 22:16:13.780 HKT: Added DN 1 chan 1 to MOH in position 0 with 1 clients
Mar 20 22:16:13.780 HKT: ephone_hold_resume: secured dn=1 chan=1 hold=1 
callID=31
Mar 20 22:16:17.616 HKT: ifs_read flash:music-on-hold.au end of file at 494581 
read 1940 = 496521
Mar 20 22:16:17.620 HKT: moh tail fill from 24 at 0xC354CBC8 length 6060
Mar 20 22:16:18.000 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:18.000 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 22:16:23.120 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:23.120 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 22:16:27.792 HKT: %ISDN-6-DISCONNECT: Interface Serial0/0/0:0  
disconnected from 911 , call lasted 15 seconds
Mar 20 09:16:27.786 CDT: %ISDN-6-DISCONNECT: Interface Serial0/1/0:0  
disconnected from 24044001 , call lasted 15 seconds
Mar 20 22:16:27.796 HKT: Removed DN 1 from MOH 0 clients at position 0
Mar 20 22:16:28.228 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:28.228 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP








########## CME e-phone hears beep on hold #########


R3#
Mar 20 22:16:38.484 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:38.484 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 09:16:42.818 CDT: %ISDN-6-CONNECT: Interface Serial0/1/0:0 is now 
connected to 24044001 N/A
Mar 20 22:16:42.824 HKT: %ISDN-6-CONNECT: Interface Serial0/0/0:0 is now 
connected to 911 N/A
Mar 20 22:16:43.604 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:43.604 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 22:16:48.709 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:48.709 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 22:16:53.837 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:53.837 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 22:16:58.957 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:16:58.957 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 22:17:04.077 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:17:04.077 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
Mar 20 09:17:05.758 CDT: %ISDN-6-DISCONNECT: Interface Serial0/1/0:0  
disconnected from 24044001 , call lasted 22 seconds
Mar 20 22:17:05.757 HKT: %ISDN-6-DISCONNECT: Interface Serial0/0/0:0  
disconnected from 911 , call lasted 22 seconds
Mar 20 22:17:09.197 HKT: MoH route If Loopback0 46 142.1.66.254 via 142.1.66.254
Mar 20 22:17:09.197 HKT: MoH route If Vlan502 ETHERNET 142.102.66.254 via ARP
R3#

_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to