
Asterisk Blog - Page 28
Asterisk cmd AlarmReceiver
SIA (Ademco) Contact ID Alarm Receiver Application WARNING: This application is to be used at your own risk! This application is NOT Underwriter’s Laboratory (UL) approved and should not be used in any application where it is the…
Read More »Asterisk sip nat
Definition In a client definition nat=yes|no|never|route If a peer is configured with nat=yes, it causes Asterisk to ignore the address information in the SIP and SDP headers from this peer, and reply to the sender’s IP address and…
Read More »Asterisk cmd GotoIfTime
Synopsis: Conditional goto on current time Description: GotoIfTime(<time range>,<days of week>,<days of month>,<months>?[labeliftrue][:labeliffalse]) If the current time matches the specified time, then branch to the specified priority label. Each of the elements may be specified either as ‘*’…
Read More »Asterisk video
Video in Asterisk The video features in Asterisk 1.4 include: pass-through calling playback (expect some delay) record IVR voicemail (recording and playback, with difficulties for greeting messages) Some channels have support for video calls in Asterisk: SIP IAX2…
Read More »Asterisk Tips follow me
First of all: Make sure you also look at app_followme as introduced in Asterisk 1.4! The following example shows how to create a follow me script to allow Asterisk to ring from your desk phone to a cell…
Read More »Asterisk Telemarketer Torture
How to build unusable menus to scare off users. I noticed in the * source that the Privacy code has a TORTURE constant, and I submit that this sort of thing may just be the stuff that would…
Read More »Asterisk res_config
res_config A very flexible way of storing configuration information (e.g. users in sip.conf) in an unixODBC database (e.g. Mysql). It does, however, require the server to be reloaded to make changes appear. As of 2004-Jun-10 res_config was available…
Read More »Asterisk cmd Conference
Synopsis Simple Conference bridge; alternative to MeetMe that does not require Zaptel/DAHDI. The third-party addition app_conference is a channel-independent conference application. Availability Conference is not in the Asterisk standard distribution and can be found at http://sourceforge.net/projects/appconference/ Syntax Conference(name/flags/priority)…
Read More »Asterisk Hardware Recommendations
This page and it’s siblings suggest some configurations of hardware and software for setting up an Asterisk based PBX. Most of these are based on running configurations in various organizations today. Sample Hardware Recommendations Scaling an Asterisk system…
Read More »Asterisk extensions from mysql
There is a script in contrib/scripts called: retrieve_extensions_from_mysql.pl This can be used to write a file to be used to write out extensions.conf – alternatively it can be used to create a subset which is #included into the…
Read More »Asterisk cmd DISA
Synopsis DISA (Direct Inward System Access) Description DISA(passcode[,context[,callerid[,mailbox[@vmcontext]]]]) DISA(password file[,callerid[,mailbox[@vmcontext]]]) DISA (Direct Inward System Access) allows someone calling in from outside the telephone switch (PBX) to obtain an “internal” system dialtone and dial calls as if from one…
Read More »Asterisk cmd WaitExten
Synopsis: Waits for an extension to be entered; gives the caller the opportunity to push a new extension onto the stack Description: WaitExten(seconds) WaitExten([seconds][|options]) Waits for the user to enter a new extension for the specified number of…
Read More »Asterisk cmd MusicOnHold
Synopsis Play Music On Hold indefinitely. Description MusicOnHold([class]) Plays hold music specified by class. If omitted, the default music source for the channel will be used. If you have configured MusicOnHold in musiconhold.conf it will get played automatically…
Read More »Asterisk cmd SetCallerID
SetCallerID Synopsis SetCallerID(“Name” <Number>[|a]) Deprecated in 1.2, removed in 1.4.- See Setting Callerid Description Set Caller*ID on a call to a new value. Sets ANI as well if a flag is used. Note that the variable ${CALLERID} contains…
Read More »Asterisk Config logger.conf
Logger.conf In this file, you configure logging to files or to the syslog system. “logger reload” at the CLI will reload the configuration of the logging system. [General] Section dateformat Customize the display of debug message time stamps….
Read More »