
Asterisk Blog - Page 33
Asterisk cmd UserEvent
UserEvent Synopsis Send an arbitrary event to the manager interface Description UserEvent(eventname[|body]) Sends an arbitrary event to the manager interface, with an optional body representing additional arguments. To split body text to several lines | character could be…
Read More »Asterisk sip qualify
SIP.conf: device configuration – qualify Syntax: qualify=xxx|no|yes where XXX is the number of milliseconds used. If yes the default timeout is used 2 seconds. If you turn on qualify in the configuration of a SIP device in Asterisk config…
Read More »Asterisk cmd ForkCDR
ForkCDR Synopsis Forks the Call Data Record ForkCDR() Causes the Call Data Record to fork an additional cdr record starting from the time of the fork call. This new cdr record will be linked to end of the…
Read More »Asterisk cmd ZapBarge
Synopsis Listen to a Zap channel call Description ZapBarge(channel) Lets you listens to the conversation on a specified Asterisk ZAP channels, or prompts if one is not specified. You can hear them, but they can’t hear you. No…
Read More »Asterisk cmd ResetCDR
Synopsis: Resets the Call Data Record Description: ResetCDR([options]) Causes the Call Data Record to be reset, optionally storing the current CDR before zeroing it out (if ‘w’ option is specifed). A CDR record will be stored for any…
Read More »Asterisk cmd NoCDR
Synopsis: Make sure asterisk doesn’t save CDR for a certain call Description: NoCDR() Makes sure there won’t be any CDR written for a certain call See also CDR Asterisk billing Asterisk cmd ResetCDR Asterisk cmd ForkCDR Asterisk |…
Read More »Asterisk howto dial plan
How to build a dial plan in Asterisk The dial plan is built in extensions.conf and included files. Basic terms A dial plan consists of a number of extensions. Each extensions consists of a number of priorities. Extensions…
Read More »Asterisk channel variable DIALSTATUS
Contains a text string signifying result of the last Asterisk cmd Dial attempt: ANSWER: Call is answered. A successful dial. The caller reached the callee. BUSY: Busy signal. The dial command reached its number but the number is…
Read More »Asterisk E164 Call Routing
How to Store Asterisk Call Routing Information in the DNS One of the limitations of Asterisk is the dialplan definition. While using wildcards such as NXX can be reasonably flexible, for a flexible dialplan, where you might want…
Read More »Asterisk cmd LookupBlacklist
Synopsis: Look up Caller*ID name/number from blacklist database Description: LookupBlacklist Looks up the Caller*ID number on the active channel in the Asterisk database (family ‘blacklist’). If the number is found, and if there exists a priority n +…
Read More »Asterisk sip rtptimeout
rtptimeout Terminate call if 60 seconds of no RTP activity when we’re not on hold. Added in June 2004 to CVS-HEAD Example rtptimeout=60 See also >Asterisk sip rtpholdtimeout AbsoluteTimeout Note from MarkSter’s writing on bugtrack: However, I’ve added…
Read More »Asterisk cdr SQLite
cdr_sqlite Asterisk can store CDR records in a SQLite database, as an alternative to CSV text files and other database formats. Compiling cdr_sqlite.so The module will automatically compile if you have the SQLite library and header files installed….
Read More »Asterisk sip useragent
Customizing User-Agent field in the sip messages. useragent = <string> : Allow the SIP header “User-Agent” to be customized. The default is “Asterisk PBX”. Can only be specified under the [general] section in sip.conf. This is used to…
Read More »Asterisk SIP trustrpid
trustrpid This defines whether or not Remote-Party-ID is trusted. It’s defined in http://tools.ietf.org/id/draft-ietf-sip-privacy-04.txt Usage The following summarises information taken from Part 2 of this May 2010 blog post, based on testing v1.6: https://kb.smartvox.co.uk/asterisk/how-it-works/caller-id-in-sip-and-asterisk-part-1/ https://kb.smartvox.co.uk/asterisk/how-it-works/caller-id-in-sip-and-asterisk-part-2/ P-Asserted-Identity Asterisk does nothing…
Read More »Asterisk cmd Read
Synopsis Read a variable in the form for DTMF tones as pressed by the caller Description As of Asterisk 1.0: Read(variable[|filename][|maxdigits][|option]) As of Asterisk 1.2: Read(variable[|filename][|maxdigits][|option][|attempts][|timeout]) As of Asterisk 1.4: Read(variable[,filename][,maxdigits][,option][,attempts][,timeout]) Reads a #-terminated string of digits a…
Read More »