diff options
author | Matthew Jordan <mjordan@digium.com> | 2013-12-11 12:31:57 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2013-12-11 12:31:57 +0000 |
commit | f46b30bd36457cf349ef18ee854cce9f4dd0daaf (patch) | |
tree | 46e9b42fb083340e40c9be2249ddbb94e6faf346 /doc/snapshots.xslt | |
parent | 5b4aab75ef39ee79d04bd8c48516a7d87d319a78 (diff) |
func_pjsip_endpoint: Add PJSIP_ENDPOINT function for querying endpoint details
This patch adds a new function, PJSIP_ENDPOINT, which lets the dialplan query,
for any endpoint, any property configured on an endpoint. This function is a
companion to the CHANNEL function, which can be used to extract the endpoint
name for a channel.
Review: https://reviewboard.asterisk.org/r/3035
........
Merged revisions 403616 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'doc/snapshots.xslt')
-rw-r--r-- | doc/snapshots.xslt | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/doc/snapshots.xslt b/doc/snapshots.xslt deleted file mode 100644 index 17114cbcd..000000000 --- a/doc/snapshots.xslt +++ /dev/null @@ -1,115 +0,0 @@ -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - <xsl:output omit-xml-declaration="yes" indent="yes"/> - - <xsl:param name="pNewType" select="'myNewType'"/> - - <xsl:template match="node()|@*"> - <xsl:copy> - <xsl:apply-templates select="node()|@*"/> - </xsl:copy> - </xsl:template> - - <xsl:template match="channel_snapshot"> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'Channel')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'ChannelState')"/> - </xsl:attribute> - <para>A numeric code for the channel's current state, related to <xsl:value-of select="concat(@prefix,'ChannelStateDesc')"/></para> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'ChannelStateDesc')"/> - </xsl:attribute> - <enumlist> - <enum name="Down"/> - <enum name="Rsrvd"/> - <enum name="OffHook"/> - <enum name="Dialing"/> - <enum name="Ring"/> - <enum name="Ringing"/> - <enum name="Up"/> - <enum name="Busy"/> - <enum name="Dialing Offhook"/> - <enum name="Pre-ring"/> - <enum name="Unknown"/> - </enumlist> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'CallerIDNum')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'CallerIDName')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'ConnectedLineNum')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'ConnectedLineName')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'AccountCode')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'Context')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'Exten')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'Priority')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'Uniqueid')"/> - </xsl:attribute> - </xsl:element> - </xsl:template> - - <xsl:template match="bridge_snapshot"> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'BridgeUniqueid')"/> - </xsl:attribute> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'BridgeType')"/> - </xsl:attribute> - <para>The type of bridge</para> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'BridgeTechnology')"/> - </xsl:attribute> - <para>Technology in use by the bridge</para> - </xsl:element> - <xsl:element name="parameter"> - <xsl:attribute name="name"> - <xsl:value-of select="concat(@prefix,'BridgeNumChannels')"/> - </xsl:attribute> - <para>Number of channels in the bridge</para> - </xsl:element> - </xsl:template> -</xsl:stylesheet> |