Summary: | ASTERISK-05768: [patch] show functions like FOO | ||
Reporter: | Clod Patry (junky) | Labels: | |
Date Opened: | 2005-12-02 20:49:54.000-0600 | Date Closed: | 2008-01-15 16:04:06.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Functions/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) acf_like.txt | |
Description: | That patch add the ability to list only functions matching foo in the whole list of asterisk custom functions. example: polux*CLI> show functions like MD5 Matching Custom Functions: -------------------------------------------------------------------------------- CHECK_MD5 CHECK_MD5(<digest>,<data>) Checks an MD5 digest MD5 MD5(<data>) Computes an MD5 digest 2 custom functions matching your criteria. polux*CLI> polux*CLI> show functions like SIP Matching Custom Functions: -------------------------------------------------------------------------------- CHECKSIPDOMAIN CHECKSIPDOMAIN(<domain|IP>) Checks if domain is a local domain SIPCHANINFO SIPCHANINFO(item) Gets the specified SIP parameter from the current channel SIPPEER SIPPEER(<peername>[:item]) Gets SIP peer information SIP_HEADER SIP_HEADER(<name>) Gets or sets the specified SIP header 4 custom functions matching your criteria. polux*CLI> ****** ADDITIONAL INFORMATION ****** Could be really useful when searching some stuff in the list. if doing: polux*CLI> show functions like sip Matching Custom Functions: -------------------------------------------------------------------------------- 0 custom functions matching your criteria. cause function name are all uppercase. | ||
Comments: | By: Russell Bryant (russell) 2005-12-04 17:39:41.000-0600 added to the trunk with some modifications, thanks! By: Digium Subversion (svnbot) 2008-01-15 16:04:06.000-0600 Repository: asterisk Revision: 7339 U trunk/pbx.c ------------------------------------------------------------------------ r7339 | russell | 2008-01-15 16:04:05 -0600 (Tue, 15 Jan 2008) | 2 lines add support for 'show functions like <text>' (issue ASTERISK-5768) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=7339 |