/*
 *Auto-Generated by configure (Do not change)
 */

#pragma once
#if defined(CS_EXPERIMENTAL_XML) && defined(HAVE_LIBEXSLT_EXSLT_H)
static struct fallback_stylesheet {
	const char *name;
	const char *xsl;
} fallback_stylesheets[] = {
	{"confinvite", "<?xml version=\"1.0\" encoding=\"UTF-8\"?><xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:sccp=\"http://chan-sccp.net\" exclude-result-prefixes=\"sccp\"> <xsl:include href=\"./lib/translate.xsl\"/> <xsl:include href=\"./lib/error.xsl\"/><xsl:template match=\"/device\"><CiscoIPPhoneInput><xsl:if test=\"protocolversion &gt; 15\"><xsl:attribute name=\"appId\"><xsl:value-of select=\"conference/appId\"/></xsl:attribute></xsl:if><Title><xsl:call-template name=\"translate\"><xsl:with-param name=\"key\" select=\"'Conference'\"/></xsl:call-template><xsl:text> </xsl:text><xsl:value-of select=\"conference/id\"/></Title><Prompt><xsl:call-template name=\"translate\"><xsl:with-param name=\"key\" select=\"'Enter Phone# to Invite'\"/></xsl:call-template></Prompt><URL><xsl:value-of select=\"server_url\"/>?handler=<xsl:value-of select=\"handler\"/>&amp;<xsl:value-of select=\"uri\"/>&amp;action=PROCESS_INVITE</URL><xsl:apply-templates select=\"conference\"/></CiscoIPPhoneInput></xsl:template><xsl:template match=\"conference\"><InputItem><DisplayName><xsl:call-template name=\"translate\"><xsl:with-param name=\"key\" select=\"'Phone Number'\"/></xsl:call-template></DisplayName><QueryStringParam>NUMBER</QueryStringParam><InputFlags>T</InputFlags></InputItem><InputItem><DisplayName><xsl:call-template name=\"translate\"><xsl:with-param name=\"key\" select=\"'Name'\"/></xsl:call-template></DisplayName><QueryStringParam>NAME</QueryStringParam><InputFlags>T</InputFlags></InputItem></xsl:template></xsl:stylesheet>"},
	{"conflist", "<?xml version=\"1.0\" encoding=\"UTF-8\"?><xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:sccp=\"http://chan-sccp.net\" exclude-result-prefixes=\"sccp\"> <xsl:include href=\"./lib/translate.xsl\"/> <xsl:include href=\"./lib/error.xsl\"/> <xsl:template match=\"/device\"> <xsl:choose> <xsl:when test=\"protocolversion &gt; 15\"> <CiscoIPPhoneIconFileMenu> <xsl:attribute name=\"appId\"> <xsl:value-of select=\"conference/appId\"/> </xsl:attribute> <xsl:choose> <xsl:when test=\"conference/isLocked = 1\"> <Title IconIndex=\"5\"> <xsl:call-template name=\"translate\"> <xsl:with-param name=\"key\" select=\"'Conference'\"/> </xsl:call-template> <xsl:text> </xsl:text><xsl:value-of select=\"conference/id\"/> </Title> </xsl:when> <xsl:otherwise> <Title IconIndex=\"4\"> <xsl:call-template name=\"translate\"> <xsl:with-param name=\"key\" select=\"'Conference'\"/> </xsl:call-template> <xsl:text> </xsl:text><xsl:value-of select=\"conference/id\"/> </Title> </xsl:otherwise> </xsl:choose> <xsl:apply-templates select=\"conference\"/> </CiscoIPPhoneIconFileMenu> </xsl:when> <xsl:otherwise> <CiscoIPPhoneIconMenu> <Title> <xsl:call-template name=\"translate\"> <xsl:with-param name=\"key\" select=\"'Conference'\"/> </xsl:call-template> <xsl:text> </xsl:text><xsl:value-of select=\"conference/id\"/> </Title> <xsl:apply-templates select=\"conference\"/> </CiscoIPPhoneIconMenu> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match=\"conference\"> <xsl:variable name=\"protocolversion\"> <xsl:value-of select=\"protocolversion\"/> </xsl:variable> <xsl:for-each select=\"participants/participant\"> <MenuItem> <xsl:choose> <xsl:when test=\"isModerator = 1\"> <xsl:choose> <xsl:when test=\"isMuted = 0\"> <IconIndex>0</IconIndex> </xsl:when> <xsl:otherwise> <IconIndex>1</IconIndex> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test=\"isMuted = 0\"> <IconIndex>2</IconIndex> </xsl:when> <xsl:otherwise> <IconIndex>3</IconIndex> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> <Name><xsl:value-of select=\"id\"/>: <xsl:value-of select=\"cid_name\"/> (<xsl:value-of select=\"extension\"/>)</Name> <!--<URL>UserCallData:<xsl:value-of select=\"../../appId\"/>:<xsl:value-of select=\"lineInstance\"/>:<xsl:value-of select=\"callReference\"/>:<xsl:value-of select=\"../../transactionId\"/>:<xsl:value-of select=\"../../id\"/></URL>--> <URL>QueryStringParam:partId=<xsl:value-of select=\"id\"/></URL> </MenuItem> </xsl:for-each> <SoftKeyItem> <Name> <xsl:call-template name=\"translate\"> <xsl:with-param name=\"key\" select=\"'EndConf'\"/> </xsl:call-template> </Name> <Position>1</Position> <URL><xsl:value-of select=\"../server_url\"/>?handler=<xsl:value-of select=\"../handler\"/>&amp;<xsl:value-of select=\"../uri\"/>&amp;transactionId=<xsl:value-of select=\"transactionId\"/>&amp;action=ENDCONF</URL> </SoftKeyItem> <SoftKeyItem> <Name> <xsl:call-template name=\"translate\"> <xsl:with-param name=\"key\" select=\"'Mute'\"/> </xsl:call-template> </Name> <Position>2</Position> <URL><xsl:value-of select=\"../server_url\"/>?handler=<xsl:value-of select=\"../handler\"/>&amp;<xsl:value-of select=\"../uri\"/>&amp;transactionId=<xsl:value-of select=\"transactionId\"/>&amp;action=MUTE</URL> </SoftKeyItem> <SoftKeyItem> <Name> <xsl:call-template name=\"translate\"> <xsl:with-param name=\"key\" select=\"'Kick'\"/> </xsl:call-template> </Name> <Position>3</Position> <URL><xsl:value-of select=\"../server_url\"/>?handler=<xsl:value-of select=\"../handler\"/>&amp;<xsl:value-of select=\"../uri\"/>&amp;transactionId=<xsl:value-of select=\"transactionId\"/>&amp;action=KICK</URL> </SoftKeyItem> <SoftKeyItem> <Name> <xsl:call-template name=\"translate\"> <xsl:with-param name=\"key\" select=\"'Exit'\"/> </xsl:call-template> </Name> <Position>4</Position> <URL>SoftKey:Exit</URL> </SoftKeyItem> <SoftKeyItem> <Name> <xsl:call-template name=\"translate\"> <xsl:with-param name=\"key\" select=\"'Moderate'\"/> </xsl:call-template> </Name> <Position>5</Position> <URL><xsl:value-of select=\"../server_url\"/>?handler=<xsl:value-of select=\"../handler\"/>&amp;<xsl:value-of select=\"../uri\"/>&amp;transactionId=<xsl:value-of select=\"transactionId\"/>&amp;action=MODERATE</URL> </SoftKeyItem> <SoftKeyItem> <Name> <xsl:call-template name=\"translate\"> <xsl:with-param name=\"key\" select=\"'Invite'\"/> </xsl:call-template> </Name> <Position>6</Position> <URL><xsl:value-of select=\"../server_url\"/>?handler=confinvite&amp;<xsl:value-of select=\"../uri\"/>&amp;transactionId=<xsl:value-of select=\"transactionId\"/>&amp;action=INVITE</URL> </SoftKeyItem> <xsl:choose> <xsl:when test=\"../protocolversion &gt; 15\"> <IconItem> <Index>0</Index> <URL>Resource:Icon.Connected</URL> </IconItem> <IconItem> <Index>1</Index> <URL>Resource:AnimatedIcon.Hold</URL> </IconItem> <IconItem> <Index>2</Index> <URL>Resource:AnimatedIcon.StreamRxTx</URL> </IconItem> <IconItem> <Index>3</Index> <URL>Resource:AnimatedIcon.Hold</URL> </IconItem> <IconItem> <Index>4</Index> <URL>Resource:Icon.Speaker</URL> </IconItem> <IconItem> <Index>5</Index> <URL>Resource:Icon.SecureCall</URL> </IconItem> </xsl:when> <xsl:otherwise> <IconItem> <Index>0</Index> <Height>10</Height> <Width>16</Width> <Depth>2</Depth> <Data>000F0000C03F3000C03FF000C03FF003000FF00FFCFFF30FFCFFF303CC3FF300CC3F330000000000</Data> </IconItem> <IconItem> <Index>1</Index> <Height>10</Height> <Width>16</Width> <Depth>2</Depth> <Data>000F0000C03FF03CC03FF03CC03FF03C000FF03CFCFFF33CFCFFF33CCC3FF33CCC3FF33C00000000</Data> </IconItem> <IconItem> <Index>2</Index> <Height>10</Height> <Width>16</Width> <Depth>2</Depth> <Data>000F0000C0303000C030F000C030F003000FF00FFCF0F30F0C00F303CC30F300CC30330000000000</Data> </IconItem> <IconItem> <Index>3</Index> <Height>10</Height> <Width>16</Width> <Depth>2</Depth> <Data>000F0000C030F03CC030F03CC030F03C000FF03CFCF0F33C0C00F33CCC30F33CCC30F33C00000000</Data> </IconItem> </xsl:otherwise> </xsl:choose> </xsl:template></xsl:stylesheet>"},
	{"parkedcalls", "<?xml version=\"1.0\" encoding=\"UTF-8\"?><xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:sccp=\"http://chan-sccp.net\" exclude-result-prefixes=\"sccp\"> <xsl:include href=\"./lib/translate.xsl\"/> <xsl:include href=\"./lib/error.xsl\"/> <xsl:template match=\"/\"> <CiscoIPPhoneDirectory> <xsl:choose> <xsl:when test=\"not(//response/generic[@event='ParkedCall'])\"> <Title><xsl:call-template name=\"translate\"><xsl:with-param name=\"key\" select=\"'No Parked Calls'\"/></xsl:call-template></Title> <Prompt><xsl:call-template name=\"translate\"><xsl:with-param name=\"key\" select=\"'There are no parked calls at this moment'\"/></xsl:call-template>.</Prompt> </xsl:when> <xsl:otherwise> <Title><xsl:call-template name=\"translate\"><xsl:with-param name=\"key\" select=\"'Parked Calls'\"/></xsl:call-template></Title> <Prompt><xsl:call-template name=\"translate\"><xsl:with-param name=\"key\" select=\"'Please Choose one of the parked Calls'\"/></xsl:call-template></Prompt> <xsl:apply-templates select=\"//response/generic[@event='ParkedCall']\"/> </xsl:otherwise> </xsl:choose> </CiscoIPPhoneDirectory> </xsl:template> <xsl:template match=\"//response/generic[@event='ParkedCall']\"> <DirectoryEntry> <Name><xsl:value-of select=\"@calleridname\"/> (<xsl:value-of select=\"@calleridnum\"/>) by <xsl:value-of select=\"@connectedlinename\"/></Name> <Telephone><xsl:value-of select=\"@exten\"/></Telephone> <!--<xsl:value-of select=\"@channel\"/>--> </DirectoryEntry> </xsl:template></xsl:stylesheet>"},
	{"voicemail", "<?xml version=\"1.0\" encoding=\"UTF-8\"?><xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:sccp=\"http://chan-sccp.net\" exclude-result-prefixes=\"sccp\"> <xsl:include href=\"./lib/translate.xsl\"/> <xsl:include href=\"./lib/error.xsl\"/> <xsl:template match=\"/voicemails\"> <CiscoIPPhoneDirectory><Title><xsl:call-template name=\"translate\"><xsl:with-param name=\"key\" select=\"'Parked Calls'\"/></xsl:call-template></Title><!--<xsl:for-each select=\"folders/folder\"><CiscoIPDirectoryEntry><URL>https://1234/<xsl:value-of select=\"@name\"/>/</URL></CiscoIPDirectoryEntry></xsl:for-each>--><xsl:apply-templates select=\"folders/folder\"/> </CiscoIPPhoneDirectory> </xsl:template> <xsl:template match=\"folders/folder\"><CiscoIPDirectoryEntry><URL>https://1234/<xsl:value-of select=\"@name\"/>/</URL></CiscoIPDirectoryEntry> </xsl:template> <xsl:template match=\"/msgs\"> <CiscoIPPhoneDirectory><Title>Folder: $foldername</Title><xsl:for-each select=\"msg\"><CiscoIPDirectoryEntry><Title>Message Entry</Title><URL>https://1234/<xsl:value-of select=\"@name\"/>/</URL></CiscoIPDirectoryEntry></xsl:for-each> </CiscoIPPhoneDirectory> </xsl:template></xsl:stylesheet>"},
};
#endif
