summaryrefslogtreecommitdiff
path: root/channels/pjsip
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2016-08-15 16:29:53 -0400
committerCorey Farrell <git@cfware.com>2016-08-15 19:02:04 -0400
commitf4e28b3a09d3223fad1c736d59f06abf0667b5fa (patch)
tree3616d3e96226b4ea8ca88599463d5d152a422c11 /channels/pjsip
parent8cc34aa48071257c467bf87307f3f9e630a9d37f (diff)
Refactor usage pattern of xmldoc info tag.
This updates func_channel.c and main/message.c to use a generic xpointer include instead of including info from each channel driver. Now the name attribute of info is CHANNEL or CHANNEL_EXAMPLES to be included in documentation for func_channel. Setting the name attribute of info to MessageToInfo or MessageFromInfo causes it to be included in the MessageSend application and AMI action. Change-Id: I89fd8276a3250824241a618009714267d3a8d1ea
Diffstat (limited to 'channels/pjsip')
-rw-r--r--channels/pjsip/dialplan_functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/pjsip/dialplan_functions.c b/channels/pjsip/dialplan_functions.c
index 380a05eed..ecf5105f8 100644
--- a/channels/pjsip/dialplan_functions.c
+++ b/channels/pjsip/dialplan_functions.c
@@ -109,7 +109,7 @@
<ref type="function">PJSIP_MEDIA_OFFER</ref>
</see-also>
</function>
-<info name="PJSIPCHANNEL" language="en_US" tech="PJSIP">
+<info name="CHANNEL" language="en_US" tech="PJSIP">
<enumlist>
<enum name="rtp">
<para>R/O Retrieve media related information.</para>
@@ -411,7 +411,7 @@
</enum>
</enumlist>
</info>
-<info name="PJSIPCHANNEL_EXAMPLES" language="en_US" tech="PJSIP">
+<info name="CHANNEL_EXAMPLES" language="en_US" tech="PJSIP">
<example title="PJSIP specific CHANNEL examples">
; Log the current Call-ID
same => n,Log(NOTICE, ${CHANNEL(pjsip,call-id)})