RTPMRx URI Works in CUCM 6.13; Broken in CUCM 7.15?

Version 1
    This document was generated from CDN thread

    Created by: Hirotake Yamamoto on 22-02-2012 02:36:19 PM
    Hello!
     
    I just upgraded our CUCM cluster from 6.13 to 7.15. In our previous CUCM 6.13, we were using phone services to allow users to receive and play multicast audio streams on the phones (for TV station audio in our case). Users could simply press the SERVICES button, where they'd find a list of the audio streams. After selecting one from the list, the phone would automatically go off-hook on speakerphone (with mute) and play that multicast audio stream through the speaker.
     
    Now, after the upgrade to CUCM 7.15, those same services no longer work. Now, after pressing the SERVICES button and selecting one of the audio streams listed, the phone goes into a different sub-menu screen with just the one stream listed and a message at the bottom of the screen that simply continues to state "Select Service...". There are no softkeys listed at all and the only way to get out of this window is to press the SERVICES button. During all these steps, there is no longer any attempt made by the phone to go off hook and tap into the multicast stream.
     
    For reference, here is an example of how one of our services is defined:
     
    SERVICE NAME:  CNN (name of the tv station)
    SERVICE DESCRIPTION:  CNN
    SERVICE URL:  RTPMRx:A.A.A.A:BBBBB:30  (where A.A.A.A is the multicast IP from which to receive the stream; BBBBB is the multicast UDP port number; 30 is the optional volume percentage setting)
     
    I worked with TAC on this issue, but unfortunately, they state that these URIs are out of scope for normal TAC support and that I should come here to the Deveoper Community for support. I'm hoping one of you can help!
     
    Questions I've been asking myself as to theorize what may be going on: Is the RTPMRx URI simply broken in this newer CUCM release? or is it missing? Maybe the syntax of the SERVICE URL should be different - if so, what should it be? Maybe the RTPMRx URI resides somewhere different on the CUCM server and can't be found and I need to specify a path to the URI or something like that in the SERVICE URL?
     
    Thanks in advance for any help!
     
    Best Regards, 
     
    -Hiro

    Subject: RE: RTPMRx URI Works in CUCM 6.13; Broken in CUCM 7.15?
    Replied by: David Staudt on 22-02-2012 04:19:48 PM
    It's not often I see something new with XSI, but this one of them
     
    It is not the design intent to be able to use RTP URIs as the URL for the service itself.  It's pretty amazing that it worked at all, and doesn't surprise me that it may not work in later versions.
     
    The URIs should be used in the context of one of the IP Phone Services XML objects.  Probably the 'reference' architecture would be to create the service with a URL pointing to a web server, which web server returns an object like CiscoIPPhoneText.  You can use a Refresh: header to then have the phone execute the RTP URI:
     
    <pre><code>HTTP/1.x 200 OK
    ...
    Refresh: 1;url=RTPMRx:xxx:yyy:30</code></pre>
    <CiscoIPPhoneText>
      <Text>You are now listening to CNN</Text>
      <SoftKeyItem>
        <Name>Mute</Name>
        <URL>RTPMRx:Stop</Name>
        <Position>1</Position>
      </SoftKeyItem>
      <SoftKeyItem>
        <Name>Play</Name>
        <URL>RTPMRx:xxx:yyy:30</Name>
        <Position>2</Position>
      </SoftKeyItem>
      <SoftKeyItem>
        <Name>Exit</Name>
        <URL>Init:Services</Name>
        <Position>1</Position>
      </SoftKeyItem>
    </CiscoIPPhoneText>
     
     

    Subject: RE: RTPMRx URI Works in CUCM 6.13; Broken in CUCM 7.15?
    Replied by: Hirotake Yamamoto on 22-02-2012 04:49:52 PM
    Hello David!

    Thanks so much for your helpful response! Not being a developer myself, I didn't realize that the URIs can't be used alone and that it never should have even worked - I guess we got very lucky in CUCM 6.13!

    Thanks for your sample code - very helpful! I'm going to run it by one of my internal developers who can probably make more sense of it than myself and hope he can get it to work. I'll keep you posted on how things go...

    Thanks again!

    Hiro

    Subject: RE: RTPMRx URI Works in CUCM 6.13; Broken in CUCM 7.15?
    Replied by: Hirotake Yamamoto on 05-03-2012 09:02:36 AM
    Hello again,

    Thanks a million David - It worked! Below is a sample of the final code we used in case it helps anyone else:

    Best Regards,

    Hiro

    *****

    <CiscoIPPhoneText>
      <Text>CNN Audio Feed</Text>
      <SoftKeyItem>
        <Name>Play</Name>
        <URL>RTPMRx:A.A.A.A:BBBBB:30</URL>
        <Position>1</Position>
      </SoftKeyItem>
      <SoftKeyItem>
        <Name>Stop</Name>
        <URL>RTPRx:Stop</URL>
        <Position>2</Position>
      </SoftKeyItem>
      <SoftKeyItem>
        <Name>Exit</Name>
        <URL>Init:Services</URL>
        <Position>3</Position>
      </SoftKeyItem>
    </CiscoIPPhoneText>