Upgrade 3CX to v18 and get it hosted free!
Filter by category: 3CX Asterisk Cisco Linux PBX & Softphones Polycom RTP SIP Snom VoIP

Asterisk settings Broadvoice distinctive ring support

Broadvoice offers the option to have two alternative numbers associated with your primary number. Unfortunately incoming calls to those alternative numbers are directed at your primary number. The only way to distinguish them from the primary number is…

Read More »

Asterisk func language

Synopsis: Gets or sets the channel’s language. Description: LANGUAGE() Gets or sets the channel language. This information is used for the syntax in generation of numbers, and to choose a natural language file when available. For example, if…

Read More »

Asterisk func len

Synopsis: Returns the length of the argument given Description: LEN(<string>) Notes *CLI> core show function LEN Return value Returns integer length of the string. Example exten => s,1,Set(foo=${LEN(${mystring})}) See also Asterisk variables Asterisk functions Asterisk – documentation of…

Read More »

Asterisk func math

Synopsis: Performs Mathematical Functions Description: MATH(<number1><op><number 2>[,<type_of_result>]) Perform calculation on number 1 to number 2. Valid ops are: +,-,/,*,%,<,>,>=,<=,==and behave as their C equivalents. <type_of_result> – wanted type of result: f, float – float(default) i, int – integer,…

Read More »

Asterisk func musicclass

Synopsis: Read or Set the MusicOnHold class Description: MUSICCLASS() This function will read or set the music on hold class for a channel. Notes Not available in 1.6, use Asterisk func channel This function may be both read…

Read More »

Asterisk func queueagentcount

Synopsis: Count number of members answering a queue Description: QUEUEAGENTCOUNT(<queuename>) By agent, this function really refers to queue members, which are the operators answering a queue (as opposed to the callers). This function has been renamed in 1.3dev…

Read More »

Asterisk func rand

Synopsis: Choose a random number in a range Description: RAND([min][,max]) Choose a random number between min and max. Min defaults to 0, if not specified, while max defaults to RAND_MAX (2147483647 on many systems). Notes *CLI> core show…

Read More »

Asterisk func regex

Synopsis Regular Expression: Returns 1 if data matches regular expression. Description REGEX(“<regular expression>” <data>) Is the regular expression tied to the beginning of the string? Notes *CLI> show function REGEX Return value Returns 1 if data matches regular…

Read More »

Asterisk func set

Synopsis: SET assigns a value to a channel variable Description: ${SET(<varname>=[<value>])} Notes   Might be useful to assign the value of a complex expression to a variable, while still using that value to evaluate still another expression.  …

Read More »

Asterisk func sipchaninfo

Synopsis: Gets the specified SIP parameter from the current channel Deprecation SIPCHANINFO() is deprecated in 1.6. Use CHANNEL. Description: SIPCHANINFO(item) Valid items are: peerip: The IP address of the peer. recvip: The source IP address of the peer….

Read More »

Asterisk func sippeer

Synopsis: Gets SIP peer information Doesn’t work with RealTime. Description: SIPPEER(<peername>[:item]) SIPPEER(<peername>[,item]) – for Asterisk 1.6 Valid items are: ip (default): The IP address. port: The port number. (1.6) mailbox: The configured mailbox. context: The configured context. expire:…

Read More »

Asterisk func sip_header

Synopsis Gets the specified SIP header Description SIP_HEADER(<name>) Notes: SIP_HEADER() gives you only access to headers of the initial INVITE request (and not, for example, any progress messages (which may contain call rating information) or the final BYE…

Read More »

Asterisk func stat

Synopsis: Does a check on the specified file (NEW in Asterisk 1.4) Description: STAT(<flag>,<filename>) flag may be one of the following: d: Checks if the file is a directory e: Checks if the file exists f: Checks if…

Read More »

Asterisk func timeout

Synopsis: Gets or sets timeouts on the channel. Description: TIMEOUT(timeouttype) Gets or sets various channel timeouts. The timeouts that can be manipulated are: absolute: The absolute maximum amount of time permitted for a call. A setting of 0…

Read More »

Asterisk func txtcidname

Synopsis: TXTCIDNAME looks up a caller name via DNS Description: TXTCIDNAME(<number>) This function looks up the given phone number in DNS to retrieve the caller id name. The result will either be blank or be the value found…

Read More »
Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.