Понедельник (10/22/12)

/dev/pts/10
15:11:48
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze8 currently running on linux8 (pid = 3673)
linux8*CLI> co
No such command 'co' (type 'core show help co' for other possible commands)
linux8*CLI> co
config   console  core
linux8*CLI> co
config   console  core
linux8*CLI> con
config   console
linux8*CLI> config
No such command 'config' (type 'core show help config' for other possible commands)
linux8*CLI> core
No such command 'core' (type 'core show help core' for other possible commands)
linux8*CLI> core show
No such command 'core show' (type 'core show help core show' for other possible commands)
linux8*CLI> core show sysinfo
System Statistics
-----------------
  System Uptime:             3 hours
  Total RAM:                 3847864 KiB
  Free RAM:                  443796 KiB
  Buffer RAM:                116076 KiB
  Number of Processes:       280
linux8*CLI> core show
application     applications    calls           channel         channels        channeltype
channeltypes    codec           codecs          config          file            function
functions       help            hint            hints           image           license
profile         settings        switches        sysinfo         taskprocessors  threads
translation     uptime          version         warranty
linux8*CLI> core show c
calls         channel       channels      channeltype   channeltypes  codec         codecs
config
linux8*CLI> core show co
codec   codecs  config
linux8*CLI> core show codec
Usage: core show codec <number>
       Displays codec mapping
linux8*CLI> core show codecs
Disclaimer: this command is for informational purposes only.
        It does not indicate anything about your configuration.
        INT    BINARY        HEX   TYPE       NAME   DESC
--------------------------------------------------------------------------------
          1 (1 <<  0)      (0x1)  audio       g723   (G.723.1)
          2 (1 <<  1)      (0x2)  audio        gsm   (GSM)
          4 (1 <<  2)      (0x4)  audio       ulaw   (G.711 u-law)
          8 (1 <<  3)      (0x8)  audio       alaw   (G.711 A-law)
         16 (1 <<  4)     (0x10)  audio   g726aal2   (G.726 AAL2)
         32 (1 <<  5)     (0x20)  audio      adpcm   (ADPCM)
         64 (1 <<  6)     (0x40)  audio       slin   (16 bit Signed Linear PCM)
        128 (1 <<  7)     (0x80)  audio      lpc10   (LPC10)
        256 (1 <<  8)    (0x100)  audio       g729   (G.729A)
        512 (1 <<  9)    (0x200)  audio      speex   (SpeeX)
       1024 (1 << 10)    (0x400)  audio       ilbc   (iLBC)
       2048 (1 << 11)    (0x800)  audio       g726   (G.726 RFC3551)
       4096 (1 << 12)   (0x1000)  audio       g722   (G722)
      65536 (1 << 16)  (0x10000)  image       jpeg   (JPEG image)
     131072 (1 << 17)  (0x20000)  image        png   (PNG image)
     262144 (1 << 18)  (0x40000)  video       h261   (H.261 Video)
     524288 (1 << 19)  (0x80000)  video       h263   (H.263 Video)
    1048576 (1 << 20) (0x100000)  video      h263p   (H.263+ Video)
    2097152 (1 << 21) (0x200000)  video       h264   (H.264 Video)
linux8*CLI> core show f
file       functions  function
linux8*CLI> core show file
No such command 'core show file ' (type 'core show help core show' for other possible commands)
linux8*CLI> core show fu
functions  function
linux8*CLI> core show function
Usage: core show function <function>
       Describe a particular dialplan function.
