CHANGES 106 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886
  1. ==============================================================================
  2. ===
  3. === This file documents the new and/or enhanced functionality added in
  4. === the Asterisk versions listed below. This file does NOT include
  5. === changes in behavior that would not be backwards compatible with
  6. === previous versions; for that information see the UPGRADE.txt file
  7. === and the other UPGRADE files for older releases.
  8. ===
  9. ==============================================================================
  10. ------------------------------------------------------------------------------
  11. --- Functionality changes from Asterisk 1.8 to Asterisk 1.10 -----------------
  12. ------------------------------------------------------------------------------
  13. Text Messaging
  14. --------------
  15. * Asterisk now has protocol independent support for processing text messages
  16. outside of a call. Messages are routed through the Asterisk dialplan.
  17. SIP MESSAGE and XMPP are currently supported. There are options in
  18. jabber.conf and sip.conf to allow enabling these features.
  19. -> jabber.conf: see the "sendtodialplan" and "context" options.
  20. -> sip.conf: see the "accept_outofcall_message", "auth_message_requests"
  21. and "outofcall_message_context" options.
  22. The MESSAGE() dialplan function and MessageSend() application have been
  23. added to go along with this functionality. More detailed usage information
  24. can be found on the Asterisk wiki (http://wiki.asterisk.org/).
  25. Parking
  26. -------
  27. * parkedmusicclass can now be set for non-default parking lots.
  28. * ParkedCall application can now specify a specific parkinglot.
  29. Asterisk Manager Interface
  30. --------------------------
  31. * PeerStatus now includes Address and Port.
  32. * Added Hold events for when the remote party puts the call on and off hold
  33. for chan_dahdi ISDN channels.
  34. * Added new action MeetmeListRooms to list active conferences (shows same
  35. data as "meetme list" at the CLI).
  36. * DAHDIShowChannels, SIPshowpeer, SIPpeers, and IAXpeers now contains a
  37. Description field that is set by 'description' in the channel configuration
  38. file.
  39. * Added Uniqueid header to UserEvent.
  40. * Added new action FilterAdd to control event filters for the current session.
  41. This requires the system permission and uses the same filter syntax as
  42. filters that can be defined in manager.conf
  43. Asterisk HTTP Server
  44. --------------------------
  45. * The HTTP Server can bind to IPv6 addresses.
  46. chan_dahdi
  47. --------------------------
  48. * Busy tone patterns featuring 2 silence and 2 tone lengths can now be used
  49. with busydetect. usage example: busypattern=200,200,200,600
  50. CLI Changes
  51. --------------------------
  52. * New 'gtalk show settings' command showing the current settings loaded from
  53. gtalk.conf.
  54. * The 'logger reload' command now supports an optional argument, specifying an
  55. alternate configuration file to use.
  56. * 'dialplan add extension' command will now automatically create a context if
  57. the specified context does not exist with a message indicated it did so.
  58. * 'sip show peers', 'iax show peers', and 'dahdi show peers' now contains a
  59. Description field which can be populated with 'description' in the channel
  60. configuration files (sip.conf, iax2.conf, and chan_dahdi.conf).
  61. CDR
  62. --------------------------
  63. * The filter option in cdr_adaptive_odbc now supports negating the argument,
  64. thus allowing records which do NOT match the specified filter.
  65. CODECS
  66. --------------------------
  67. * Ability to define custom SILK formats in codecs.conf.
  68. * Addition of speex32 audio format with translation.
  69. * CELT codec pass-through support and ability to define
  70. custom CELT formats in codecs.conf.
  71. * Ability to read raw signed linear files with sample rates
  72. ranging from 8khz - 192khz. The new file extensions introduced
  73. are .sln12, .sln24, .sln32, .sln44, .sln48, .sln96, .sln192.
  74. ConfBridge
  75. --------------------------
  76. * New highly optimized and customizable ConfBridge application capable of
  77. mixing audio at sample rates ranging from 8khz-96khz.
  78. * CONFBRIDGE dialplan function capable of creating dynamic ConfBridge user
  79. and bridge profiles on a channel.
  80. * CONFBRIDGE_INFO dialplan function capable of retrieving information
  81. about a conference such as locked status and number of parties, admins,
  82. and marked users.
  83. * Addition of video_mode option in confbridge.conf for adding video support
  84. into a bridge profile.
  85. * Addition of the follow_talker video_mode in confbridge.conf. This video
  86. mode dynamically switches the video feed to always display the loudest talker
  87. supplying video in the conference.
  88. Dialplan Variables
  89. ------------------
  90. * Added ASTETCDIR, ASTMODDIR, ASTVARLIBDIR, ASTDBDIR, ASTKEYDIR, ASTDATADIR,
  91. ASTAGIDIR, ASTSPOOLDIR, ASTRUNDIR, ASTLOGDIR which hold the equivalent
  92. variables from asterisk.conf.
  93. Dialplan Functions
  94. ------------------
  95. * Addition of the JITTERBUFFER dialplan function. This function allows
  96. for jitterbuffering to occur on the read side of a channel. By using
  97. this function conference applications such as ConfBridge and MeetMe can
  98. have the rx streams jitterbuffered before conference mixing occurs.
  99. * Added DB_KEYS, which lists the next set of keys in the Asterisk database
  100. hierarchy.
  101. * Added STRREPLACE function. This function let's the user search a variable
  102. for a given string to replace with another string as many times as the
  103. user specifies or just throughout the whole string.
  104. * Added option to CHANNEL(pickupgroup) allow reading and setting the pickupgroup of channel.
  105. libpri channel driver (chan_dahdi) DAHDI changes
  106. --------------------------
  107. * Added moh_signaling option to specify what to do when the channel's bridged
  108. peer puts the ISDN channel on hold.
  109. * Added display_send and display_receive options to control how the display ie
  110. is handled. To send display text from the dialplan use the SendText()
  111. application when the option is enabled.
  112. * Added mcid_send option to allow sending a MCID request on a span.
  113. Calendaring
  114. --------------------------
  115. * Added setvar option to calendar.conf to allow setting channel variables on
  116. notification channels.
  117. * Added "calendar show types" CLI command to list registered calendar
  118. connectors.
  119. MixMonitor
  120. --------------------------
  121. * Added two new options, r and t with file name arguments to record
  122. single direction (unmixed) audio recording separate from the bidirectional
  123. (mixed) recording. The mixed file name argument is optional now as long
  124. as at least one recording option is used.
  125. FollowMe
  126. --------------------------
  127. * Added a new option, l, which will disable local call optimization for
  128. channels involved with the FollowMe thread. Use this option to improve
  129. compatability for a FollowMe call with certain dialplan apps, options, and
  130. functions.
  131. CEL
  132. --------------------------
  133. * cel_pgsql now supports the 'extra' column for data added using the
  134. CELGenUserEvent() application.
  135. pbx_lua
  136. --------------------------
  137. * Support for defining hints has been added to pbx_lua. See the 'hints' table
  138. in the sample extensions.lua file for syntax details.
  139. * Applications that perform jumps in the dialplan such as Goto will now
  140. execute properly. When pbx_lua detects that the context, extension, or
  141. priority we are executing on has changed it will immediately return control
  142. to the asterisk PBX engine. Currently the engine cannot detect a Goto to
  143. the priority after the currently executing priority.
  144. * An autoservice is now started by default for pbx_lua channels. It can be
  145. stopped and restarted using the autoservice_stop() and autoservice_start()
  146. functions.
  147. res_fax
  148. --------------------------
  149. * The ReceiveFAXStatus and SendFAXStatus manager events have been consolidated
  150. into a FAXStatus event with an 'Operation' header that will be either
  151. 'send', 'receive', and 'gateway'.
  152. * T.38 gateway functionality has been added to res_fax (and res_fax_spandsp).
  153. Set FAXOPT(gateway)=yes to enable this functionality on a channel. This
  154. feature will handle converting a fax call between an audio T.30 fax terminal
  155. and an IFP T.38 fax terminal.
  156. SIP Changes
  157. -----------
  158. * Add T38 support for REJECTED state where T.38 Negotiation is explicitly rejected.
  159. Queue changes
  160. -------------
  161. * Added general option negative_penalty_invalid default off. when set
  162. members are seen as invalid/logged out when there penalty is negative.
  163. for realtime members when set remove from queue will set penalty to -1.
  164. * Added queue option autopausedelay when autopause is enabled it will be
  165. delayed for this number of seconds since last successful call if there
  166. was no prior call the agent will be autopaused immediately.
  167. * Added member option ignorebusy this when set and ringinuse is not
  168. will allow per member control of multiple calls as ringinuse does for
  169. the Queue.
  170. Applications
  171. ------------
  172. * Added 'v' option to MeetMe to play voicemail greetings when a user joins/leaves
  173. a MeetMe conference
  174. * Added ability to include '@parkinglot' to ParkedCall extension in order to specify
  175. a specific parkinglot on which to search the extension.
  176. Asterisk Database
  177. -----------------
  178. * The internal Asterisk database has been switched from Berkeley DB 1.86 to
  179. SQLite 3. An existing Berkeley astdb file can be converted with the astdb2sqlite3
  180. utility in the UTILS section of menuselect. If an existing astdb is found and no
  181. astdb.sqlite3 exists, astdb2sqlite3 will be compiled automatically. Asterisk will
  182. convert an existing astdb to the SQLite3 version automatically at runtime.
  183. Asterisk Modules
  184. ----------------
  185. * Modules marked as deprecated are no longer marked as building by default. Enabling
  186. these modules is still available via menuselect.
  187. ------------------------------------------------------------------------------
  188. --- Functionality changes from Asterisk 1.6.2 to Asterisk 1.8 ----------------
  189. ------------------------------------------------------------------------------
  190. SIP Changes
  191. -----------
  192. * Added preferred_codec_only option in sip.conf. This feature limits the joint
  193. codecs sent in response to an INVITE to the single most preferred codec.
  194. * Added SIP_CODEC_OUTBOUND dialplan variable which can be used to set the codec
  195. to be used for the outgoing call. It must be one of the codecs configured
  196. for the device.
  197. * Added tlsprivatekey option to sip.conf. This allows a separate .pem file
  198. to be used for holding a private key. If tlsprivatekey is not specified,
  199. tlscertfile is searched for both public and private key.
  200. * Added tlsclientmethod option to sip.conf. This allows the protocol for
  201. outbound client connections to be specified.
  202. * The sendrpid parameter has been expanded to include the options
  203. 'rpid' and 'pai'. Setting sendrpid to 'rpid' will cause Remote-Party-ID
  204. header to be sent (equivalent to setting sendrpid=yes) and setting
  205. sendrpid to 'pai' will cause P-Asserted-Identity header to be sent.
  206. * The 'ignoresdpversion' behavior has been made automatic when the SDP received
  207. is in response to a T.38 re-INVITE that Asterisk initiated. In this situation,
  208. since the call will fail if Asterisk does not process the incoming SDP, Asterisk
  209. will accept the SDP even if the SDP version number is not properly incremented,
  210. but will generate a warning in the log indicating that the SIP peer that sent
  211. the SDP should have the 'ignoresdpversion' option set.
  212. * The 'nat' option has now been been changed to have yes, no, force_rport, and
  213. comedia as valid values. Setting it to yes forces RFC 3581 behavior and enables
  214. symmetric RTP support. Setting it to no only enables RFC 3581 behavior if the
  215. remote side requests it and disables symmetric RTP support. Setting it to
  216. force_rport forces RFC 3581 behavior and disables symmetric RTP support.
  217. Setting it to comedia enables RFC 3581 behavior if the remote side requests it
  218. and enables symmetric RTP support.
  219. * Slave SIP channels now set HASH(SIP_CAUSE,<slave-channel-name>) on each
  220. response. This permits the master channel to know how each channel dialled
  221. in a multi-channel setup resolved in an individual way.
  222. * Added 'externtcpport' and 'externtlsport' options to allow custom port
  223. configuration for the externip and externhost options when tcp or tls is used.
  224. * Added support for message body (stored in content variable) to SIP NOTIFY message
  225. accessible via AMI and CLI.
  226. * Added 'media_address' configuration option which can be used to explicitly specify
  227. the IP address to use in the SDP for media (audio, video, and text) streams.
  228. * Added 'unsolicited_mailbox' configuration option which specifies the virtual mailbox
  229. that the new/old count should be stored on if an unsolicited MWI NOTIFY message is
  230. received.
  231. * Added 'use_q850_reason' configuration option for generating and parsing
  232. if available Reason: Q.850;cause=<cause code> header. It is implemented
  233. in some gateways for better passing PRI/SS7 cause codes via SIP.
  234. * When dialing SIP peers, a new component may be added to the end of the dialstring
  235. to indicate that a specific remote IP address or host should be used when dialing
  236. the particular peer. The dialstring format is SIP/peer/exten/host_or_IP.
  237. * SRTP SDES support for encrypting calls to/from Asterisk over SIP. The
  238. ability to selectively force bridged channels to also be encrypted is also
  239. implemented. Branching in the dialplan can be done based on whether or not
  240. a channel has secure media and/or signaling.
  241. * Added directmediapermit/directmediadeny to limit which peers can send direct media
  242. to each other
  243. * Added the 'snom_aoc_enabled' option to turn on support for sending Advice of
  244. Charge messages to snom phones.
  245. * Added support for G.719 media streams.
  246. * Added support for 16khz signed linear media streams.
  247. * SIP is now able to bind to and communicate with IPv6 addresses. In addition,
  248. RTP has been outfitted with the same abilities.
  249. * Added support for setting the Max-Forwards: header in SIP requests. Setting is
  250. available in device configurations as well as in the dial plan.
  251. * Addition of the 'subscribe_network_change' option for turning on and off
  252. res_stun_monitor module support in chan_sip.
  253. * Addition of the 'auth_options_requests' option for turning on and off
  254. authentication for OPTIONS requests in chan_sip.
  255. IAX2 Changes
  256. -----------
  257. * Added rtsavesysname option into iax.conf to allow the systname to be saved
  258. on realtime updates.
  259. * Added the ability for chan_iax2 to inform the dialplan whether or not
  260. encryption is being used. This interoperates with the SIP SRTP implementation
  261. so that a secure SIP call can be bridged to a secure IAX call when the
  262. dialplan requires bridged channels to be "secure".
  263. * Addition of the 'subscribe_network_change' option for turning on and off
  264. res_stun_monitor module support in chan_iax.
  265. MGCP Changes
  266. ------------
  267. * Added ability to preset channel variables on indicated lines with the setvar
  268. configuration option. Also, clearvars=all resets the list of variables back
  269. to none.
  270. * PacketCable NCS 1.0 support has been added for Docsis/Eurodocsis Networks.
  271. See configs/res_pktccops.conf for more information.
  272. XMPP Google Talk/Jingle changes
  273. -------------------------------
  274. * Added the externip option to gtalk.conf.
  275. * Added the stunaddr option to gtalk.conf which allows for the automatic
  276. retrieval of the external ip from a stun server.
  277. Applications
  278. ------------
  279. * Added 'p' option to PickupChan() to allow for picking up channel by the first
  280. match to a partial channel name.
  281. * Added .m3u support for Mp3Player application.
  282. * Added progress option to the app_dial D() option. When progress DTMF is
  283. present, those values are sent immediately upon receiving a PROGRESS message
  284. regardless if the call has been answered or not.
  285. * Added functionality to the app_dial F() option to continue with execution
  286. at the current location when no parameters are provided.
  287. * Added the 'a' option to app_dial to answer the calling channel before any
  288. announcements or macros are executed.
  289. * Modified app_dial to set answertime when the called channel answers even if
  290. the called channel hangs up during playback of an announcement.
  291. * Modified app_dial 'r' option to support an additional parameter to play an
  292. indication tone from indications.conf
  293. * Added c() option to app_chanspy. This option allows custom DTMF to be set
  294. to cycle through the next available channel. By default this is still '*'.
  295. * Added x() option to app_chanspy. This option allows DTMF to be set to
  296. exit the application.
  297. * The Voicemail application has been improved to automatically ignore messages
  298. that only contain silence.
  299. * If you set maxmsg to 0 in voicemail.conf, Voicemail will consider the
  300. associated mailbox(es) to be greetings-only.
  301. * The ChanSpy application now has the 'S' option, which makes the application
  302. automatically exit once it hits a point where no more channels are available
  303. to spy on.
  304. * The ChanSpy application also now has the 'E' option, which spies on a single
  305. channel and exits when that channel hangs up.
  306. * The MeetMe application now turns on the DENOISE() function by default, for
  307. each participant. In our tests, this has significantly decreased background
  308. noise (especially noisy data centers).
  309. * Voicemail now permits storage of secrets in a separate file, located in the
  310. spool directory of each individual user. The control for this is located in
  311. the "passwordlocation" option in voicemail.conf. Please see the sample
  312. configuration for more information.
  313. * The ChanIsAvail application now exposes the returned cause code using a separate
  314. variable, AVAILCAUSECODE, instead of overwriting the device state in AVAILSTATUS.
  315. * Added 'd' option to app_followme. This option disables the "Please hold"
  316. announcement.
  317. * Added 'y' option to app_record. This option enables a mode where any DTMF digit
  318. received will terminate recording.
  319. * Voicemail now supports per mailbox settings for folders when using IMAP storage.
  320. Previously the folder could only be set per context, but has now been extended
  321. using the imapfolder option.
  322. * Voicemail now supports per mailbox settings for nextaftercmd and minsecs.
  323. * Voicemail now allows the pager date format to be specified separately from the
  324. email date format.
  325. * New applications JabberJoin, JabberLeave, and JabberSendGroup have been added
  326. to allow joining, leaving, and sending text to group chats.
  327. * MeetMe has a new option 'G' to play an announcement before joining a conference.
  328. * Page has a new option 'A(x)' which will playback an announcement simultaneously
  329. to all paged phones (and optionally excluding the caller's one using the new
  330. option 'n') before the call is bridged.
  331. * The 'f' option to Dial has been augmented to take an optional argument. If no
  332. argument is provided, the 'f' option works as it always has. If an argument is
  333. provided, then the connected party information of all outgoing channels created
  334. during the Dial will be set to the argument passed to the 'f' option.
  335. * Dial now inherits the GOSUB_RETVAL from the peer, when the U() option runs a
  336. Gosub on the peer.
  337. * The OSP lookup application adds in/outbound network ID, optional security,
  338. number portability, QoS reporting, destination IP port, custom info and service
  339. type features.
  340. * Added new application VMSayName that will play the recorded name of the voicemail
  341. user if it exists, otherwise will play the mailbox number.
  342. * Added custom device states to ConfBridge bridges. Use 'confbridge:<name>' to
  343. retrieve state for a particular bridge, where <name> is the conference name
  344. * app_directory now allows exiting at any time using the operator or pound key.
  345. * Voicemail now supports setting a locale per-mailbox.
  346. * Two new applications are provided for declining counting phrases in multiple
  347. languages. See the application notes for SayCountedNoun and SayCountedAdj for
  348. more information.
  349. * Voicemail now runs the externnotify script when pollmailboxes is activated and
  350. notices a change.
  351. * Voicemail now includes rdnis within msgXXXX.txt file.
  352. * Added 'D' command to ExternalIVR full details in doc/externalivr.txt
  353. Dialplan Functions
  354. ------------------
  355. * SRVQUERY and SRVRESULT functions added. This can be used to query and iterate
  356. over SRV records associated with a specific service. From the CLI, type
  357. 'core show function SRVQUERY' and 'core show function SRVRESULT' for more
  358. details on how these may be used.
  359. * PITCH_SHIFT dialplan function added. This function can be used to modify the
  360. pitch of a channel's tx and rx audio streams.
  361. * Added new dialplan functions CONNECTEDLINE and REDIRECTING which permits
  362. setting various connected line and redirecting party information.
  363. * CALLERID and CONNECTEDLINE dialplan functions have been extended to
  364. support ISDN subaddressing.
  365. * The CHANNEL() function now supports the "name" and "checkhangup" options.
  366. * For DAHDI channels, the CHANNEL() dialplan function now allows
  367. the dialplan to request changes in the configuration of the active
  368. echo canceller on the channel (if any), for the current call only.
  369. The syntax is:
  370. exten => s,n,Set(CHANNEL(echocan_mode)=off)
  371. The possible values are:
  372. on - normal mode (the echo canceller is actually reinitialized)
  373. off - disabled
  374. fax - FAX/data mode (NLP disabled if possible, otherwise completely
  375. disabled)
  376. voice - voice mode (returns from FAX mode, reverting the changes that
  377. were made when FAX mode was requested)
  378. * Added new dialplan function MASTER_CHANNEL(), which permits retrieving
  379. and setting variables on the channel which created the current channel.
  380. Administrators should take care to avoid naming conflicts, when multiple
  381. channels are dialled at once, especially when used with the Local channel
  382. construct (which all could set variables on the master channel). Usage
  383. of the HASH() dialplan function, with the key set to the name of the slave
  384. channel, is one approach that will avoid conflicts.
  385. * Added new dialplan function MUTEAUDIO() for muting inbound and/or outbound
  386. audio in a channel.
  387. * func_odbc now allows multiple row results to be retrieved without using
  388. mode=multirow. If rowlimit is set, then additional rows may be retrieved
  389. from the same query by using the name of the function which retrieved the
  390. first row as an argument to ODBC_FETCH().
  391. * Added JABBER_RECEIVE, which permits receiving XMPP messages from the
  392. dialplan. This function returns the content of the received message.
  393. * Added REPLACE, which searches a given variable name for a set of characters,
  394. then either replaces them with a single character or deletes them.
  395. * Added PASSTHRU, which literally passes the same argument back as its return
  396. value. The intent is to be able to use a literal string argument to
  397. functions that currently require a variable name as an argument.
  398. * HASH-associated variables now can be inherited across channel creation, by
  399. prefixing the name of the hash at assignment with the appropriate number of
  400. underscores, just like variables.
  401. * GROUP_MATCH_COUNT has been improved to allow regex matching on category
  402. * CHANNEL(secure_bridge_signaling) and CHANNEL(secure_bridge_media) to set/get
  403. whether or not channels that are bridged to the current channel will be
  404. required to have secure signaling and/or media.
  405. * CHANNEL(secure_signaling) and CHANNEL(secure_media) to get whether or not
  406. the current channel has secure signaling and/or media.
  407. * For DAHDI/ISDN channels, the CHANNEL() dialplan function now supports the
  408. "no_media_path" option.
  409. Returns "0" if there is a B channel associated with the call.
  410. Returns "1" if no B channel is associated with the call. The call is either
  411. on hold or is a call waiting call.
  412. * Added option to dialplan function CDR(), the 'f' option
  413. allows for high resolution times for billsec and duration fields.
  414. * FILE() now supports line-mode and writing.
  415. * Added FIELDNUM(), which returns the 1-based offset of a field in a list.
  416. * FRAME_TRACE(), for tracking internal ast_frames on a channel.
  417. Dialplan Variables
  418. ------------------
  419. * Added DYNAMIC_FEATURENAME which holds the last triggered dynamic feature.
  420. * Added DYNAMIC_PEERNAME which holds the unique channel name on the other side
  421. and is set when a dynamic feature is triggered.
  422. * Added PARKINGLOT which can be used with parkeddynamic feature.conf option
  423. to dynamically create a new parking lot matching the value this varible is
  424. set to.
  425. * Added PARKINGDYNAMIC which represents the template parkinglot defined in
  426. features.conf that should be the base for dynamic parkinglots.
  427. * Added PARKINGDYNCONTEXT which tells what context a newly created dynamic
  428. parkinglot should have.
  429. * Added PARKINGDYNPOS which holds what parking positions a dynamic parkinglot
  430. should have.
  431. Queue changes
  432. -------------
  433. * Added "ready" option to QUEUE_MEMBER counting to count free agents whose wrap-up
  434. timeout has expired.
  435. * Added 'R' option to app_queue. This option stops moh and indicates ringing
  436. to the caller when an Agent's phone is ringing. This can be used to indicate
  437. to the caller that their call is about to be picked up, which is nice when
  438. one has been on hold for an extened period of time.
  439. * A new config option, penaltymemberslimit, has been added to queues.conf.
  440. When set this option will disregard penalty settings when a queue has too
  441. few members.
  442. * A new option, 'I' has been added to both app_queue and app_dial.
  443. By setting this option, Asterisk will not update the caller with
  444. connected line changes or redirecting party changes when they occur.
  445. * A 'relative-peroidic-announce' option has been added to queues.conf. When
  446. enabled, this option will cause periodic announce times to be calculated
  447. from the end of announcements rather than from the beginning.
  448. * The autopause option in queues.conf can be passed a new value, "all." The
  449. result is that if a member becomes auto-paused, he will be paused in all
  450. queues for which he is a member, not just the queue that failed to reach
  451. the member.
  452. * Added dialplan function QUEUE_EXISTS to check if a queue exists
  453. * The queue logger now allows events to optionally propagate to a file,
  454. even when realtime logging is turned on. Additionally, realtime logging
  455. supports sending the event arguments to 5 individual fields, although it
  456. will fallback to the previous data definition, if the new table layout is
  457. not found.
  458. mISDN channel driver (chan_misdn) changes
  459. ----------------------------------------
  460. * Added display_connected parameter to misdn.conf to put a display string
  461. in the CONNECT message containing the connected name and/or number if
  462. the presentation setting permits it.
  463. * Added display_setup parameter to misdn.conf to put a display string
  464. in the SETUP message containing the caller name and/or number if the
  465. presentation setting permits it.
  466. * Made misdn.conf parameters localdialplan and cpndialplan take a -1 to
  467. indicate the dialplan settings are to be obtained from the asterisk
  468. channel.
  469. * Made misdn.conf parameter callerid accept the "name" <number> format
  470. used by the rest of the system.
  471. * Made use the nationalprefix and internationalprefix misdn.conf
  472. parameters to prefix any received number from the ISDN link if that
  473. number has the corresponding Type-Of-Number. NOTE: This includes
  474. comparing the incoming call's dialed number against the MSN list.
  475. * Added the following new parameters: unknownprefix, netspecificprefix,
  476. subscriberprefix, and abbreviatedprefix in misdn.conf to prefix any
  477. received number from the ISDN link if that number has the corresponding
  478. Type-Of-Number.
  479. * Added new dialplan application misdn_command which permits controlling
  480. the CCBS/CCNR functionality.
  481. * Added new dialplan function mISDN_CC which permits retrieval of various
  482. values from an active call completion record.
  483. * For PTP, you should manually send the COLR of the redirected-to party
  484. for an incomming redirected call if the incoming call could experience
  485. further redirects. Just set the REDIRECTING(to-num,i) = ${EXTEN} and
  486. set the REDIRECTING(to-pres) to the COLR. A call has been redirected
  487. if the REDIRECTING(from-num) is not empty.
  488. * For outgoing PTP redirected calls, you now need to use the inhibit(i)
  489. option on all of the REDIRECTING statements before dialing the
  490. redirected-to party. You still have to set the REDIRECTING(to-xxx,i)
  491. and the REDIRECTING(from-xxx,i) values. The PTP call will update the
  492. redirecting-to presentation (COLR) when it becomes available.
  493. * Added outgoing_colp parameter to misdn.conf to filter outgoing COLP
  494. information.
  495. thirdparty mISDN enhancements
  496. -----------------------------
  497. mISDN has been modified by Digium, Inc. to greatly expand facility message
  498. support to allow:
  499. * Enhanced COLP support for call diversion and transfer.
  500. * CCBS/CCNR support.
  501. The latest modified mISDN v1.1.x based version is available at:
  502. http://svn.digium.com/svn/thirdparty/mISDN/trunk
  503. http://svn.digium.com/svn/thirdparty/mISDNuser/trunk
  504. Tagged versions of the modified mISDN code are available under:
  505. http://svn.digium.com/svn/thirdparty/mISDN/tags
  506. http://svn.digium.com/svn/thirdparty/mISDNuser/tags
  507. libpri channel driver (chan_dahdi) DAHDI changes
  508. -------------------------------------------
  509. * The channel variable PRIREDIRECTREASON is now just a status variable
  510. and it is also deprecated. Use the REDIRECTING(reason) dialplan function
  511. to read and alter the reason.
  512. * For Q.SIG and ETSI PRI/BRI-PTP, you should manually send the COLR of the
  513. redirected-to party for an incomming redirected call if the incoming call
  514. could experience further redirects. Just set the
  515. REDIRECTING(to-num,i) = CALLERID(dnid) and set the REDIRECTING(to-pres)
  516. to the COLR. A call has been redirected if the REDIRECTING(count) is not
  517. zero.
  518. * For outgoing Q.SIG and ETSI PRI/BRI-PTP redirected calls, you need to
  519. use the inhibit(i) option on all of the REDIRECTING statements before
  520. dialing the redirected-to party. You still have to set the
  521. REDIRECTING(to-xxx,i) and the REDIRECTING(from-xxx,i) values. The call
  522. will update the redirecting-to presentation (COLR) when it becomes available.
  523. * Added the ability to ignore calls that are not in a Multiple Subscriber
  524. Number (MSN) list for PTMP CPE interfaces.
  525. * Added dynamic range compression support for dahdi channels. It is
  526. configured via the rxdrc and txdrc parameters in chan_dahdi.conf.
  527. * Added support for ISDN calling and called subaddress with partial support
  528. for connected line subaddress.
  529. * Added support for BRI PTMP NT mode. (Requires latest LibPRI.)
  530. * Added handling of received HOLD/RETRIEVE messages and the optional ability
  531. to transfer a held call on disconnect similar to an analog phone.
  532. * Added CallRerouting/CallDeflection support for Q.SIG, ETSI PTP, ETSI PTMP.
  533. Will reroute/deflect an outgoing call when receive the message.
  534. Can use the DAHDISendCallreroutingFacility to send the message for the
  535. supported switches.
  536. * Added standard location to add options to chan_dahdi dialing:
  537. Dial(DAHDI/g1[/extension[/options]])
  538. Current options:
  539. K(<keypad_digits>)
  540. R Reverse charging indication
  541. * Added Reverse Charging Indication (Collect calls) send/receive option.
  542. Send reverse charging in SETUP message with the chan_dahdi R dialing option.
  543. Dial(DAHDI/g1/extension/R)
  544. Access received reverse charge in SETUP message by: ${CHANNEL(reversecharge)}
  545. (requires latest LibPRI)
  546. * Added ability to send/receive keypad digits in the SETUP message.
  547. Send keypad digits in SETUP message with the chan_dahdi K(<keypad_digits>)
  548. dialing option. Dial(DAHDI/g1/[extension]/K(<keypad_digits>))
  549. Access any received keypad digits in SETUP message by: ${CHANNEL(keypad_digits)}
  550. (requires latest LibPRI)
  551. * Added ability to send and receive ETSI Explicit Call Transfer (ECT) messages
  552. to eliminate tromboned calls. A tromboned call goes out an interface and comes
  553. back into the same interface. Tromboned calls happen because of call routing,
  554. call deflection, call forwarding, and call transfer.
  555. * Added the ability to send and receive ETSI Advice-Of-Charge messages.
  556. * Added the ability to support call waiting calls. (The SETUP has no B channel
  557. assigned.)
  558. * Added Malicious Call ID (MCID) event to the AMI call event class.
  559. * Added Message Waiting Indication (MWI) support for ISDN PTMP endpoints (phones).
  560. Asterisk Manager Interface
  561. --------------------------
  562. * The Hangup action now accepts a Cause header which may be used to
  563. set the channel's hangup cause.
  564. * sslprivatekey option added to manager.conf and http.conf. Adds the ability
  565. to specify a separate .pem file to hold a private key. By default sslcert
  566. is used to hold both the public and private key.
  567. * Options in manager.conf and http.conf with the 'ssl' prefix have been replaced
  568. for options containing the 'tls' prefix. For example, 'sslenable' is now
  569. 'tlsenable'. This has been done in effort to keep ssl and tls options consistent
  570. across all .conf files. All affected sample.conf files have been modified to
  571. reflect this change. Previous options such as 'sslenable' still work,
  572. but options with the 'tls' prefix are preferred.
  573. * Added a MuteAudio AMI action for muting inbound and/or outbound audio
  574. in a channel. (res_mutestream.so)
  575. * The configuration file manager.conf now supports a channelvars option, which
  576. specifies a list of channel variables to include in each channel-oriented
  577. event.
  578. * The redirect command now has new parameters ExtraContext, ExtraExtension,
  579. and ExtraPriority to allow redirecting the second channel to a different
  580. location than the first.
  581. * Added new event "JabberStatus" in the Jabber module to monitor buddies
  582. status.
  583. * Added a "MixMonitorMute" AMI action for muting inbound and/or outbound audio
  584. in a MixMonitor recording.
  585. * The 'iax2 show peers' output is now similar to the expected output of
  586. 'sip show peers'.
  587. * Added Advice-Of-Charge events (AOC-S, AOC-D, and AOC-E) in the new
  588. aoc event class.
  589. * Added Advice-Of-Charge manager action, AOCMessage, for generating AOC-D and
  590. AOC-E messages on a channel.
  591. * A DBGetComplete event now follows a DBGetResponse, to make the DBGet action
  592. conform more closely to similar events.
  593. * Added a new eventfilter option per user to allow whitelisting and blacklisting
  594. of events.
  595. * Added optional parkinglot variable for park command.
  596. * Added ConnectedLineNum and ConnectedLineName headers to AMI events/responses
  597. if CallerIDNum and CallerIDName headers are also present.
  598. Channel Event Logging
  599. ---------------------
  600. * A new interface, CEL, is introduced here. CEL logs single events, much like
  601. the AMI, but it differs from the AMI in that it logs to db backends much
  602. like CDR does; is based on the event subsystem introduced by Russell, and
  603. can share in all its benefits; allows multiple backends to operate like CDR;
  604. is specialized to event data that would be of concern to billing sytems,
  605. like CDR. Backends for logging and accounting calls have been produced,
  606. but a new CDR backend is still in development.
  607. CDR
  608. ---
  609. * 'linkedid' and 'peeraccount' are new CDR fields available to CDR aficionados.
  610. linkedid is based on uniqueID, but spreads to other channels as transfers, dials,
  611. etc are performed. Thus the pieces of CDR can be grouped into multilegged sets.
  612. * Multiple files and formats can now be specified in cdr_custom.conf.
  613. * cdr_syslog has been added which allows CDRs to be written directly to syslog.
  614. See configs/cdr_syslog.conf.sample for more information.
  615. * A 'sequence' field has been added to CDRs which can be combined with
  616. linkedid or uniqueid to uniquely identify a CDR.
  617. * Handling of billsec and duration field has changed. If your table definition
  618. specifies those fields as float,double or similar they will now be logged with
  619. microsecond accuracy instead of a whole integer.
  620. Calendaring for Asterisk
  621. ------------------------
  622. * A new set of modules were added supporing calendar integration with Asterisk.
  623. Dialplan functions for reading from and writing to calendars are included,
  624. as well as the ability to execute dialplan logic upon calendar event notifications.
  625. iCalendar, CalDAV, and Exchange Server calendars (via res_calendar_exchange for
  626. Exchange Server 2003 with no write or attendee support, and res_calendar_ews for
  627. Exchange Server 2007+ with full write and attendee support) are supported (Exchange
  628. 2003 support does not support forms-based authentication).
  629. Call Completion Supplementary Services for Asterisk
  630. ---------------------------------------------------
  631. * Call completion support has been added for SIP, DAHDI/ISDN, and DAHDI/analog.
  632. DAHDI/ISDN supports call completion for the following switch types:
  633. EuroIsdn(ETSI) for PTP and PTMP modes, and Qsig.
  634. See doc/CCSS_architecture.pdf and doc/tex/ccss.tex(asterisk.pdf) for details.
  635. Multicast RTP Support
  636. ---------------------
  637. * A new RTP engine and channel driver have been added which supports Multicast RTP.
  638. The channel driver can be used with the Page application to perform multicast RTP
  639. paging. The dial string format is: MulticastRTP/<type>/<destination>/<control address>
  640. Type can be either basic or linksys.
  641. Destination is the IP address and port for the RTP packets.
  642. Control address is specific to the linksys type and is used for sending the control
  643. packets unique to them.
  644. Security Events Framework
  645. -------------------------
  646. * Asterisk has a new C API for reporting security events. The module res_security_log
  647. sends these events to the "security" logger level. Currently, AMI is the only
  648. Asterisk component that reports security events. However, SIP support will be
  649. coming soon. For more information on the security events framework, see the
  650. "Security Events" chapter of the included documentation - doc/tex/asterisk.pdf.
  651. Fax
  652. ---
  653. * A technology independent fax frontend (res_fax) has been added to Asterisk.
  654. * A spandsp based fax backend (res_fax_spandsp) has been added.
  655. * The app_fax module has been deprecated in favor of the res_fax module and
  656. the new res_fax_spandsp backend.
  657. * The SendFAX and ReceiveFAX applications now send their log messages to a
  658. 'fax' logger level, instead of to the generic logger levels. To see these
  659. messages, the system's logger.conf file will need to direct the 'fax' logger
  660. level to one or more destinations; the logger.conf.sample file includes an
  661. example of how to do this. Note that if the 'fax' logger level is *not*
  662. directed to at least one destination, log messages generated by these
  663. applications will be lost, and that if the 'fax' logger level is directed to
  664. the console, the 'core set verbose' and 'core set debug' CLI commands will
  665. have no effect on whether the messages appear on the console or not.
  666. Miscellaneous
  667. -------------
  668. * The transmit_silence_during_record option in asterisk.conf.sample has been removed.
  669. Now, in order to enable transmitting silence during record the transmit_silence
  670. option should be used. transmit_silence_during_record remains a valid option, but
  671. defaults to the behavior of the transmit_silence option.
  672. * Addition of the Unit Test Framework API for managing registration and execution
  673. of unit tests with the purpose of verifying the operation of C functions.
  674. * SendText is now implemented in chan_gtalk and chan_jingle. It will simply send
  675. XMPP text messages to the remote JID.
  676. * Modules.conf has a new option - "require" - that marks a module as critical for
  677. the execution of Asterisk.
  678. If one of the required modules fail to load, Asterisk will exit with a return
  679. code set to 2.
  680. * An 'X' option has been added to the asterisk application which enables #exec support.
  681. This allows #exec to be used in asterisk.conf.
  682. * jabber.conf supports a new option auth_policy that toggles auto user registration.
  683. * A new lockconfdir option has been added to asterisk.conf to protect the
  684. configuration directory (/etc/asterisk by default) during reloads.
  685. * The parkeddynamic option has been added to features.conf to enable the creation
  686. of dynamic parkinglots.
  687. * chan_dahdi now supports reporting alarms over AMI either by channel or span via
  688. the reportalarms config option.
  689. * chan_dahdi supports dialing configuring and dialing by device file name.
  690. DAHDI/span-name!local!1 will use /dev/dahdi/span-name/local/1 . Likewise
  691. it may appear in chan_dahdi.conf as 'channel => span-name!local!1'.
  692. * A new options for chan_dahdi.conf: 'ignore_failed_channels'. Boolean.
  693. False by default. If set, chan_dahdi will ignore failed 'channel' entries.
  694. Handy for the above name-based syntax as it does not depend on
  695. initialization order.
  696. * The Realtime dialplan switch now caches entries for 1 second. This provides a
  697. significant increase in performance (about 3X) for installations using this switchtype.
  698. * Distributed devicestate now supports the use of the XMPP protocol, in addition to
  699. AIS. For more information, please see doc/distributed_devstate-XMPP.txt
  700. * The addition of G.719 pass-through support.
  701. * Added support for 16khz Speex audio. This can be enabled by using 'allow=speex16'
  702. during device configuration.
  703. * The UNISTIM channel driver (chan_unistim) has been updated to support devices that
  704. have less than 3 lines on the LCD.
  705. * Realtime now supports database failover. See the sample extconfig.conf for details.
  706. * The addition of improved translation path building for wideband codecs. Sample
  707. rate changes during translation are now avoided unless absolutely necessary.
  708. * The addition of the res_stun_monitor module for monitoring and reacting to network
  709. changes while behind a NAT.
  710. CLI Changes
  711. -----------
  712. * The 'core set debug' and 'core set verbose' commands, in previous versions, could
  713. optionally accept a filename, to apply the setting only to the code generated from
  714. that source file when Asterisk was built. However, there are some modules in Asterisk
  715. that are composed of multiple source files, so this did not result in the behavior
  716. that users expected. In this version, 'core set debug' and 'core set verbose'
  717. can optionally accept *module* names instead (with or without the .so extension),
  718. which applies the setting to the entire module specified, regardless of which source
  719. files it was built from.
  720. * New 'manager show settings' command showing the current settings loaded from
  721. manager.conf.
  722. * Added 'all' keyword to the CLI command "channel request hangup" so that you can send
  723. the channel hangup request to all channels.
  724. * Added a "core reload" CLI command that executes a global reload of Asterisk.
  725. ------------------------------------------------------------------------------
  726. --- Functionality changes from Asterisk 1.6.1 to Asterisk 1.6.2 -------------
  727. ------------------------------------------------------------------------------
  728. SIP Changes
  729. -----------
  730. * Added support for SUBSCRIBE/NOTIFY with dialog-info based call pickups.
  731. Snom phones use this for call pickup of extensions that the phone is
  732. subscribed to.
  733. * Added support for setting the domain in the URI for caller of an
  734. outbound call by using the SIPFROMDOMAIN channel variable.
  735. * Added a new configuration option "remotesecret" for authentication to
  736. remote services. For backwards compatibility, "secret" still has the
  737. same function as before, but now you can configure both a remote secret and a
  738. local secret for mutual authentication.
  739. * If the channel variable ATTENDED_TRANSFER_COMPLETE_SOUND is set,
  740. the sound will be played to the target of an attended transfer
  741. * Added two new configuration options, "qualifygap" and "qualifypeers", which allow
  742. finer control over how many peers Asterisk will qualify and the gap between them
  743. when all peers need to be qualified at the same time.
  744. * Added a new 'ignoresdpversion' option to sip.conf. When this is enabled
  745. (either globally or for a specific peer), chan_sip will treat any SDP data
  746. it receives as new data and update the media stream accordingly. By
  747. default, Asterisk will only modify the media stream if the SDP session
  748. version received is different from the current SDP session version. This
  749. option is required to interoperate with devices that have non-standard SDP
  750. session version implementations (observed with Microsoft OCS). This option
  751. is disabled by default.
  752. * The parsing of register => lines in sip.conf has been modified to allow a port
  753. to be present in the "user" portion. Please see the sip.conf.sample file for more
  754. information
  755. * Added support for subscribing to MWI on a remote server and making the status available
  756. as a mailbox. Please see the sip.conf.sample file for more information.
  757. * Added a function to remove SIP headers added in the dialplan before the
  758. first INVITE is generated - SIPRemoveHeader()
  759. * Channel variables set with setvar= in a device configuration is now
  760. set both for inbound and outbound calls.
  761. * Added support for ITU G.722.1 and G.722.1C (Siren7 and Siren14) media streams.
  762. IAX2 changes
  763. ------------
  764. * Added immediate option to iax.conf
  765. * Added forceencryption option to iax.conf
  766. * Added Encryption and Trunk status to manager command "iaxpeers"
  767. Skinny Changes
  768. --------------
  769. * The configuration file now holds separate sections for devices and lines.
  770. Please have a look at configs/skinny.conf.sample and change your skinny.conf
  771. accordingly.
  772. DAHDI Changes
  773. -------------
  774. * chan_dahdi now supports MFC/R2 signaling when Asterisk is compiled with
  775. support for LibOpenR2. http://www.libopenr2.org/
  776. * The UK option waitfordialtone has been added for use with BT analog
  777. lines.
  778. * Added a 'faxbuffers' configuration option to chan_dahdi.conf. This option
  779. is used in conjunction with the 'faxdetect' configuration option. When
  780. 'faxbuffers' is used and fax tones are detected, the channel will dynamically
  781. switch to the configured faxbuffers policy. For example, to use 6 buffers
  782. and a 'full' buffer policy for a fax transmission, add:
  783. faxbuffers=>6,full
  784. The faxbuffers configuration will be in affect until the call is torn down.
  785. * Added service message support for 4ESS/5ESS switches.
  786. Dialplan Functions
  787. ------------------
  788. * For DAHDI channels, the CHANNEL() dialplan function now
  789. supports changing the channel's buffer policy (for the current
  790. call only), using this syntax:
  791. exten => s,n,Set(CHANNEL(buffers)=6,full)
  792. This would change the channel to the 'full' buffer policy and
  793. 6 (six) buffers. Possible options for this setting are the same
  794. as those in chan_dahdi.conf.
  795. * Added a new dialplan function, CURLOPT, which permits setting various
  796. options that may be useful with the CURL dialplan function, such as
  797. cookies, proxies, connection timeouts, passwords, etc.
  798. * Permit the syntax and synopsis fields of the corresponding dialplan
  799. functions to be individually set from func_odbc.conf.
  800. * Added debugging CLI functions to func_odbc, 'odbc read' and 'odbc write'.
  801. * func_odbc now may specify an insert query to execute, when the write query
  802. affects 0 rows (usually indicating that no such row exists).
  803. * Added a new dialplan function, LISTFILTER, which permits removing elements
  804. from a set list, by name. Uses the same general syntax as the existing CUT
  805. and FIELDQTY dialplan functions, which also manage lists.
  806. * Added REALTIME_FIELD and REALTIME_HASH, which should aid users in better
  807. obtaining realtime data from the dialplan.
  808. * Added LOCAL_PEEK, which allows access to variables in any stack frame within
  809. a subroutine when using the GoSub() and Return() applications.
  810. * Added AUDIOHOOK_INHERIT. For information on its use, please see the output
  811. of "core show function AUDIOHOOK_INHERIT" from the CLI
  812. * Added AES_ENCRYPT. For information on its use, please see the output
  813. of "core show function AES_ENCRYPT" from the CLI
  814. * Added AES_DECRYPT. For information on its use, please see the output
  815. of "core show function AES_DECRYPT" from the CLI
  816. * func_odbc now supports database transactions across multiple queries.
  817. Applications
  818. ------------
  819. * Scheduled meetme conferences may now have their end times extended by
  820. using MeetMeAdmin.
  821. * app_authenticate now gives the ability to select a prompt other than
  822. the default.
  823. * app_directory now pays attention to the searchcontexts setting in
  824. voicemail.conf and will look through all contexts, if no context is
  825. specified in the initial argument.
  826. * A new application, Originate, has been introduced, that allows asynchronous
  827. call origination from the dialplan.
  828. * Voicemail now permits setting the emailsubject and emailbody per mailbox,
  829. in addition to the setting in the "general" context.
  830. * Added ConfBridge dialplan application which does conference bridges without
  831. DAHDI. For information on its use, please see the output of
  832. "core show application ConfBridge" from the CLI.
  833. Miscellaneous
  834. -------------
  835. * The Asterisk CLI has a new command, "channel redirect", which is similar in
  836. operation to the AMI Redirect action.
  837. * extensions.conf now allows you to use keyword "same" to define an extension
  838. without actually specifying an extension. It uses exactly the same pattern
  839. as previously used on the last "exten" line. For example:
  840. exten => 123,1,NoOp(something)
  841. same => n,SomethingElse()
  842. * musiconhold.conf classes of type 'files' can now use relative directory paths,
  843. which are interpreted as relative to the astvarlibdir setting in asterisk.conf.
  844. * All deprecated CLI commands are removed from the sourcecode. They are now handled
  845. by the new clialiases module. See cli_aliases.conf.sample file.
  846. * Times within timespecs are now accurate down to the minute. This is a change
  847. from historical Asterisk, which only provided timespecs rounded to the nearest
  848. even (read: evenly divisible by 2) minute mark.
  849. * The realtime switch now supports an option flag, 'p', which disables searches for
  850. pattern matches.
  851. * In addition to a time range and date range, timespecs now accept a 5th optional
  852. argument, timezone. This allows you to perform time checks on alternate
  853. timezones, especially if those daylight savings time ranges vary from your
  854. machine's native timezone. See GotoIfTime, ExecIfTime, IFTIME(), and timed
  855. includes.
  856. * The contrib/scripts/ directory now has a script called sip_nat_settings that will
  857. give you the correct output for an asterisk box behind nat. It will give you the
  858. externhost and localnet settings.
  859. * The Asterisk core now supports ITU G.722.1 and G.722.1C media streams, and
  860. can connect calls in passthrough mode, as well as record and play back files.
  861. * Successful and unsuccessful call pickup can now be alerted through sounds, by
  862. using pickupsound and pickupfailsound in features.conf.
  863. * ASTVARRUNDIR is now set to $(localstatedir)/run/asterisk by default.
  864. This means the asterisk pid file will now be in /var/run/asterisk/asterisk.pid on LINUX
  865. instead of the /var/run/asterisk.pid where it used to be. This will make
  866. installs as non-root easier to manage.
  867. CDR
  868. ---
  869. * The cdr.conf file must exist and be correctly programmed in order for CDR records to
  870. be written; they will no longer be explicitly written.
  871. Asterisk Manager Interface
  872. --------------------------
  873. * When using the AMI over HTTP, you can now include a 'SuppressEvents' header (with
  874. a non-empty value) in your request. If you do this, any pending AMI events will
  875. *not* be included in the response to your request as they would normally, but
  876. will be left in the event queue for the next request you make to retrieve. For
  877. some applications, this will allow you to guarantee that you will only see
  878. events in responses to 'WaitEvent' actions, and can better know when to expect them.
  879. To know whether the Asterisk server supports this header or not, your client can
  880. inspect the first response back from the server to see if it includes this header:
  881. Pragma: SuppressEvents
  882. If this is included, the server supports event suppression.
  883. * Added 4 new Actions to list skinny device(s) and line(s)
  884. SKINNYdevices
  885. SKINNYshowdevice
  886. SKINNYlines
  887. SKINNYshowline
  888. LDAP Schema File Additions
  889. --------------------------
  890. * Added AsteriskDialplan, AsteriskAccount and AsteriskMailbox objectClasses
  891. to allow standalone dialplan, account and mailbox entries (STRUCTURAL)
  892. * Added new Fields:
  893. - AstAccountLanguage, AstAccountTransport, AstAccountPromiscRedir,
  894. - AstAccountAccountCode, AstAccountSetVar, AstAccountAllowOverlap,
  895. - AstAccountVideoSupport, AstAccountIgnoreSDPVersion
  896. * Removed redundant IPaddr (there's already IPAddress)
  897. - Gives more configuration Flags for SIP-Users available (tested)
  898. - Allows to create Asterisk Attributes in defined Asterisk ObjectClasses
  899. without extensibleObject (which really should be the last resort); gives
  900. also additional possibilities for LDAP-filter
  901. ------------------------------------------------------------------------------
  902. --- Functionality changes from Asterisk 1.6.0 to Asterisk 1.6.1 -------------
  903. ------------------------------------------------------------------------------
  904. Device State Handling
  905. ---------------------
  906. * The event infrastructure in Asterisk got another big update to help support
  907. distributed events. It currently supports distributed device state and
  908. distributed Voicemail MWI (Message Waiting Indication). A new module has
  909. been merged, res_ais, which facilitates communicating events between servers.
  910. It uses the SAForum AIS (Service Availability Forum Application Interface
  911. Specification) CLM (Cluster Management) and EVT (Event) services to maintain
  912. a cluster of Asterisk servers, and to share events between them. For more
  913. information on setting this up, see doc/distributed_devstate.txt.
  914. Dialplan Functions
  915. ------------------
  916. * Added a new dialplan function, AST_CONFIG(), which allows you to access
  917. variables from an Asterisk configuration file.
  918. * The JACK_HOOK function now has a c() option to supply a custom client name.
  919. * Added two new dialplan functions from libspeex for audio gain control and
  920. denoise, AGC() and DENOISE(). Both functions can be applied to the tx and
  921. rx directions of a channel from the dialplan.
  922. * The SMDI_MSG_RETRIEVE function now has the ability to search for SMDI messages
  923. based on other parameters. The default is still to search based on the
  924. forwarding station ID. However, there are new options that allow you to search
  925. based on the message desk terminal ID, or the message desk number.
  926. * TIMEOUT() has been modified to be accurate down to the millisecond.
  927. * ENUM*() functions now include the following new options:
  928. - 'u' returns the full URI and does not strip off the URI-scheme.
  929. - 's' triggers ISN specific rewriting
  930. - 'i' looks for branches into an Infrastructure ENUM tree
  931. - 'd' for a direct DNS lookup without any flipping of digits.
  932. * TXCIDNAME() has a new zone-suffix parameter (which defaults to 'e164.arpa')
  933. * CHANNEL() now has options for the maximum, minimum, and standard or normal
  934. deviation of jitter, rtt, and loss for a call using chan_sip.
  935. DAHDI channel driver (chan_dahdi) Changes
  936. ----------------------------------------
  937. * Channels can now be configured using named sections in chan_dahdi.conf, just
  938. like other channel drivers, including the use of templates.
  939. * The default for pridialplan has changed from 'national' to 'unknown'.
  940. PBX Changes
  941. -----------
  942. * It is now possible to specify a pattern match as a hint. Once a phone subscribes
  943. to something that matches the pattern a hint will be created using the contents
  944. and variables evaluated.
  945. * Dialplan matching has been extended to allow an extension to return to the
  946. PBX core to wait for more digits. This is done by using the new dialplan
  947. application called "Incomplete". This will permit a whole new level of
  948. extension control, by giving the administrator more control over early
  949. matches employing one of the short-circuit pattern match operators. Note
  950. that custom applications can trigger this same behavior by returning the
  951. special value AST_PBX_INCOMPLETE.
  952. Application Changes
  953. -------------------
  954. * Directory now permits both first and last names to be matched at the same
  955. time. In addition, the number of digits to enter of the name can be set in
  956. the arguments to Directory; previously, you could enter only 3, regardless
  957. of how many names are in your company. For large companies, this should be
  958. quite helpful.
  959. * Voicemail now permits a mailbox setting to wrap around from first to last
  960. messages, if the "messagewrap" option is set to a true value.
  961. * Voicemail now permits an external script to be run, for password validation.
  962. The script should output "VALID" or "INVALID" on stdout, depending upon the
  963. wish to validate or invalidate the password given. Arguments are:
  964. "mailbox" "context" "oldpass" "newpass". See the sample voicemail.conf for
  965. more details
  966. * Dial has a new option: F(context^extension^pri), which permits a callee to
  967. continue in the dialplan, at the specified label, if the caller hangs up.
  968. * ChanSpy and ExtenSpy have a new option, 's' which suppresses speaking the
  969. technology name (e.g. SIP, IAX, etc) of the channel being spied on.
  970. * The Jack application now has a c() option to supply a custom client name.
  971. * Chanspy has a new option, 'B', which can be used to "barge" on a call. This is
  972. like the pre-existing whisper mode, except that the spy can also talk to the
  973. participant on the bridged channel as well.
  974. * Chanspy has a new option, 'n', which will allow for the spied-on party's name
  975. to be spoken instead of the channel name or number. For more information on the
  976. use of this option, issue the command "core show application ChanSpy" from the
  977. Asterisk CLI.
  978. * Chanspy has a new option, 'd', which allows the spy to use DTMF to swap between
  979. spy modes. Use of this feature overrides the typical use of numeric DTMF. In other
  980. words, if using the 'd' option, it is not possible to enter a number to append to
  981. the first argument to Chanspy(). Pressing 4 will change to spy mode, pressing 5 will
  982. change to whisper mode, and pressing 6 will change to barge mode.
  983. * ExternalIVR now takes several options that affect the way it performs, as
  984. well as having several new commands. Please see doc/externalivr.txt for the
  985. complete documentation.
  986. * Added ability to communicate over a TCP socket instead of forking a child process for the
  987. ExternalIVR application.
  988. * ChanIsAvail has a new option, 'a', which will return all available channels instead
  989. of just the first one if you give the function more then one channel to check.
  990. * PrivacyManager now takes an option where you can specify a context where the
  991. given number will be matched. This way you have more control over who is allowed
  992. and it stops the people who blindly enter 10 digits.
  993. * ForkCDR has new options: 'a' updates the answer time on the new CDR; 'A' locks
  994. answer times, disposition, on orig CDR against updates; 'D' Copies the disposition
  995. from the orig CDR to the new CDR after reset; 'e' sets the 'end' time on the
  996. original CDR; 'R' prevents the new CDR from being reset; 's(var=val)' adds/changes
  997. the 'var' variable on the original CDR; 'T' forces ast_cdr_end(), ast_cdr_answer(),
  998. obey the LOCKED flag on cdr's in the chain, and also the ast_cdr_setvar() func.
  999. * The Dial() application no longer copies the language used by the caller to the callee's
  1000. channel. If you desire for the caller's channel's language to be used for file playback
  1001. to the callee, then the file specified may be prepended with "${CHANNEL(language)}/" .
  1002. * SendImage() no longer hangs up the channel on error; instead, it sets the
  1003. status variable SENDIMAGESTATUS to one of 'SUCCESS', 'FAILURE', or
  1004. 'UNSUPPORTED'. This change makes SendImage() more consistent with other
  1005. applications.
  1006. * Park has a new option, 's', which silences the announcement of the parking space number.
  1007. * A non-numeric, zero, or negative timeout specified to Dial() will now be interpreted as
  1008. invalid input and will be assumed to mean that no timeout is desired.
  1009. SIP Changes
  1010. -----------
  1011. * Added DNS manager support to registrations for peers referencing peer entries.
  1012. DNS manager runs in the background which allows DNS lookups to be run asynchronously
  1013. as well as periodically updating the IP address. These properties allow for
  1014. better performance as well as recovery in the event of an IP change.
  1015. * Performance improvements via using hash tables (astobj2) and doubly-linked lists to improve
  1016. load/reload of large numbers of peers/users by ~40x (for large lists of peers).
  1017. These changes also provide performance improvements for call setup and tear down.
  1018. * Added ability to specify registration expiry time on a per registration basis in
  1019. the register line.
  1020. * Added support for T140 RED - redundancy in T.140 to prevent text loss due to
  1021. lost packets.
  1022. * Added t38pt_usertpsource option. See sip.conf.sample for details.
  1023. * Added SIPnotify AMI command, for sending arbitrary SIP notify commands.
  1024. * 'sip show peers' and 'sip show users' display their entries sorted in
  1025. alphabetical order, as opposed to the order they were in, in the config
  1026. file or database.
  1027. * Videosupport now supports an additional option, "always", which always sets
  1028. up video RTP ports, even on clients that don't support it. This helps with
  1029. callfiles and certain transfers to ensure that if two video phones are
  1030. connected, they will always share video feeds.
  1031. IAX Changes
  1032. -----------
  1033. * Existing DNS manager lookups extended to check for SRV records.
  1034. * IAX2 encryption support has been improved to support periodic key rotation
  1035. within a call for enhanced security. The option "keyrotate" has been
  1036. provided to disable this functionality to preserve backwards compatibility
  1037. with older versions of IAX2 that do not support key rotation.
  1038. CLI Changes
  1039. -----------
  1040. * New CLI command, "data get <path> [<search> [<filter>]]" which retrieves the
  1041. data tree based on the given <path>.
  1042. * New CLI command "data show providers" that will display all the registered
  1043. callbacks.
  1044. * New CLI command, "config reload <file.conf>" which reloads any module that
  1045. references that particular configuration file. Also added "config list"
  1046. which shows which configuration files are in use.
  1047. * New CLI commands, "pri show version" and "ss7 show version" that will
  1048. display which version of libpri and libss7 are being used, respectively.
  1049. A new API call was added so trunk will now have to be compiled against
  1050. a versions of libpri and libss7 that have them or it will not know that
  1051. these libraries exist.
  1052. * The commands "core show globals", "core set global" and "core set chanvar" has
  1053. been deprecated in favor of the more semanticly correct "dialplan show globals",
  1054. "dialplan set chanvar" and "dialplan set global".
  1055. * New CLI command "dialplan show chanvar" to list all variables associated
  1056. with a given channel.
  1057. DNS manager changes
  1058. -------------------
  1059. * Addresses managed by DNS manager now can check to see if there is a DNS
  1060. SRV record for a given domain and will use that hostname/port if present.
  1061. AMI - The manager (TCP/TLS/HTTP)
  1062. --------------------------------
  1063. * The Status command now takes an optional list of variables to display
  1064. along with channel status.
  1065. * The QueueEntry event now also includes the channel's uniqueid
  1066. ODBC Changes
  1067. ------------
  1068. * res_odbc no longer has a limit of 1023 total possible unshared connections,
  1069. as some people were running into this limit. This limit has been increased
  1070. to 4.2 billion.
  1071. Queue changes
  1072. -------------
  1073. * The TRANSFER queue log entry now includes the the caller's original
  1074. position in the transferred-from queue.
  1075. * A new configuration option, "timeoutpriority" has been added. Please see the section labeled
  1076. "QUEUE TIMING OPTIONS" in configs/queues.conf.sample for a detailed explanation of the option
  1077. as well as an explanation about timeout options in general
  1078. * Added a new option - C - for forcing the "answered elsewhere" flag on
  1079. cancellation of calls in to members of the queue. This is to avoid the
  1080. call to a member of a queue having the call listed as a "missed call".
  1081. Realtime changes
  1082. ----------------
  1083. * Several (ODBC, Postgres, MySQL, SQLite) realtime drivers have been given
  1084. adaptive capabilities. What this means in practical terms is that if your
  1085. realtime table lacks critical fields, Asterisk will now emit warnings to
  1086. that effect. Also, some of the realtime drivers have the ability (if
  1087. configured) to automatically add those columns to the table with the
  1088. correct type and length.
  1089. Miscellaneous
  1090. -------------
  1091. * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND can now be set using
  1092. the 'setvar' option to cause a given audio file to be played upon completion
  1093. of an attended transfer. Currently it works for DAHDI, IAX2, SIP, and
  1094. Skinny channels only.
  1095. * You can now compile Asterisk against the Hoard Memory Allocator, see doc/hoard.txt
  1096. for more information.
  1097. * Config file variables may now be appended to, by using the '+=' append
  1098. operator. This is most helpful when working with long SQL queries in
  1099. func_odbc.conf, as the queries no longer need to be specified on a single
  1100. line.
  1101. * CDR config file, cdr.conf, has an added option, "initiatedseconds",
  1102. which will add a second to the billsec when the ending
  1103. time is set, if the number in the microseconds field of the end time is
  1104. greater than the number of microseconds in the answer time. This allows
  1105. users to count the 'initiated' seconds in their billing records.
  1106. ------------------------------------------------------------------------------
  1107. --- Functionality changes from Asterisk 1.4.X to Asterisk 1.6.0 -------------
  1108. ------------------------------------------------------------------------------
  1109. AMI - The manager (TCP/TLS/HTTP)
  1110. --------------------------------
  1111. * Manager has undergone a lot of changes, all of them documented
  1112. in doc/manager_1_1.txt
  1113. * Manager version has changed to 1.1
  1114. * Added a new action 'CoreShowChannels' to list currently defined channels
  1115. and some information about them.
  1116. * Added a new action 'SIPshowregistry' to list SIP registrations.
  1117. * Added TLS support for the manager interface and HTTP server
  1118. * Added the URI redirect option for the built-in HTTP server
  1119. * The output of CallerID in Manager events is now more consistent.
  1120. CallerIDNum is used for number and CallerIDName for name.
  1121. * Enable https support for builtin web server.
  1122. See configs/http.conf.sample for details.
  1123. * Added a new action, GetConfigJSON, which can return the contents of an
  1124. Asterisk configuration file in JSON format. This is intended to help
  1125. improve the performance of AJAX applications using the manager interface
  1126. over HTTP.
  1127. * SIP and IAX manager events now use "ChannelType" in all cases where we
  1128. indicate channel driver. Previously, we used a mixture of "Channel"
  1129. and "ChannelDriver" headers.
  1130. * Added a "Bridge" action which allows you to bridge any two channels that
  1131. are currently active on the system.
  1132. * Added a "ListAllVoicemailUsers" action that allows you to get a list of all
  1133. the voicemail users setup.
  1134. * Added 'DBDel' and 'DBDelTree' manager commands.
  1135. * cdr_manager now reports events via the "cdr" level, separating it from
  1136. the very verbose "call" level.
  1137. * Manager users are now stored in memory. If you change the manager account
  1138. list (delete or add accounts) you need to reload manager.
  1139. * Added Masquerade manager event for when a masquerade happens between
  1140. two channels.
  1141. * Added "manager reload" command for the CLI
  1142. * Lots of commands that only provided information are now allowed under the
  1143. Reporting privilege, instead of only under Call or System.
  1144. * The IAX* commands now require either System or Reporting privilege, to
  1145. mirror the privileges of the SIP* commands.
  1146. * Added ability to retrieve list of categories in a config file.
  1147. * Added ability to retrieve the content of a particular category.
  1148. * Added ability to empty a context.
  1149. * Created new action to create a new file.
  1150. * Updated delete action to allow deletion by line number with respect to category.
  1151. * Added new action insert to add new variable to category at specified line.
  1152. * Updated action newcat to allow new category to be inserted in file above another
  1153. existing category.
  1154. * Added new event "JitterBufStats" in the IAX2 channel
  1155. * Originate now requires the Originate privilege and, if you want to call out
  1156. to a subshell, it requires the System privilege, as well. This was done to
  1157. enhance manager security.
  1158. * Originate now accepts codec settings with "Codecs: alaw, ulaw, h264"
  1159. * New command: Atxfer. See doc/manager_1_1.txt for more details or
  1160. manager show command Atxfer from the CLI
  1161. * New command: IAXregistry. See doc/manager_1_1.txt for more details or
  1162. manager show command IAXregistry from the CLI
  1163. Dialplan functions
  1164. ------------------
  1165. * Added the DEVICE_STATE() dialplan function which allows retrieving any device
  1166. state in the dialplan, as well as creating custom device states that are
  1167. controllable from the dialplan.
  1168. * Extend CALLERID() function with "pres" and "ton" parameters to
  1169. fetch string representation of calling number presentation indicator
  1170. and numeric representation of type of calling number value.
  1171. * MailboxExists converted to dialplan function
  1172. * A new option to Dial() for telling IP phones not to count the call
  1173. as "missed" when dial times out and cancels.
  1174. * Added LOCK(), TRYLOCK(), and UNLOCK(), which provide a single level dialplan
  1175. mutex. No deadlocks are possible, as LOCK() only allows a single lock to be
  1176. held for any given channel. Also, locks are automatically freed when a
  1177. channel is hung up.
  1178. * Added HINT() dialplan function that allows retrieving hint information.
  1179. Hints are mappings between extensions and devices for the sake of
  1180. determining the state of an extension. This function can retrieve the list
  1181. of devices or the name associated with a hint.
  1182. * Added EXTENSION_STATE() dialplan function which allows retrieving the state
  1183. of any extension.
  1184. * Added SYSINFO() dialplan function which allows retrieval of system information
  1185. * Added a new dialplan function, DIALPLAN_EXISTS(), which allows you to check for
  1186. the existence of a dialplan target.
  1187. * Added two new dialplan functions, TOUPPER and TOLOWER, which convert a string to
  1188. upper and lower case, respectively.
  1189. * When bridging, Asterisk sets the BRIDGEPVTCALLID to the channel drivers unique
  1190. ID for the call (not the Asterisk call ID or unique ID), provided that the
  1191. channel driver supports this. For SIP, you get the SIP call-ID for the
  1192. bridged channel which you can store in the CDR with a custom field.
  1193. CLI Changes
  1194. -----------
  1195. * Added CLI permissions, config file: cli_permissions.conf
  1196. default is to allow all commands for every local user/group.
  1197. Also this new feature added three new CLI commands:
  1198. - cli check permissions {<username>|@<groupname>|<username>@<groupname>} [<command>]
  1199. - cli reload permissions
  1200. - cli show permissions
  1201. * New CLI command "core show hint" (usage: core show hint <exten>)
  1202. * New CLI command "core show settings"
  1203. * Added 'core show channels count' CLI command.
  1204. * Added the ability to set the core debug and verbose values on a per-file basis.
  1205. * Added 'queue pause member' and 'queue unpause member' CLI commands
  1206. * Ability to set process limits ("ulimit") without restarting Asterisk
  1207. * Enhanced "agi debug" to print the channel name as a prefix to the debug
  1208. output to make debugging on busy systems much easier.
  1209. * New CLI commands "dialplan set extenpatternmatching true/false"
  1210. * New CLI command: "core set chanvar" to set a channel variable from the CLI.
  1211. * Added an easy way to execute Asterisk CLI commands at startup. Any commands
  1212. listed in the startup_commands section of cli.conf will get executed.
  1213. * Added a CLI command, "devstate change", which allows you to set custom device
  1214. states from the func_devstate module that provides the DEVICE_STATE() function
  1215. and handling of the "Custom:" devices.
  1216. * New CLI command: "sip show sched" which shows all ast_sched entries for sip,
  1217. sorted into the different possible callbacks, with the number of entries
  1218. currently scheduled for each. Gives you a feel for how busy the sip channel
  1219. driver is.
  1220. * Added 'skinny show lines verbose' CLI command. This will show the subs for every channel.
  1221. * Cleanup another bunch of CLI commands. Now all modules follow the same schema.
  1222. (Done by lmadsen, junky and mvanbaak during the devcon 2008)
  1223. SIP changes
  1224. -----------
  1225. * Added a new 'faxdetect=yes|no' configuration option to sip.conf. When this
  1226. option is enabled, Asterisk will watch for a CNG tone in the incoming audio
  1227. for a received call. If it is detected, the channel will jump to the
  1228. 'fax' extension in the dialplan.
  1229. * The default SIP useragent= identifier now includes the Asterisk version
  1230. * A new option, match_auth_username in sip.conf changes the matching of incoming requests.
  1231. If set, and the incoming request carries authentication info,
  1232. the username to match in the users list is taken from the Digest header
  1233. rather than from the From: field. This feature is considered experimental.
  1234. * The "musiconhold" and "musicclass" settings in sip.conf are now removed,
  1235. since they where replaced by "mohsuggest" and "mohinterpret" in version 1.4
  1236. * The "localmask" setting was removed in version 1.2 and the reminder about it
  1237. being removed is now also removed.
  1238. * A new option "busylevel" for setting a level of calls where asterisk reports
  1239. a device as busy, to separate it from call-limit. This value is also added
  1240. to the SIP_PEER dialplan function.
  1241. * A new realtime family called "sipregs" is now supported to store SIP registration
  1242. data. If this family is defined, "sippeers" will be used for configuration and
  1243. "sipregs" for registrations. If it's not defined, "sippeers" will be used for
  1244. registration data, as before.
  1245. * The SIPPEER function have new options for port address, call and pickup groups
  1246. * Added support for T.140 realtime text in SIP/RTP
  1247. * The "checkmwi" option has been removed from sip.conf, as it is no longer
  1248. required due to the restructuring of how MWI is handled. See the descriptions
  1249. in this file of the "pollmailboxes" and "pollfreq" options to voicemail.conf
  1250. for more information.
  1251. * Added rtpdest option to CHANNEL() dialplan function.
  1252. * Added SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables which are set when a transfer takes place.
  1253. * SIP now adds a header to the CANCEL if the call was answered by another phone
  1254. in the same dial command, or if the new c option in dial() is used.
  1255. * The new default is that 100 Trying is not sent on REGISTER attempts as the RFC specifically
  1256. states it is not needed. For phones, however, that do require it the "registertrying" option
  1257. has been added so it can be enabled.
  1258. * A new option called "callcounter" (global/peer/user level) enables call counters needed
  1259. for better status reports needed for queues and SIP subscriptions. (Call-Limit was previously
  1260. used to enable this functionality).
  1261. * New settings for timer T1 and timer B on a global level or per device. This makes it
  1262. possible to force timeout faster on non-responsive SIP servers. These settings are
  1263. considered advanced, so don't use them unless you have a problem.
  1264. * Added a dial string option to be able to set the To: header in an INVITE to any
  1265. SIP uri.
  1266. * Added a new global and per-peer option, qualifyfreq, which allows you to configure
  1267. the qualify frequency.
  1268. * Added SIP Session Timers support (RFC 4028). This prevents stuck SIP sessions that
  1269. were not properly torn down due to network or endpoint failures during an established
  1270. SIP session.
  1271. * Added experimental TCP and TLS support for SIP. See doc/siptls.txt and
  1272. configs/sip.conf.sample for more information on how it is used.
  1273. * Added a new configuration option "authfailureevents" that enables manager events when
  1274. a peer can't authenticate properly.
  1275. * Added DNS manager support to registrations for peers not referencing a peer entry.
  1276. IAX2 changes
  1277. ------------
  1278. * Added the trunkmaxsize configuration option to chan_iax2.
  1279. * Added the srvlookup option to iax.conf
  1280. * Added support for OSP. The token is set and retrieved through the CHANNEL()
  1281. dialplan function.
  1282. XMPP Google Talk/Jingle changes
  1283. -------------------------------
  1284. * Added the bindaddr option to gtalk.conf.
  1285. Skinny changes
  1286. -------------
  1287. * Added skinny show device, skinny show line, and skinny show settings CLI commands.
  1288. * Proper codec support in chan_skinny.
  1289. * Added settings for IP and Ethernet QoS requests
  1290. MGCP changes
  1291. ------------
  1292. * Added separate settings for media QoS in mgcp.conf
  1293. Console Channel Driver changes
  1294. ------------------------------
  1295. * Added experimental support for video send & receive to chan_oss.
  1296. This requires SDL and ffmpeg/avcodec, plus Video4Linux or X11 to act as
  1297. a video source.
  1298. Phone channel changes (chan_phone)
  1299. ----------------------------------
  1300. * Added G729 passthrough support to chan_phone for Sigma Designs boards.
  1301. H.323 channel Changes
  1302. ---------------------
  1303. * H323 remote hold notification support added (by NOTIFY message
  1304. and/or H.450 supplementary service)
  1305. Local channel changes
  1306. ---------------------
  1307. * The device state functionality in the Local channel driver has been updated
  1308. to indicate INUSE or NOT_INUSE when a Local channel is being used as opposed
  1309. to just UNKNOWN if the extension exists.
  1310. * Added jitterbuffer support for chan_local. This allows you to use the
  1311. generic jitterbuffer on incoming calls going to Asterisk applications.
  1312. For example, this would allow you to use a jitterbuffer for an incoming
  1313. SIP call to Voicemail by putting a Local channel in the middle. This
  1314. feature is enabled by using the 'j' option in the Dial string to the Local
  1315. channel in conjunction with the existing 'n' option for local channels.
  1316. * A 'b' option has been added which causes chan_local to return the actual channel
  1317. that is behind it when queried. This is useful for transfer scenarios as the
  1318. actual channel will be transferred, not the Local channel.
  1319. Agent channel changes
  1320. ----------------------
  1321. * The ackcall and endcall options are now supplemented with options acceptdtmf
  1322. and enddtmf. These allow for the DTMF keypress to be configurable. The options
  1323. default to their old hard-coded values ('#' and '*' respectively) so this should
  1324. not break any existing agent installations.
  1325. DAHDI channel driver (chan_dahdi) Changes
  1326. ----------------------------------------
  1327. * SS7 support (via libss7 library)
  1328. * In India, some carriers transmit CID via dtmf. Some code has been added
  1329. that will handle some situations. The cidstart=polarity_IN choice has been added for
  1330. those carriers that transmit CID via dtmf after a polarity change.
  1331. * CID matching information is now shown when doing 'dialplan show'.
  1332. * Added dahdi show version CLI command.
  1333. * Added setvar support to chan_dahdi.conf channel entries.
  1334. * Added two new options: mwimonitor and mwimonitornotify. These options allow
  1335. you to enable MWI monitoring on FXO lines. When the MWI state changes,
  1336. the script specified in the mwimonitornotify option is executed. An internal
  1337. event indicating the new state of the mailbox is also generated, so that
  1338. the normal MWI facilities in Asterisk work as usual.
  1339. * Added signalling type 'auto', which attempts to use the same signalling type
  1340. for a channel as configured in DAHDI. This is primarily designed for analog
  1341. ports, but will also work for digital ports that are configured for FXS or FXO
  1342. signalling types. This mode is also the default now, so if your chan_dahdi.conf
  1343. does not specify signalling for a channel (which is unlikely as the sample
  1344. configuration file has always recommended specifying it for every channel) then
  1345. the 'auto' mode will be used for that channel if possible.
  1346. * Added a 'dahdi set dnd' command to allow CLI control of the Do-Not-Disturb
  1347. state for a channel; also ensured that the DNDState Manager event is
  1348. emitted no matter how the DND state is set or cleared.
  1349. New Channel Drivers
  1350. -------------------
  1351. * Added a new channel driver, chan_unistim. See doc/unistim.txt and
  1352. configs/unistim.conf.sample for details. This new channel driver allows
  1353. you to use Nortel i2002, i2004, and i2050 phones with Asterisk.
  1354. * Added a new channel driver, chan_console, which uses portaudio as a cross
  1355. platform audio interface. It was written as a channel driver that would
  1356. work with Mac CoreAudio, but portaudio supports a number of other audio
  1357. interfaces, as well. Note that this channel driver requires v19 or higher
  1358. of portaudio; older versions have a different API.
  1359. DUNDi changes
  1360. -------------
  1361. * Added the ability to specify arguments to the Dial application when using
  1362. the DUNDi switch in the dialplan.
  1363. * Added the ability to set weights for responses dynamically. This can be
  1364. done using a global variable or a dialplan function. Using the SHELL()
  1365. function would allow you to have an external script set the weight for
  1366. each response.
  1367. * Added two new dialplan functions, DUNDIQUERY and DUNDIRESULT. These
  1368. functions will allow you to initiate a DUNDi query from the dialplan,
  1369. find out how many results there are, and access each one.
  1370. * Added the ability to specifiy a port for a dundi peer.
  1371. ENUM changes
  1372. ------------
  1373. * Added two new dialplan functions, ENUMQUERY and ENUMRESULT. These
  1374. functions will allow you to initiate an ENUM lookup from the dialplan,
  1375. and Asterisk will cache the results. ENUMRESULT can be used to access
  1376. the results without doing multiple DNS queries.
  1377. Voicemail Changes
  1378. -----------------
  1379. * Added the ability to customize which sound files are used for some of the
  1380. prompts within the Voicemail application by changing them in voicemail.conf
  1381. * Added the ability for the "voicemail show users" CLI command to show users
  1382. configured by the dynamic realtime configuration method.
  1383. * MWI (Message Waiting Indication) handling has been significantly
  1384. restructured internally to Asterisk. It is now totally event based
  1385. instead of polling based. The voicemail application will notify other
  1386. modules that have subscribed to MWI events when something in the mailbox
  1387. changes.
  1388. This also means that if any other entity outside of Asterisk is changing
  1389. the contents of mailboxes, then the voicemail application still needs to
  1390. poll for changes. Examples of situations that would require this option
  1391. are web interfaces to voicemail or an email client in the case of using
  1392. IMAP storage. So, two new options have been added to voicemail.conf
  1393. to account for this: "pollmailboxes" and "pollfreq". See the sample
  1394. configuration file for details.
  1395. * Added "tw" language support
  1396. * Added support for storage of greetings using an IMAP server
  1397. * Added ability to customize forward, reverse, stop, and pause keys for message playback
  1398. * SMDI is now enabled in voicemail using the smdienable option.
  1399. * A "lockmode" option has been added to asterisk.conf to configure the file
  1400. locking method used for voicemail, and potentially other things in the
  1401. future. The default is the old behavior, lockfile. However, there is a
  1402. new method, "flock", that uses a different method for situations where the
  1403. lockfile will not work, such as on SMB/CIFS mounts.
  1404. * Added the ability to backup deleted messages, to ease recovery in the case
  1405. that a user accidentally deletes a message, and discovers that they need it.
  1406. * Reworked the SMDI interface in Asterisk. The new way to access SMDI information
  1407. is through the new functions, SMDI_MSG_RETRIEVE() and SMDI_MSG(). The file
  1408. smdi.conf can now be configured with options to map SMDI station IDs to Asterisk
  1409. voicemail boxes. The SMDI interface can also poll for MWI changes when some
  1410. outside entity is modifying the state of the mailbox (such as IMAP storage or
  1411. a web interface of some kind).
  1412. * Added the support for marking messages as "urgent." There are two methods to accomplish
  1413. this. One is to pass the 'U' option to VoiceMail(). Another way to mark a message as urgent
  1414. is to specify "review=yes" in voicemail.conf. Doing this will cause allow the user to mark
  1415. the message as urgent after he has recorded a voicemail by following the voice instructions.
  1416. When listening to voicemails using VoiceMailMain urgent messages will be presented before other
  1417. messages
  1418. Queue changes
  1419. -------------
  1420. * Added the general option 'shared_lastcall' so that member's wrapuptime may be
  1421. used across multiple queues.
  1422. * Added QUEUE_VARIABLES function to set queue variables added setqueuevar and
  1423. setqueueentryvar options for each queue, see queues.conf.sample for details.
  1424. * Added keepstats option to queues.conf which will keep queue
  1425. statistics during a reload.
  1426. * setinterfacevar option in queues.conf also now sets a variable
  1427. called MEMBERNAME which contains the member's name.
  1428. * Added 'Strategy' field to manager event QueueParams which represents
  1429. the queue strategy in use.
  1430. * Added option to run macro when a queue member is connected to a caller,
  1431. see queues.conf.sample for details.
  1432. * app_queue now has a 'loose' option which is almost exactly like 'strict' except it
  1433. does not count paused queue members as unavailable.
  1434. * Added min-announce-frequency option to queues.conf which allows you to control the
  1435. minimum amount of time between queue announcements for use when the caller's queue
  1436. position changes frequently.
  1437. * Added additional information to EXITWITHTIMEOUT and EXITWITHKEY events in the
  1438. queue log.
  1439. * Added ability for non-realtime queues to have realtime members
  1440. * Added the "linear" strategy to queues.
  1441. * Added the "wrandom" strategy to queues.
  1442. * Added new channel variable QUEUE_MIN_PENALTY
  1443. * QUEUE_MAX_PENALTY and QUEUE_MIN_PENALTY may be adjusted in mid-call by defining
  1444. rules in queuerules.conf. See configs/queuerules.conf.sample for details
  1445. * Added a new parameter for member definition, called state_interface. This may be
  1446. used so that a member may be called via one interface but have a different interface's
  1447. device state reported.
  1448. * Added new CLI and Manager commands relating to reloading queues. From the CLI, see
  1449. "queue reload", "queue reset stats". Also see "manager show command QueueReload" and
  1450. "manager show command QueueReset."
  1451. * New configuration option: randomperiodicannounce. If a list of periodic announcements is
  1452. specified by the periodic-announce option, then one will be chosen randomly when it is time
  1453. to play a periodic announcment
  1454. * New configuration options: announce-position now takes two more values in addition to "yes" and
  1455. "no." Two new options, "limit" and "more," are allowed. These are tied to another option,
  1456. announce-position-limit. By setting announce-position to "limit" callers will only have their
  1457. position announced if their position is less than what is specified by announce-position-limit.
  1458. If announce-position is set to "more" then callers beyond the position specified by announce-position-limit
  1459. will be told that their are more than announce-position-limit callers waiting.
  1460. * Two new queue log events have been added. An ADDMEMBER event will be logged
  1461. when a realtime queue member is added and a REMOVEMEMBER event will be logged
  1462. when a realtime queue member is removed. Since there is no calling channel associated
  1463. with these events, the string "REALTIME" is placed where the channel's unique id
  1464. is typically placed.
  1465. * The configuration method for the "joinempty" and "leavewhenempty" options has
  1466. changed to a comma-separated list of methods of determining member availability
  1467. instead of vague terms such as "yes," "loose," "no," and "strict." These old four
  1468. values are still accepted for backwards-compatibility, though.
  1469. * The average talktime is now calculated on queues. This information is reported via the
  1470. CLI commands "queue show" and "queues show"; through the AMI events AgentComplete, QueueSummary,
  1471. and QueueParams; and through the channelvariable QUEUETALKTIME if setinterfacevar=yes is set for
  1472. the queue.
  1473. MeetMe Changes
  1474. --------------
  1475. * The 'o' option to provide an optimization has been removed and its functionality
  1476. has been enabled by default.
  1477. * When a conference is created, the UNIQUEID of the channel that caused it to be
  1478. created is stored. Then, every channel that joins the conference will have the
  1479. MEETMEUNIQUEID channel variable set with this ID. This can be used to relate
  1480. callers that come and go from long standing conferences.
  1481. * Added a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
  1482. except it does operations on a channel by name, instead of number in a conference.
  1483. This is a very useful feature in combination with the 'X' option to ChanSpy.
  1484. * Added 'C' option to Meetme which causes a caller to continue in the dialplan
  1485. when kicked out.
  1486. * Added new RealTime functionality to provide support for scheduled conferencing.
  1487. This includes optional messages to the caller if they attempt to join before
  1488. the schedule start time, or to allow the caller to join the conference early.
  1489. Also included is optional support for limiting the number of callers per
  1490. RealTime conference.
  1491. * Added the S() and L() options to the MeetMe application. These are pretty
  1492. much identical to the S() and L() options to Dial(). They let you set
  1493. timeouts for the conference, as well as have warning sounds played to
  1494. let the caller know how much time is left, and when it is running out.
  1495. * Added the ability to do "meetme concise" with the "meetme" CLI command.
  1496. This extends the concise capabilities of this CLI command to include
  1497. listing all conferences, instead of an addition to the other sub commands
  1498. for the "meetme" command.
  1499. * Added the ability to specify the music on hold class used to play into the
  1500. conference when there is only one member and the M option is used.
  1501. * Added MEETME_INFO dialplan function which provides a way to query
  1502. various properties of a Meetme conference.
  1503. * Added new admin features: *81: Roll call, *82: eject all, *83: mute all,
  1504. and *84: record in-conf
  1505. Other Dialplan Application Changes
  1506. ----------------------------------
  1507. * Argument support for Gosub application
  1508. * From the to-do lists: straighten out the app timeout args:
  1509. Wait() app now really does 0.3 seconds- was truncating arg to an int.
  1510. WaitExten() same as Wait().
  1511. Congestion() - Now takes floating pt. argument.
  1512. Busy() - now takes floating pt. argument.
  1513. Read() - timeout now can be floating pt.
  1514. WaitForRing() now takes floating pt timeout arg.
  1515. SpeechBackground() -- clarified in the docstrings that the timeout is an integer seconds.
  1516. * Added 's' option to Page application.
  1517. * Added an optional timeout argument to the Page application.
  1518. * Added 'E', 'V', and 'P' commands to ExternalIVR.
  1519. * Added 'o' and 'X' options to Chanspy.
  1520. * Added a new dialplan application, Bridge, which allows you to bridge the
  1521. calling channel to any other active channel on the system.
  1522. * Added the ability to specify a music on hold class to play instead of ringing
  1523. for the SLATrunk application.
  1524. * The Read application no longer exits the dialplan on error. Instead, it sets
  1525. READSTATUS to ERROR, which you can catch and handle separately.
  1526. * Added 'm' option to Directory, which lists out names, 8 at a time, instead
  1527. of asking for verification of each name, one at a time.
  1528. * Privacy() no longer uses privacy.conf, as all options are specifyable as
  1529. direct options to the app.
  1530. * AMD() has a new "maximum word length" option. "show application AMD" from the CLI
  1531. for more details
  1532. * GotoIfTime() now may branch based on a "false" condition, like other Goto-related applications
  1533. * The ChannelRedirect application no longer exits the dialplan if the given channel
  1534. does not exist. It will now set the CHANNELREDIRECT_STATUS variable to SUCCESS upon success
  1535. or NOCHANNEL if the given channel was not found.
  1536. * The silencethreshold setting that was previously configurable in multiple
  1537. applications is now settable globally via dsp.conf.
  1538. Music On Hold Changes
  1539. ---------------------
  1540. * A new option, "digit", has been added for music on hold classes in
  1541. musiconhold.conf. If this is set for a music on hold class, a caller
  1542. listening to music on hold can press this digit to switch to listening
  1543. to this music on hold class.
  1544. * Support for realtime music on hold has been added.
  1545. * In conjunction with the realtime music on hold, a general section has
  1546. been added to musiconhold.conf, its sole variable is cachertclasses. If this
  1547. is set, then music on hold classes found in realtime will be cached in memory.
  1548. AEL Changes
  1549. -----------
  1550. * AEL upgraded to use the Gosub with Arguments instead
  1551. of Macro application, to hopefully reduce the problems
  1552. seen with the artificially low stack ceiling that
  1553. Macro bumps into. Macros can only call other Macros
  1554. to a depth of 7. Tests run using gosub, show depths
  1555. limited only by virtual memory. A small test demonstrated
  1556. recursive call depths of 100,000 without problems.
  1557. -- in addition to this, all apps that allowed a macro
  1558. to be called, as in Dial, queues, etc, are now allowing
  1559. a gosub call in similar fashion.
  1560. * AEL now generates LOCAL(argname) declarations when it
  1561. Set()'s the each arg name to the value of ${ARG1}, ${ARG2),
  1562. etc. That makes the arguments local in scope. The user
  1563. can define their own local variables in macros, now,
  1564. by saying "local myvar=someval;" or using Set() in this
  1565. fashion: Set(LOCAL(myvar)=someval); ("local" is now
  1566. an AEL keyword).
  1567. * utils/conf2ael introduced. Will convert an extensions.conf
  1568. file into extensions.ael. Very crude and unfinished, but
  1569. will be improved as time goes by. Should be useful for a
  1570. first pass at conversion.
  1571. * aelparse will now read extensions.conf to see if a referenced
  1572. macro or context is there before issueing a warning.
  1573. * AEL parser sets a local channel variable ~~EXTEN~~, to
  1574. preserve the value of ${EXTEN} thru switch statements.
  1575. * New operator in $[...] expressions: the ~~ operator serves
  1576. as a concatenation operator. AT THE MOMENT, it is really only
  1577. necessary and useful in AEL, especially in if() expressions.
  1578. Operation: ${a} ~~ ${b| with force both a and b to strings, strip
  1579. any enclosing double-quotes, and evaluate to the value of a
  1580. concatenated with the value of b. For example if a is set to
  1581. "xyz" and b has the value "abc", then ${a} ~~ ${b| would
  1582. evaluate to xyzabc .
  1583. Call Features (res_features) Changes
  1584. ------------------------------------
  1585. * Added the parkedcalltransfers option to features.conf
  1586. * Added parkedcallparking option to control one touch parking w/ parking
  1587. pickup
  1588. * Added parkedcallhangup option to control disconnect feature w/ parking
  1589. pickup
  1590. * Added parkedcallrecording option to control one-touch record w/ parking
  1591. pickup
  1592. * Added parkedcallparking, parkedcallhangup, parkedcallrecording, and
  1593. parkedcalltransfers option support for multiple parking lots.
  1594. * Added BRIDGE_FEATURES variable to set available features for a channel
  1595. * The built-in method for doing attended transfers has been updated to
  1596. include some new options that allow you to have the transferee sent
  1597. back to the person that did the transfer if the transfer is not successful.
  1598. See the options "atxferdropcall", "atxferloopdelay", and "atxfercallbackretries"
  1599. in features.conf.sample.
  1600. * Added support for configuring named groups of custom call features in
  1601. features.conf. This means that features can be written a single time, and
  1602. then mapped into groups of features for different key mappings or easier
  1603. access control.
  1604. * Updated the ParkedCall application to allow you to not specify a parking
  1605. extension. If you don't specify a parking space to pick up, it will grab
  1606. the first one available.
  1607. * Added cli command 'features reload' to reload call features from features.conf
  1608. * Moved into core asterisk binary.
  1609. * Changed the default setting for featuredigittimeout to 2000 ms from 500 ms.
  1610. * Added the ability for custom parking lots to be configured with their own
  1611. parking extension with the parkext option.
  1612. Language Support Changes
  1613. ------------------------
  1614. * Brazilian Portuguese (pt-BR) in VM, and say.c was added
  1615. * Added support for the Hungarian language for saying numbers, dates, and times.
  1616. AGI Changes
  1617. -----------
  1618. * Added SPEECH commands for speech recognition. A complete listing can be found
  1619. using agi show.
  1620. * If app_stack is loaded, GOSUB is a native AGI command that may be used to
  1621. invoke subroutines in the dialplan. Note that calling EXEC with Gosub
  1622. does not behave as expected; the native command needs to be used, instead.
  1623. * Added the ability to perform SRV lookups on fast AGI calls. To use this
  1624. feature, simply use hagi: instead of agi: as the protocol portion
  1625. of the URI parameter to the AGI function call in your dial plan. Also note
  1626. that specifying a port number in the AGI URI will disable SRV lookups,
  1627. even if you use the hagi: protocol.
  1628. * No longer support MSG_OOB flag on HANGUP.
  1629. Logger changes
  1630. --------------
  1631. * Added rotatestrategy option to logger.conf, along with two new options:
  1632. "timestamp" which will use the time to name the logger files instead of
  1633. sequence number; and "rotate", which rotates the names of the log files,
  1634. similar to the way syslog rotates files.
  1635. * Added exec_after_rotate option to logger.conf, which allows a system
  1636. command to be run after rotation. This is primarily useful with
  1637. rotatestrategy=rotate, to allow a limit on the number of log files kept
  1638. and to ensure that the oldest log file gets deleted.
  1639. * Added realtime support for the queue log
  1640. Call Detail Records
  1641. -------------------
  1642. * The cdr_manager module has a [mappings] feature, like cdr_custom,
  1643. to add fields to the manager event from the CDR variables.
  1644. * Added cdr_adaptive_odbc, a new module that adapts to the structure of your
  1645. backend database CDR table. Specifically, additional, non-standard
  1646. columns are supported, merely by setting the corresponding CDR variable in
  1647. your dialplan. In addition, you may alias any column to another name (for
  1648. example, if you want the 'src' CDR variable to be column 'ANI' in the DB,
  1649. simply "alias src => ANI" in the configuration file). Records may be
  1650. posted to more than one backend, simply by specifying multiple categories
  1651. in the configuration file. And finally, you may filter which CDRs get
  1652. posted to each backend, by specifying a filter (which the record must
  1653. match) for the particular category. Filters are additive (meaning all
  1654. rules must match to post that CDR).
  1655. * The Postgres CDR module now supports some features of the cdr_adaptive_odbc
  1656. module. Specifically, you may add additional columns into the table and
  1657. they will be set, if you set the corresponding CDR variable name. Also,
  1658. if you omit columns in your database table, they will be silently skipped
  1659. (but a record will still be inserted, based on what columns remain). Note
  1660. that the other two features from cdr_adaptive_odbc (alias and filter) are
  1661. not currently supported.
  1662. * The ResetCDR application now has an 'e' option that re-enables a CDR if it
  1663. has been disabled using the NoCDR application.
  1664. Miscellaneous New Modules
  1665. -------------------------
  1666. * Added a new CDR module, cdr_sqlite3_custom.
  1667. * Added a new realtime configuration module, res_config_sqlite
  1668. * Added a new codec translation module, codec_resample, which re-samples
  1669. signed linear audio between 8 kHz and 16 kHz to help support wideband
  1670. codecs.
  1671. * Added a new module, res_phoneprov, which allows auto-provisioning of phones
  1672. based on configuration templates that use Asterisk dialplan function and
  1673. variable substitution. It should be possible to create phone profiles and
  1674. templates that work for the majority of phones provisioned over http. It
  1675. is currently only intended to provision a single user account per phone.
  1676. An example profile and set of templates for Polycom phones is provided.
  1677. NOTE: Polycom firmware is not included, but should be placed in
  1678. AST_DATA_DIR/phoneprov/configs to match up with the included templates.
  1679. * Added a new module, app_jack, which provides interfaces to JACK, the Jack
  1680. Audio Connection Kit (http://www.jackaudio.org/). Two interfaces are
  1681. provided; there is a JACK() application, and a JACK_HOOK() function. Both
  1682. interfaces create an input and output JACK port. The application makes
  1683. these ports the endpoint of the call. The audio coming from the channel
  1684. goes out the output port and whatever comes back in on the input port is
  1685. what gets sent to the channel. The JACK_HOOK() function turns on a JACK
  1686. audiohook on the channel. This lets you run the audio coming from a
  1687. channel through JACK, and whatever comes back in is what gets forwarded
  1688. on as the channel's audio. This is very useful for building custom
  1689. vocoders or doing recording or analysis of the channel's audio in another
  1690. application.
  1691. * Added a new module, res_config_curl, which permits using a HTTP POST url
  1692. to retrieve, create, update, and delete realtime information from a remote
  1693. web server. Note that this module requires func_curl.so to be loaded for
  1694. backend functionality.
  1695. * Added a new module, res_config_ldap, which permits the use of an LDAP
  1696. server for realtime data access.
  1697. * Added support for writing and running your dialplan in lua using the pbx_lua
  1698. module. See configs/extensions.lua.sample for examples of how to do this.
  1699. Miscellaneous
  1700. -------------
  1701. * Ability to use libcap to set high ToS bits when non-root
  1702. on Linux. If configure is unable to find libcap then you
  1703. can use --with-cap to specify the path.
  1704. * Added maxfiles option to options section of asterisk.conf which allows you to specify
  1705. what Asterisk should set as the maximum number of open files when it loads.
  1706. * Added the jittertargetextra configuration option.
  1707. * Added support for setting the CoS for VLAN traffic (802.1p). See the sample
  1708. configuration files for the IP channel drivers. The new option is "cos".
  1709. This information is also documented in doc/qos.tex, or the IP Quality of Service
  1710. section of asterisk.pdf.
  1711. * When originating a call using AMI or pbx_spool that fails the reason for failure
  1712. will now be available in the failed extension using the REASON dialplan variable.
  1713. * Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
  1714. It allows you to configure a prefix for auto-monitor recordings.
  1715. * A new extension pattern matching algorithm, based on a trie, is introduced
  1716. here, that could noticeably speed up mid-sized to large dialplans.
  1717. It is NOT used by default, as duplicating the behaviour of the old pattern
  1718. matcher is still under development. A config file option, in extensions.conf,
  1719. in the [general] section, called "extenpatternmatchingnew", is by default
  1720. set to false; setting that to true will force the use of the new algorithm.
  1721. Also, the cli commands "dialplan set extenpatternmatchingnew true/false" can
  1722. be used to switch the algorithms at run time.
  1723. * A new option when starting a remote asterisk (rasterisk, asterisk -r) for
  1724. specifying which socket to use to connect to the running Asterisk daemon
  1725. (-s)
  1726. * Performance enhancements to the sched facility, which is used in
  1727. the channel drivers, etc. Added hashtabs and doubly-linked lists
  1728. to speed up deletion; start at the beginning or end of list to
  1729. speed up insertion.
  1730. * Added Doubly-linked lists after the fashion of linkedlists.h. They are in
  1731. dlinkedlists.h. Doubly-linked lists feature fast deletion times.
  1732. Added regression tests to the tests/ dir, also.
  1733. * Added a refcount trace feature to astobj2 for those trying to balance
  1734. object creation, deletion; work, play; space and time. See the
  1735. notes in astobj2.h. Also, see utils/refcounter as well, as a
  1736. quick way to find unbalanced refcounts in what could be a sea
  1737. of objects that were balanced.
  1738. * Added logging to 'make update' command. See update.log
  1739. * Added strictrtp option to rtp.conf. If enabled this will drop RTP packets that
  1740. do not come from the remote party.
  1741. * Added the 'n' option to the SpeechBackground application to tell it to not
  1742. answer the channel if it has not already been answered.
  1743. * Added a compiler flag, CHANNEL_TRACE, which permits channel tracing to be
  1744. turned on, via the CHANNEL(trace) dialplan function. Could be useful for
  1745. dialplan debugging.
  1746. * iLBC source code no longer included (see UPGRADE.txt for details)
  1747. * If compiled with DETECT_DEADLOCKS enabled and if you have glibc, then if
  1748. deadlock is detected, a backtrace of the stack which led to the lock calls
  1749. will be output to the CLI.
  1750. * If compiled with DEBUG_THREADS enabled and if you have glibc, then issuing
  1751. the "core show locks" CLI command will give lock information output as well
  1752. as a backtrace of the stack which led to the lock calls.
  1753. * users.conf now sports an optional alternateexts property, which permits
  1754. allocation of additional extensions which will reach the specified user.
  1755. * A new option for the configure script, --enable-internal-poll, has been added
  1756. for use with systems which may have a buggy implementation of the poll system
  1757. call. If you notice odd behavior such as the CLI being unresponsive on remote
  1758. consoles, you may want to try using this option. This option is enabled by default
  1759. on Darwin systems since it is known that the Darwin poll() implementation has
  1760. odd issues.
  1761. Timer Changes
  1762. --------------------
  1763. * In addition to timing from DAHDI, there is a new timing module called
  1764. res_timing_timerfd. In order to use this, you must be running Linux with
  1765. a kernel version 2.6.25 or newer as well as glibc 2.8 or newer. The configure
  1766. script will be able to tell if you have the requirements. From menuselect, select
  1767. res_timing_timerfd from the Resource Modules menu.