Patent ID: 8611338

Claim:
A method of caching media for use in a telephony applications comprising: at a call router, generating a media request initiated by a telephony application session; sending the media request to a media layer using HTTP communication protocol wherein the media request includes text to be converted to speech in a HTTP message; wherein the media layer performs the following steps: checking in a cache for a telephony compatible media resource specified by the media request and identified by a persistent Universal Resource Identifier (URI), wherein the persistent URI has embedded media parameters that uniquely identify contents of the media resource; if a telephony compatible media resource is identified in the cache by the persistent URI, forwarding the cached media resource to the call router; if a telephony compatible media resource is not identified in the cache by the persistent URI, processing the media request at a media processing server to generate a telephony compatible media resource; storing the generated media in the cache as a telephony compatible media resource specified by the persistent URI; and forwarding the generated media to the call router; wherein processing the media request at a media processing server includes forwarding the media request to a Text-To-Speech server; wherein storing the generated media in the cache includes caching speech audio generated by the Text-To-Speech server according to cache directives; and wherein forwarding the generated media to the call router includes returning the speech audio to the call router.