[svn-commits] newtonr: trunk r415302 - in /trunk: ./ configs/cli_aliases.conf.sample

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jun 6 07:49:42 CDT 2014


Author: newtonr
Date: Fri Jun  6 07:49:38 2014
New Revision: 415302

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=415302
Log:
configs/cli_aliases.conf: Two new aliases, plus enhancements for context names.

Changed naming of included alias templates to avoid confusion between version names. For example, asterisk12 was for asterisk 1.2, so I changed it to asterisk_1dot2, so that later we can use asterisk_12 for Asterisk 12.

Added alias for "features reload" to the template for Asterisk 11 style syntax template, as features reload was removed in 12, but you can still do "module reload features"

Added alias for "pjsip reload" to the friendly template. It is shorter than "module reload res_pjsip.so" and if some are like me; I constantly forget that reloading chan_pjsip doesn't parse config. Remembering "pjsip reload" is just easier.

ASTERISK-23654 #close
ASTERISK-23654 #comment Fixed by adding two new aliases and enhancements for context names.

Review: https://reviewboard.asterisk.org/r/3572/
........

Merged revisions 415301 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/configs/cli_aliases.conf.sample

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/configs/cli_aliases.conf.sample
URL: http://svnview.digium.com/svn/asterisk/trunk/configs/cli_aliases.conf.sample?view=diff&rev=415302&r1=415301&r2=415302
==============================================================================
--- trunk/configs/cli_aliases.conf.sample (original)
+++ trunk/configs/cli_aliases.conf.sample Fri Jun  6 07:49:38 2014
@@ -10,8 +10,8 @@
 ; the first alias defined will win.
 ;
 template = friendly		; By default, include friendly aliases
-;template = asterisk12		; Asterisk 1.2 style syntax
-;template = asterisk14		; Asterisk 1.4 style syntax
+;template = asterisk_1dot2	; Asterisk 1.2 style syntax
+;template = asterisk_1dot4	; Asterisk 1.4 style syntax
 ;template = individual_custom	; see [individual_custom] example below which
 				; includes a list of aliases from an external
 				; file
@@ -28,6 +28,7 @@
 help=core show help
 pri intense debug span=pri set debug intense span
 reload=module reload
+pjsip reload=module reload res_pjsip.so
 
 ; CLI Alias Templates
 ; -------------------
@@ -41,7 +42,7 @@
 ;
 ;die die die=stop now
 
-;[asterisk16](asterisk)
+;[asterisk_1dot6](asterisk)
 ; Alias for making voicemail reload actually do module reload app_voicemail.so
 ;voicemail reload=module reload app_voicemail.so
 ; This will make the CLI command "mr" behave as though it is "module reload".
@@ -73,7 +74,7 @@
 ; if you would like to use the Asterisk 1.2 style syntax, define in the
 ; [general] section
 
-[asterisk12_tpl](!)
+[asterisk_1dot2_tpl](!)
 show channeltypes=core show channeltypes
 show channeltype=core show channeltype
 show manager command=manager show command
@@ -155,11 +156,11 @@
 clear profile=core clear profile
 soft hangup=channel request hangup
 
-[asterisk12](asterisk12_tpl)
+[asterisk_1dot2](asterisk_1dot2_tpl)
 ; add any additional custom commands you want below here, for example:
 ;die quickly=stop now
 
-[asterisk14_tpl](!)
+[asterisk_1dot4_tpl](!)
 cdr status=cdr show status
 rtp debug=rtp set debug on
 rtcp debug=rtcp set debug on
@@ -184,10 +185,10 @@
 restart when convenient=core restart when convenient
 soft hangup=channel request hangup
 
-[asterisk14](asterisk14_tpl)
+[asterisk_1dot4](asterisk_1dot4_tpl)
 ; add any additional custom commands you want below here.
 
-[asterisk11_tpl](!)
+[asterisk_11_tpl](!)
 jabber list nodes=xmpp list nodes
 jabber purge nodes=xmpp purge nodes
 jabber delete node=xmpp delete node
@@ -196,6 +197,7 @@
 jabber set debug=xmpp set debug
 jabber show connections=xmpp show connections
 jabber show buddies=xmpp show buddies
-
-[asterisk11](asterisk11_tpl)
+features reload=module reload features
+
+[asterisk_11](asterisk_11_tpl)
 ; add any additional custom commands you want below here.




More information about the svn-commits mailing list