mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -233,11 +233,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") | ||||
| 						<para>R/W The maximum number of forwards allowed.</para> | ||||
| 					</enum> | ||||
| 				</enumlist> | ||||
| 				<xi:include xpointer="xpointer(/docs/info[@name='SIPCHANNEL'])" /> | ||||
| 				<xi:include xpointer="xpointer(/docs/info[@name='PJSIPCHANNEL'])" /> | ||||
| 				<xi:include xpointer="xpointer(/docs/info[@name='IAXCHANNEL'])" /> | ||||
| 				<xi:include xpointer="xpointer(/docs/info[@name='DAHDICHANNEL'])" /> | ||||
| 				<xi:include xpointer="xpointer(/docs/info[@name='OOH323CHANNEL'])" /> | ||||
| 				<xi:include xpointer="xpointer(/docs/info[@name='CHANNEL'])" /> | ||||
| 			</parameter> | ||||
| 		</syntax> | ||||
| 		<description> | ||||
| @@ -263,7 +259,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") | ||||
| 				; Log the current state of the channel | ||||
| 				same => n,Log(NOTICE, This channel is: ${CHANNEL(state)}) | ||||
| 			</example> | ||||
| 			<xi:include xpointer="xpointer(/docs/info[@name='PJSIPCHANNEL_EXAMPLES'])" /> | ||||
| 			<xi:include xpointer="xpointer(/docs/info[@name='CHANNEL_EXAMPLES'])" /> | ||||
| 		</description> | ||||
| 	</function> | ||||
|  ***/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user