CHANGES 99 KB

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