After quite a bit of tinkering we managed to get a multicast dial-peer working so that a call into a specific DN is then sent out to a specified multicast group. However there's a few moving parts to be considered, apart from the obvious enabling of multicast end to end between source & destinations. The Cisco Configure Land Mobile Radio (LMR) / Hoot and Holler Over IP on IOS-XE Voice Gateways document is very useful & includes various troubleshooting steps.
Summary of Steps
An analogue port has to be used to source the audio, attempting to use a SIP dial-peer to connect to the multicast dial-peer results in a 404 back from the gateway & a voice IEC syslog messsage about incompatible protocols:
%VOICE_IEC-3-GW: C SCRIPTS: Internal Error (Incompatible protocols): IEC=1.1.47.11.23.0 on callID
To get around this an FXS port was connected back to back with an FXO port, which is configured for PLAR to automatically dial the multicast dial-peer. So the call flow is: DN associated with FXS -> FXO -> multicast.
The multicast dial-peer must be set to a single specific CODEC, because there's no call control to negotiate CODECs.
A Vif interface is required with a /31 or larger mask to source the multicast from. Otherwise the source IP address will end up as nonsense like 0.0.0.1 or 255.255.255.255, resulting in downstream routers dropping the multicast traffic due to it failing the RPF check. The source IP address is actually the Vif interface IP address minus 1, e.g. .2 interface IP = .1 multicast source IP. It does appear to loop around so .1 interface IP = .255 multicast source IP with a /24 subnet mask.
On 4300/4400 series routers ip pim sparse-mode must be enabled on the Service-Engine interface that corresponds to the voice-port, e.g. voice-port 0/1/0 = service-engine0/1/0. Otherwise the audio won't be forwarded over the router's backplane & then out the egress interface.
4300/4400 series routers also have a bug CSCvk02072 that means the multicast RTP stream has DSCP BE (0) instead of EF (46). This can be re-marked via a suitable policy-map applied to the gateway's egress interface.
Lastly at least on IOS XE 16.3.5, for show rtp connection detail & show call active voice brief the transmit packet counters never increment, staying at zero & giving the impression that the audio isn't being sent when it actually is.
Config Snipppets
ip multicast-routing
!
ip access-list extended VOICE-RTP
permit udp any host 239.1.1.1 range 8000 48198
!
class-map match-any VOICE
match access-group name VOICE-RTP
!
policy-map MCAST-QOS
class VOICE
set dscp ef
!
interface Service-Engine0/1/0
description voice-port 0/1/0 backplane
ip pim sparse-mode
!
interface GigabitEthernet0/0/0
description Egress Interface
ip address 192.168.1.1 255.255.255.0
ip pim sparse-mode
service-policy output MCAST-QOS
!
interface Vif1
description Multicast Source Interface
ip address 172.16.0.255 255.255.255.254
ip pim sparse-mode
!
voice-port 0/1/0
connection plar 12345
!
dial-peer voice 100 voip
destination-pattern 12345
session protocol multicast
session target ipv4:239.1.1.1:16384
codec g711ulaw
vad aggressive
!
dial-peer voice 200 pots
incoming called-number .T
direct-inward-dial
port 0/1/0
Showing posts with label multicast. Show all posts
Showing posts with label multicast. Show all posts
Wednesday, 27 February 2019
Adventures With Multicast Dial-peers
Tuesday, 4 June 2013
Troubleshooting Lack of Music on Hold
A quick run down of common causes for not receiving music on hold, symptoms include tone on hold or silence.
Multicast MoH
Multicast routing must in place across the entire path to the endpoint receiving the MoH stream, the MoH server in CallManager must set the TTL value to a high enough value to reach the endpoint, the default is 2 hops.
If the endpoint is connecting via the PSTN, the PSTN gateway must have the "ccm-manager music-on-hold" command configured to stream multicast MoH to the PSTN interfaces.
MoH Settings
No MoH configured for the device putting the endpoint on hold, or invalid MoH source configured.
Media Resources
The MoH server selected by the endpoint's MRGL lacks the MoH source file, as these must be uploaded to each server separately.
Unicast MoH
The location that the endpoint and/or MoH server reside in has reached the maximum specified bandwidth, therefore the MoH stream is rejected by call admission control (CAC). Note that Multicast MoH is exempt from CAC.
Region
The region configuration for the endpoint and MoH server selected a CODEC that MoH isn't transmitted in. By default MoH is only sent in G711 format, you must enable G729 under the IP Voice App Streaming service parameters.
Access Lists
There must be no access lists that block the multicast MoH IP address (e.g. 239.1.1.1), or traffic from the MoH server's IP address in the case of unicast MoH.
Multicast MoH
Multicast routing must in place across the entire path to the endpoint receiving the MoH stream, the MoH server in CallManager must set the TTL value to a high enough value to reach the endpoint, the default is 2 hops.
If the endpoint is connecting via the PSTN, the PSTN gateway must have the "ccm-manager music-on-hold" command configured to stream multicast MoH to the PSTN interfaces.
MoH Settings
No MoH configured for the device putting the endpoint on hold, or invalid MoH source configured.
Media Resources
The MoH server selected by the endpoint's MRGL lacks the MoH source file, as these must be uploaded to each server separately.
Unicast MoH
The location that the endpoint and/or MoH server reside in has reached the maximum specified bandwidth, therefore the MoH stream is rejected by call admission control (CAC). Note that Multicast MoH is exempt from CAC.
Region
The region configuration for the endpoint and MoH server selected a CODEC that MoH isn't transmitted in. By default MoH is only sent in G711 format, you must enable G729 under the IP Voice App Streaming service parameters.
Access Lists
There must be no access lists that block the multicast MoH IP address (e.g. 239.1.1.1), or traffic from the MoH server's IP address in the case of unicast MoH.
Subscribe to:
Posts (Atom)