
Asterisk Blog - Page 27
Asterisk Manager API Action QueueStatus
The “QueueStatus” request returns statistical information about calls delivered to the existing queues, as well as the corresponding service level. The response consists of zero or more “Event: QueueParams” stanzas, one per queue. Each is followed by zero…
Read More »Asterisk RealTime Queue
The queue application supports dynamic real-time. With dynamic real-time, the queue definition and member list will be reloaded each time a caller joins the queue. Thus queues can be updated in the database and the changes will be…
Read More »Asterisk cmd AddQueueMember
Synopsis: Dynamically adds queue members Description: AddQueueMember(queuename[|interface[|penalty]]): (1.0) AddQueueMember(queuename[|interface[|penalty[|options]]]): (1.2) AddQueueMember(queuename[|interface[|penalty[|options[|membername]]]]): (1.4) AddQueueMember(queuename[,interface[,penalty[,options[,membername[,stateinterface]]]]])): (1.6+) Dynamically adds interface to an existing queue (i.e. the interface “logs on” to the queue, as an agent does with AgentCallbackLogin). Options queuename –…
Read More »Asterisk SIP externip
Description externip = extern.ip.address Indicates the IP address (alternatively you can enter a hostname) that will be used as the source IP address for all SIP messages when Asterisk sip nat is specified. Examples: Use it in [general]…
Read More »Asterisk cmd ChanIsAvail
Synopsis Check if channel is available Description ChanIsAvail (Technology/resource[&Technology2/resource2…][|options]) Checks if any of the requested channels are available. Note that the AVAILSTATUS variable is used for both device state and cause code. It is therefore possible for it…
Read More »Asterisk MFC R2
Page Contents Disclaimer New MFC/R2 Library Architecture Getting zaptel set up to use an E1 card for MFC/R2 Getting the libraries installed Testing your MFC/R2 signalling installation Getting Asterisk to work with your MFC/R2 setup Country and carrier…
Read More »Asterisk cmd SayUnixTime
Synopsis Says a date and/or time to the caller. Syntax SayUnixTime(unixtime,timezone,format) Description Uses some of the sound files stored in /var/lib/asterisk/sounds to construct a phrase saying the specified date and/or time in the specified format. unixtime is the…
Read More »Asterisk SIP localnet
Synopsis localnet = net.ip.addr/subnet.mask Description Hosts falling within the network ranges specified by the localnet option will be excluded from any NATing efforts by Asterisk. As a result, the source IP address within the SIP requests/responses will use…
Read More »Asterisk user authentication
There are at least a couple of reasons why you would want to authenticate a user: restrict access to voicemail give authenticated users access to more extensions such as allow them to call in and then make outgoing…
Read More »Asterisk setup minimum
The quest to find the smallest Asterisk hardware Not that its recommended, but just how small a system can you run Asterisk on? A summary from postings on the Asterisk mailing list:: Hints and tips Having Pentium MMX…
Read More »Asterisk codecs allow
Available values all g723 – G.723.1 gsm – GSM ulaw – u-Law alaw – a-Law g726 – G.726-32 adpcm – ADPCM slin – SLIN g729 – G.729 speex – Speex ilbc – iLBC See also Asterisk codecs Variable…
Read More »Asterisk Slimming
Slimming Asterisk Footprint by Eliminating Unneeded Dynamic Modules The stock installation of asterisk results in many dynamically loaded modules, providing the full suite of channel types, codecs, file formats, application commands, and accounting/database interfaces. Eliminating unneeded dynamic modules…
Read More »Asterisk password files
Asterisk passwords are scattered all over the place. In the channels configuration files for clients (phones) In the voicemail system for voicemailboxes In a separate file for the Asterisk cmd Authenticate command In a file for the DISA…
Read More »Asterisk tips simple wake-up call
Yet another wake-up call implementation I put together this perl/AGI script instead of installing one of the others for these reasons: No cron job required Works the same way as the PSTN “built-in” wake-up service has “always” worked…
Read More »Asterisk SIP not-proxy
Why is Asterisk not a SIP Proxy? Asterisk is *not* a SIP proxy. A SIP proxy handles call control on behalf of other user agents (UA) and usually does not maintain state during a call and therefore is…
Read More »