No Music to PSTN using SIP Cube toward ITSP? Using an MTP would resolve this issue, however if using an MTP was not an option, then use the below SIP Profile statement to allow Music on hold to stream toward the PSTN.
Create (or append if you are already using sip-profiles) a sip-profile voice class and add statements.
voice class sip-profiles 1
request REINVITE sdp-header Audio-Attribute modify “inactive” “sendrecv”
request ACK sdp-header Audio-Attribute modify “sendonly” “sendrecv”
response 200 sdp-header Audio-Attribute modify “sendonly” “sendrecv”
Apply the sip-profiles globally or on the Dial-Peer.
** GLOBAL**
Voice service voip
sip
sip-profiles 1
** DIAL-PEER **
Voice-class sip profiles 1
I’ve had similar problems with some ITSPs who don’t pass on the media stream when it is one-way, like MOH where CUCM sets the audio attribute to ‘sendonly’
Rather than mangling this on the CUBE, you can make CUCM do MOH as a two-way stream with “Duplex Streaming Enabled” under Service Parameters -> Cisco CallManager (Active) -> Clusterwide Parameters (Service).
Thank you! This solved our issue with MOH.