linux8*CLI> core show functions
Installed Custom Functions:
--------------------------------------------------------------------------------
AES_DECRYPT           AES_DECRYPT(key,string)              Decrypt a string encoded in base64 with AES given a 16 character key.
AES_ENCRYPT           AES_ENCRYPT(key,string)              Encrypt a string with AES given a 16 character key.
AGC                   AGC(channeldirection)                Apply automatic gain control to audio on a channel.
AGENT                 AGENT(agentid[:item])                Gets information about an Agent
ARRAY                 ARRAY(var1[,var2[,...][,varN]])      Allows setting multiple variables at once.
AST_CONFIG            AST_CONFIG(config_file,category,var  Retrieve a variable from a configuration file.
AUDIOHOOK_INHERIT     AUDIOHOOK_INHERIT(source)            Set whether an audiohook may be inherited to another channel
BASE64_DECODE         BASE64_DECODE(string)                Decode a base64 string.
BASE64_ENCODE         BASE64_ENCODE(string)                Encode a string in base64.
BLACKLIST             BLACKLIST()                          Check if the callerid is on the blacklist.
CALLERID              CALLERID(datatype[,CID])             Gets or sets Caller*ID data on the channel.
CALLERPRES            CALLERPRES()                         Gets or sets Caller*ID presentation on the channel.
CDR                   CDR(name[,options])                  Gets or sets a CDR variable.
CHANNEL               CHANNEL(item)                        Gets/sets various pieces of information about the channel.
CHANNELS              CHANNELS([regular_expression])       Gets the list of channels, optionally filtering by a regular expression.
CHECKSIPDOMAIN        CHECKSIPDOMAIN(domain)               Checks if domain is a local domain.
CSV_QUOTE             CSV_QUOTE(string)                    Quotes a given string for use in a CSV file, escaping embedded quotes as necessary
CURL                  CURL(url[,post-data])                Retrieves the contents of a URL
CURLOPT               CURLOPT(<option>)                    Set options for use with the CURL() function
CUT                   CUT(varname,char-delim,range-spec)   Slices and dices strings, based upon a named delimiter.
DB                    DB(family/key)                       Read from or write to the Asterisk database.
DB_DELETE             DB_DELETE(family/key)                Return a value from the database and delete it.
DB_EXISTS             DB_EXISTS(family/key)                Check to see if a key exists in the Asterisk database.
DENOISE               DENOISE(channeldirection)            Apply noise reduction to audio on a channel.
DEVICE_STATE          DEVICE_STATE(device)                 Get or Set a device state.
DIALGROUP             DIALGROUP(group[,op])                Manages a group of users for dialing.
DIALPLAN_EXISTS       DIALPLAN_EXISTS(context[,extension[  Checks the existence of a dialplan target.
DUNDILOOKUP           DUNDILOOKUP(number[,context[,option  Do a DUNDi lookup of a phone number.
DUNDIQUERY            DUNDIQUERY(number[,context[,options  Initiate a DUNDi query.
DUNDIRESULT           DUNDIRESULT(id[,resultnum])          Retrieve results from a DUNDIQUERY.
ENUMLOOKUP            ENUMLOOKUP(number[,method-type[,opt  General or specific querying of NAPTR records for ENUM or ENUM-like DNS pointers.
ENUMQUERY             ENUMQUERY(number[,method-type[,zone  Initiate an ENUM query.
ENUMRESULT            ENUMRESULT(id,resultnum)             Retrieve results from a ENUMQUERY.
ENV                   ENV(varname)                         Gets or sets the environment variable specified.
EVAL                  EVAL(variable)                       Evaluate stored variables
EXCEPTION             EXCEPTION(field)                     Retrieve the details of the current dialplan exception.
EXISTS                EXISTS(data)                         Test the existence of a value.
EXTENSION_STATE       EXTENSION_STATE(extension[@context]  Get an extension's state.
FIELDQTY              FIELDQTY(varname,delim)              Count the fields with an arbitrary delimiter
FILE                  FILE(filename,offset,length)         Obtains the contents of a file.
FILTER                FILTER(allowed-chars,string)         Filter the string to include only the allowed characters
GLOBAL                GLOBAL(varname)                      Gets or sets the global variable specified.
GROUP                 GROUP([category])                    Gets or sets the channel group.
GROUP_COUNT           GROUP_COUNT([groupname][@category])  Counts the number of channels in the specified group.
GROUP_LIST            GROUP_LIST()                         Gets a list of the groups set on a channel.
GROUP_MATCH_COUNT     GROUP_MATCH_COUNT(groupmatch[@categ  Counts the number of channels in the groups matching the specified pattern.
HASH                  HASH(hashname[,hashkey])             Implementation of a dialplan associative array
HASHKEYS              HASHKEYS(hashname)                   Retrieve the keys of the HASH() function.
HINT                  HINT(extension[@context][,options])  Get the devices set for a dialplan hint.
IAXPEER               IAXPEER(peername[,item])             Gets IAX peer information.
IAXVAR                IAXVAR(varname)                      Sets or retrieves a remote variable.
ICONV                 ICONV(in-charset,out-charset,string  Converts charsets of strings.
IF                    IF(expresion?[true][:false])         Check for an expresion.
IFMODULE              IFMODULE(modulename.so)              Checks if an Asterisk module is loaded in memory.
IFTIME                IFTIME(timespec?[true][:false])      Temporal Conditional.
IMPORT                IMPORT(channel,variable)             Retrieve the value of a variable from another channel.
ISNULL                ISNULL(data)                         Check if a value is NULL.
JABBER_STATUS         JABBER_STATUS(sender,buddy[,resourc  Retrieve the status of a jabber list member
JACK_HOOK             JACK_HOOK(<mode>,[options])          Enable a jack hook on a channel
KEYPADHASH            KEYPADHASH(string)                   Hash the letters in string into equivalent keypad numbers.
LEN                   LEN(string)                          Return the length of the string given.
LISTFILTER            LISTFILTER(varname,delim,value)      Remove an item from a list, by name.
LOCAL                 LOCAL(varname)                       Manage variables local to the gosub stack frame.
LOCAL_PEEK            LOCAL_PEEK(n,varname)                Retrieve variables hidden by the local gosub stack frame.
LOCK                  LOCK(lockname)                       Attempt to obtain a named mutex.
MAILBOX_EXISTS        MAILBOX_EXISTS(mailbox[@context])    Tell if a mailbox is configured.
MATH                  MATH(expression[,type])              Performs Mathematical Functions.
MD5                   MD5(data)                            Computes an MD5 digest.
MEETME_INFO           MEETME_INFO(<keyword>,<confno>)      Query a given conference of various properties.
MINIVMACCOUNT         MINIVMACCOUNT(<account>:item)        Gets MiniVoicemail account information
MINIVMCOUNTER         MINIVMCOUNTER(<account>:name[:opera  Reads or sets counters for MiniVoicemail message
ODBC                  ODBC(property[,argument])            Controls ODBC transaction properties.
ODBC_ANTIGF           ODBC_ANTIGF(<callerid>)              Check if a specified callerid is contained in the ex-gf database
ODBC_FETCH            ODBC_FETCH(result-id)                Fetch a row from a multirow query.
ODBC_PRESENCE         ODBC_PRESENCE(<arg1>[...[,<argN>]])  Runs the referenced query with the specified arguments
ODBC_SQL              ODBC_SQL(<arg1>[...[,<argN>]])       Runs the referenced query with the specified arguments
PP_EACH_EXTENSION     PP_EACH_EXTENSION(<mac>|<template>)  Execute specified template for each extension
PP_EACH_USER          PP_EACH_USER(<string>|<exclude_mac>  Generate a string for each phoneprov user
QUEUE_MEMBER          QUEUE_MEMBER(queuename,option)       Count number of members answering a queue.
QUEUE_MEMBER_COUNT    QUEUE_MEMBER_COUNT(queuename)        Count number of members answering a queue.
QUEUE_MEMBER_LIST     QUEUE_MEMBER_LIST(queuename)         Returns a list of interfaces on a queue.
QUEUE_MEMBER_PENALTY  QUEUE_MEMBER_PENALTY(queuename,inte  Gets or sets queue members penalty.
QUEUE_VARIABLES       QUEUE_VARIABLES(queuename)           Return Queue information in variables.
QUEUE_WAITING_COUNT   QUEUE_WAITING_COUNT([queuename])     Count number of calls currently waiting in a queue.
QUOTE                 QUOTE(string)                        Quotes a given string, escaping embedded quotes as necessary
RAND                  RAND([min][,max])                    Choose a random number in a range.
REALTIME              REALTIME(family,fieldmatch[,value[,  RealTime Read/Write Functions.
REALTIME_DESTROY      REALTIME_DESTROY(family,fieldmatch[  RealTime Destroy Function.
REALTIME_FIELD        REALTIME_FIELD(family,fieldmatch,va  RealTime query function.
REALTIME_HASH         REALTIME_HASH(family,fieldmatch,val  RealTime query function.
REALTIME_STORE        REALTIME_STORE(family,field1,fieldN  RealTime Store Function.
REGEX                 REGEX("regular expression" string)   Check string against a regular expression.
SET                   SET(varname[=value])                 SET assigns a value to a channel variable.
SHA1                  SHA1(data)                           Computes a SHA1 digest.
SHARED                SHARED(varname[,channel])            Gets or sets the shared variable specified.
SHELL                 SHELL(command)                       Executes a command as if you were at a shell.
SIP_HEADER            SIP_HEADER(name[,number])            Gets the specified SIP header.
SIPCHANINFO           SIPCHANINFO(item)                    Gets the specified SIP parameter from the current channel.
SIPPEER               SIPPEER(peername[,item])             Gets SIP peer information.
SORT                  SORT(key1:val1[,key2:val2[,...]])    Sorts a list of key/vals into a list of keys, based upon the vals.
SPEECH                SPEECH(argument)                     Gets information about speech recognition results.
SPEECH_ENGINE         SPEECH_ENGINE(name)                  Change a speech engine specific attribute.
SPEECH_GRAMMAR        SPEECH_GRAMMAR([nbest_number/]resul  Gets the matched grammar of a result if available.
SPEECH_RESULTS_TYPE   SPEECH_RESULTS_TYPE()                Sets the type of results that will be returned.
SPEECH_SCORE          SPEECH_SCORE([nbest_number/]result_  Gets the confidence score of a result.
SPEECH_TEXT           SPEECH_TEXT([nbest_number/]result_n  Gets the recognized text of a result.
SPRINTF               SPRINTF(format,arg1[,arg2[,...][,ar  Format a variable according to a format string.
SQL_ESC               SQL_ESC(string)                      Escapes single ticks for use in SQL statements.
STAT                  STAT(flag,filename)                  Does a check on the specified file.
STRFTIME              STRFTIME([epoch][,timezone[,format]  Returns the current date/time in the specified format.
STRPTIME              STRPTIME(datetime,timezone,format)   Returns the epoch of the arbitrary date/time string structured as described by the format.
SYSINFO               SYSINFO(<parameter>)                 Returns system information specified by parameter.
TIMEOUT               TIMEOUT(timeouttype)                 Gets or sets timeouts on the channel. Timeout values are in seconds.
TOLOWER               TOLOWER(string)                      Convert string to all lowercase letters.
TOUPPER               TOUPPER(string)                      Convert string to all uppercase letters.
TRYLOCK               TRYLOCK(lockname)                    Attempt to obtain a named mutex.
TXTCIDNAME            TXTCIDNAME(number[,zone-suffix])     TXTCIDNAME looks up a caller name via DNS.
UNLOCK                UNLOCK(lockname)                     Unlocks a named mutex.
URIDECODE             URIDECODE(data)                      Decodes a URI-encoded string according to RFC 2396.
URIENCODE             URIENCODE(data)                      Encodes a string to URI-safe encoding according to RFC 2396.
VALID_EXTEN           VALID_EXTEN([context],extension[,pr  Determine whether an extension exists or not.
VERSION               VERSION([info])                      Return the Version info for this Asterisk.
VMCOUNT               VMCOUNT(vmbox[@context][,folder])    Count the voicemails in a specified mailbox.
VOLUME                VOLUME(direction)                    Set the TX or RX volume of a channel.
124 custom functions installed.
linux8*CLI> sip show pe
peers  peer
linux8*CLI> sip show peer
Usage: sip show peer <name> [load]
       Shows all details on one SIP peer and the current status.
       Option "load" forces lookup of peer in realtime storage.
linux8*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
linux8*CLI> exit
/dev/pts/9
15:11:48
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze8 currently running on linux8 (pid = 3673)
linux8*CLI> co
No such command 'co' (type 'core show help co' for other possible commands)
linux8*CLI> co
config   console  core
linux8*CLI> co
config   console  core
linux8*CLI> con
config   console
linux8*CLI> config
No such command 'config' (type 'core show help config' for other possible commands)
linux8*CLI> core
No such command 'core' (type 'core show help core' for other possible commands)
linux8*CLI> core show
No such command 'core show' (type 'core show help core show' for other possible commands)
linux8*CLI> core show sysinfo
System Statistics
-----------------
  System Uptime:             3 hours
  Total RAM:                 3847864 KiB
  Free RAM:                  443796 KiB
  Buffer RAM:                116076 KiB
  Number of Processes:       280
linux8*CLI> core show
application     applications    calls           channel         channels        channeltype
channeltypes    codec           codecs          config          file            function
functions       help            hint            hints           image           license
profile         settings        switches        sysinfo         taskprocessors  threads
translation     uptime          version         warranty
linux8*CLI> core show c
calls         channel       channels      channeltype   channeltypes  codec         codecs
config
linux8*CLI> core show co
codec   codecs  config
linux8*CLI> core show codec
Usage: core show codec <number>
       Displays codec mapping
linux8*CLI> core show codecs
Disclaimer: this command is for informational purposes only.
        It does not indicate anything about your configuration.
        INT    BINARY        HEX   TYPE       NAME   DESC
--------------------------------------------------------------------------------
          1 (1 <<  0)      (0x1)  audio       g723   (G.723.1)
          2 (1 <<  1)      (0x2)  audio        gsm   (GSM)
          4 (1 <<  2)      (0x4)  audio       ulaw   (G.711 u-law)
          8 (1 <<  3)      (0x8)  audio       alaw   (G.711 A-law)
         16 (1 <<  4)     (0x10)  audio   g726aal2   (G.726 AAL2)
         32 (1 <<  5)     (0x20)  audio      adpcm   (ADPCM)
         64 (1 <<  6)     (0x40)  audio       slin   (16 bit Signed Linear PCM)
        128 (1 <<  7)     (0x80)  audio      lpc10   (LPC10)
        256 (1 <<  8)    (0x100)  audio       g729   (G.729A)
        512 (1 <<  9)    (0x200)  audio      speex   (SpeeX)
       1024 (1 << 10)    (0x400)  audio       ilbc   (iLBC)
       2048 (1 << 11)    (0x800)  audio       g726   (G.726 RFC3551)
       4096 (1 << 12)   (0x1000)  audio       g722   (G722)
      65536 (1 << 16)  (0x10000)  image       jpeg   (JPEG image)
     131072 (1 << 17)  (0x20000)  image        png   (PNG image)
     262144 (1 << 18)  (0x40000)  video       h261   (H.261 Video)
     524288 (1 << 19)  (0x80000)  video       h263   (H.263 Video)
    1048576 (1 << 20) (0x100000)  video      h263p   (H.263+ Video)
    2097152 (1 << 21) (0x200000)  video       h264   (H.264 Video)
linux8*CLI> core show f
file       functions  function
linux8*CLI> core show file
No such command 'core show file ' (type 'core show help core show' for other possible commands)
linux8*CLI> core show fu
functions  function
linux8*CLI> core show function
Usage: core show function <function>
       Describe a particular dialplan function.
linux8*CLI> core show functions
Installed Custom Functions:
--------------------------------------------------------------------------------
AES_DECRYPT           AES_DECRYPT(key,string)              Decrypt a string encoded in base64 with AES given a 16 character key.
AES_ENCRYPT           AES_ENCRYPT(key,string)              Encrypt a string with AES given a 16 character key.
AGC                   AGC(channeldirection)                Apply automatic gain control to audio on a channel.
AGENT                 AGENT(agentid[:item])                Gets information about an Agent
ARRAY                 ARRAY(var1[,var2[,...][,varN]])      Allows setting multiple variables at once.
AST_CONFIG            AST_CONFIG(config_file,category,var  Retrieve a variable from a configuration file.
AUDIOHOOK_INHERIT     AUDIOHOOK_INHERIT(source)            Set whether an audiohook may be inherited to another channel
BASE64_DECODE         BASE64_DECODE(string)                Decode a base64 string.
BASE64_ENCODE         BASE64_ENCODE(string)                Encode a string in base64.
BLACKLIST             BLACKLIST()                          Check if the callerid is on the blacklist.
CALLERID              CALLERID(datatype[,CID])             Gets or sets Caller*ID data on the channel.
CALLERPRES            CALLERPRES()                         Gets or sets Caller*ID presentation on the channel.
CDR                   CDR(name[,options])                  Gets or sets a CDR variable.
CHANNEL               CHANNEL(item)                        Gets/sets various pieces of information about the channel.
CHANNELS              CHANNELS([regular_expression])       Gets the list of channels, optionally filtering by a regular expression.
CHECKSIPDOMAIN        CHECKSIPDOMAIN(domain)               Checks if domain is a local domain.
CSV_QUOTE             CSV_QUOTE(string)                    Quotes a given string for use in a CSV file, escaping embedded quotes as necessary
CURL                  CURL(url[,post-data])                Retrieves the contents of a URL
CURLOPT               CURLOPT(<option>)                    Set options for use with the CURL() function
CUT                   CUT(varname,char-delim,range-spec)   Slices and dices strings, based upon a named delimiter.
DB                    DB(family/key)                       Read from or write to the Asterisk database.
DB_DELETE             DB_DELETE(family/key)                Return a value from the database and delete it.
DB_EXISTS             DB_EXISTS(family/key)                Check to see if a key exists in the Asterisk database.
DENOISE               DENOISE(channeldirection)            Apply noise reduction to audio on a channel.
DEVICE_STATE          DEVICE_STATE(device)                 Get or Set a device state.
DIALGROUP             DIALGROUP(group[,op])                Manages a group of users for dialing.
DIALPLAN_EXISTS       DIALPLAN_EXISTS(context[,extension[  Checks the existence of a dialplan target.
DUNDILOOKUP           DUNDILOOKUP(number[,context[,option  Do a DUNDi lookup of a phone number.
DUNDIQUERY            DUNDIQUERY(number[,context[,options  Initiate a DUNDi query.
DUNDIRESULT           DUNDIRESULT(id[,resultnum])          Retrieve results from a DUNDIQUERY.
ENUMLOOKUP            ENUMLOOKUP(number[,method-type[,opt  General or specific querying of NAPTR records for ENUM or ENUM-like DNS pointers.
ENUMQUERY             ENUMQUERY(number[,method-type[,zone  Initiate an ENUM query.
ENUMRESULT            ENUMRESULT(id,resultnum)             Retrieve results from a ENUMQUERY.
ENV                   ENV(varname)                         Gets or sets the environment variable specified.
EVAL                  EVAL(variable)                       Evaluate stored variables
EXCEPTION             EXCEPTION(field)                     Retrieve the details of the current dialplan exception.
EXISTS                EXISTS(data)                         Test the existence of a value.
EXTENSION_STATE       EXTENSION_STATE(extension[@context]  Get an extension's state.
FIELDQTY              FIELDQTY(varname,delim)              Count the fields with an arbitrary delimiter
FILE                  FILE(filename,offset,length)         Obtains the contents of a file.
FILTER                FILTER(allowed-chars,string)         Filter the string to include only the allowed characters
GLOBAL                GLOBAL(varname)                      Gets or sets the global variable specified.
GROUP                 GROUP([category])                    Gets or sets the channel group.
GROUP_COUNT           GROUP_COUNT([groupname][@category])  Counts the number of channels in the specified group.
GROUP_LIST            GROUP_LIST()                         Gets a list of the groups set on a channel.
GROUP_MATCH_COUNT     GROUP_MATCH_COUNT(groupmatch[@categ  Counts the number of channels in the groups matching the specified pattern.
HASH                  HASH(hashname[,hashkey])             Implementation of a dialplan associative array
HASHKEYS              HASHKEYS(hashname)                   Retrieve the keys of the HASH() function.
HINT                  HINT(extension[@context][,options])  Get the devices set for a dialplan hint.
IAXPEER               IAXPEER(peername[,item])             Gets IAX peer information.
IAXVAR                IAXVAR(varname)                      Sets or retrieves a remote variable.
ICONV                 ICONV(in-charset,out-charset,string  Converts charsets of strings.
IF                    IF(expresion?[true][:false])         Check for an expresion.
IFMODULE              IFMODULE(modulename.so)              Checks if an Asterisk module is loaded in memory.
IFTIME                IFTIME(timespec?[true][:false])      Temporal Conditional.
IMPORT                IMPORT(channel,variable)             Retrieve the value of a variable from another channel.
ISNULL                ISNULL(data)                         Check if a value is NULL.
JABBER_STATUS         JABBER_STATUS(sender,buddy[,resourc  Retrieve the status of a jabber list member
JACK_HOOK             JACK_HOOK(<mode>,[options])          Enable a jack hook on a channel
KEYPADHASH            KEYPADHASH(string)                   Hash the letters in string into equivalent keypad numbers.
LEN                   LEN(string)                          Return the length of the string given.
LISTFILTER            LISTFILTER(varname,delim,value)      Remove an item from a list, by name.
LOCAL                 LOCAL(varname)                       Manage variables local to the gosub stack frame.
LOCAL_PEEK            LOCAL_PEEK(n,varname)                Retrieve variables hidden by the local gosub stack frame.
LOCK                  LOCK(lockname)                       Attempt to obtain a named mutex.
MAILBOX_EXISTS        MAILBOX_EXISTS(mailbox[@context])    Tell if a mailbox is configured.
MATH                  MATH(expression[,type])              Performs Mathematical Functions.
MD5                   MD5(data)                            Computes an MD5 digest.
MEETME_INFO           MEETME_INFO(<keyword>,<confno>)      Query a given conference of various properties.
MINIVMACCOUNT         MINIVMACCOUNT(<account>:item)        Gets MiniVoicemail account information
MINIVMCOUNTER         MINIVMCOUNTER(<account>:name[:opera  Reads or sets counters for MiniVoicemail message
ODBC                  ODBC(property[,argument])            Controls ODBC transaction properties.
ODBC_ANTIGF           ODBC_ANTIGF(<callerid>)              Check if a specified callerid is contained in the ex-gf database
ODBC_FETCH            ODBC_FETCH(result-id)                Fetch a row from a multirow query.
ODBC_PRESENCE         ODBC_PRESENCE(<arg1>[...[,<argN>]])  Runs the referenced query with the specified arguments
ODBC_SQL              ODBC_SQL(<arg1>[...[,<argN>]])       Runs the referenced query with the specified arguments
PP_EACH_EXTENSION     PP_EACH_EXTENSION(<mac>|<template>)  Execute specified template for each extension
PP_EACH_USER          PP_EACH_USER(<string>|<exclude_mac>  Generate a string for each phoneprov user
QUEUE_MEMBER          QUEUE_MEMBER(queuename,option)       Count number of members answering a queue.
QUEUE_MEMBER_COUNT    QUEUE_MEMBER_COUNT(queuename)        Count number of members answering a queue.
QUEUE_MEMBER_LIST     QUEUE_MEMBER_LIST(queuename)         Returns a list of interfaces on a queue.
QUEUE_MEMBER_PENALTY  QUEUE_MEMBER_PENALTY(queuename,inte  Gets or sets queue members penalty.
QUEUE_VARIABLES       QUEUE_VARIABLES(queuename)           Return Queue information in variables.
QUEUE_WAITING_COUNT   QUEUE_WAITING_COUNT([queuename])     Count number of calls currently waiting in a queue.
QUOTE                 QUOTE(string)                        Quotes a given string, escaping embedded quotes as necessary
RAND                  RAND([min][,max])                    Choose a random number in a range.
REALTIME              REALTIME(family,fieldmatch[,value[,  RealTime Read/Write Functions.
REALTIME_DESTROY      REALTIME_DESTROY(family,fieldmatch[  RealTime Destroy Function.
REALTIME_FIELD        REALTIME_FIELD(family,fieldmatch,va  RealTime query function.
REALTIME_HASH         REALTIME_HASH(family,fieldmatch,val  RealTime query function.
REALTIME_STORE        REALTIME_STORE(family,field1,fieldN  RealTime Store Function.
REGEX                 REGEX("regular expression" string)   Check string against a regular expression.
SET                   SET(varname[=value])                 SET assigns a value to a channel variable.
SHA1                  SHA1(data)                           Computes a SHA1 digest.
SHARED                SHARED(varname[,channel])            Gets or sets the shared variable specified.
SHELL                 SHELL(command)                       Executes a command as if you were at a shell.
SIP_HEADER            SIP_HEADER(name[,number])            Gets the specified SIP header.
SIPCHANINFO           SIPCHANINFO(item)                    Gets the specified SIP parameter from the current channel.
SIPPEER               SIPPEER(peername[,item])             Gets SIP peer information.
SORT                  SORT(key1:val1[,key2:val2[,...]])    Sorts a list of key/vals into a list of keys, based upon the vals.
SPEECH                SPEECH(argument)                     Gets information about speech recognition results.
SPEECH_ENGINE         SPEECH_ENGINE(name)                  Change a speech engine specific attribute.
SPEECH_GRAMMAR        SPEECH_GRAMMAR([nbest_number/]resul  Gets the matched grammar of a result if available.
SPEECH_RESULTS_TYPE   SPEECH_RESULTS_TYPE()                Sets the type of results that will be returned.
SPEECH_SCORE          SPEECH_SCORE([nbest_number/]result_  Gets the confidence score of a result.
SPEECH_TEXT           SPEECH_TEXT([nbest_number/]result_n  Gets the recognized text of a result.
SPRINTF               SPRINTF(format,arg1[,arg2[,...][,ar  Format a variable according to a format string.
SQL_ESC               SQL_ESC(string)                      Escapes single ticks for use in SQL statements.
STAT                  STAT(flag,filename)                  Does a check on the specified file.
STRFTIME              STRFTIME([epoch][,timezone[,format]  Returns the current date/time in the specified format.
STRPTIME              STRPTIME(datetime,timezone,format)   Returns the epoch of the arbitrary date/time string structured as described by the format.
SYSINFO               SYSINFO(<parameter>)                 Returns system information specified by parameter.
TIMEOUT               TIMEOUT(timeouttype)                 Gets or sets timeouts on the channel. Timeout values are in seconds.
TOLOWER               TOLOWER(string)                      Convert string to all lowercase letters.
TOUPPER               TOUPPER(string)                      Convert string to all uppercase letters.
TRYLOCK               TRYLOCK(lockname)                    Attempt to obtain a named mutex.
TXTCIDNAME            TXTCIDNAME(number[,zone-suffix])     TXTCIDNAME looks up a caller name via DNS.
UNLOCK                UNLOCK(lockname)                     Unlocks a named mutex.
URIDECODE             URIDECODE(data)                      Decodes a URI-encoded string according to RFC 2396.
URIENCODE             URIENCODE(data)                      Encodes a string to URI-safe encoding according to RFC 2396.
VALID_EXTEN           VALID_EXTEN([context],extension[,pr  Determine whether an extension exists or not.
VERSION               VERSION([info])                      Return the Version info for this Asterisk.
VMCOUNT               VMCOUNT(vmbox[@context][,folder])    Count the voicemails in a specified mailbox.
VOLUME                VOLUME(direction)                    Set the TX or RX volume of a channel.
124 custom functions installed.
linux8*CLI> sip show pe
peers  peer
linux8*CLI> sip show peer
Usage: sip show peer <name> [load]
       Shows all details on one SIP peer and the current status.
       Option "load" forces lookup of peer in realtime storage.
linux8*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
linux8*CLI> exit