CHANGES 292 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094
  1. ==============================================================================
  2. ===
  3. === This file documents the new and/or enhanced functionality added in
  4. === the Asterisk versions listed below. This file does NOT include
  5. === changes in behavior that would not be backwards compatible with
  6. === previous versions; for that information see the UPGRADE.txt file
  7. === and the other UPGRADE files for older releases.
  8. ===
  9. ==============================================================================
  10. ------------------------------------------------------------------------------
  11. --- Functionality changes from Asterisk 13.24.0 to Asterisk 13.25.0 ----------
  12. ------------------------------------------------------------------------------
  13. ARI
  14. ------------------
  15. * Whenever an ARI application is started, a context will be created for it
  16. automatically as long as one does not already exist, following the format
  17. 'stasis-<app_name>'. Two extensions are also added to this context: a match-all
  18. extension, and the 'h' extension. Any phone that registers under this context
  19. will place all calls to the corresponding Stasis application.
  20. res_pjsip
  21. ------------------
  22. * Added "send_contact_status_on_update_registration" global configuration option
  23. to enable sending AMI ContactStatus event when a device refreshes its registration.
  24. Core
  25. ------------------
  26. * Reworked the media indexer so it doesn't cache the index. Testing revealed
  27. that the cache added no benefit but that it could consume excessive memory.
  28. Two new index related functions were created: ast_sounds_get_index_for_file()
  29. and ast_media_index_update_for_file() which restrict index updating to
  30. specific sound files. The original ast_sounds_get_index() and
  31. ast_media_index_update() calls are still available but since they no longer
  32. cache the results internally, developers should re-use an index they may
  33. already have instead of calling ast_sounds_get_index() repeatedly. If
  34. information for only a single file is needed, ast_sounds_get_index_for_file()
  35. should be called instead of ast_sounds_get_index().
  36. Features
  37. ------------------
  38. * Before Asterisk 12, when using the automon or automixmon features defined
  39. in features.conf, a channel variable (TOUCH_MIXMONITOR_OUTPUT) was set on
  40. both channels, indicating the filename of the recording.
  41. When bridging was overhauled in Asterisk 12, the behavior was changed such
  42. that the variable was only set on the peer channel and not on the channel
  43. that initiated the automon or automixmon.
  44. The previous behavior has been restored so both channels receive the
  45. channel variable when one of these features is invoked.
  46. app_voicemail
  47. ------------------
  48. * You can now specify a special context with the "aliasescontext" parameter
  49. in voicemail.conf which will allow you to create aliases for physical
  50. mailboxes.
  51. ------------------------------------------------------------------------------
  52. --- Functionality changes from Asterisk 13.23.0 to Asterisk 13.24.0 ----------
  53. ------------------------------------------------------------------------------
  54. pbx_config
  55. ------------------
  56. * pbx_config will now find and process multiple 'globals' sections from
  57. extensions.conf. Variables are processed in the order they are found
  58. and duplicate variables overwrite the previous value.
  59. chan_pjsip
  60. ------------------
  61. * New dialplan function PJSIP_PARSE_URI added to parse an URI and return
  62. a specified part of the URI.
  63. Core
  64. ------------------
  65. * ast_bt_get_symbols() now returns a vector of strings instead of an
  66. array of strings. This must be freed with ast_bt_free_symbols.
  67. res_pjsip
  68. ------------------
  69. * New options 'trust_connected_line' and 'send_connected_line' have been
  70. added to the endpoint. The option 'trust_connected_line' is to control
  71. if connected line updates are accepted from this endpoint.
  72. The option 'send_connected_line' is to control if connected line updates
  73. can be sent to this endpoint.
  74. The default value is 'yes' for both options.
  75. res_rtp_asterisk
  76. ------------------
  77. * The existing strictrtp option in rtp.conf has a new choice availabe, called
  78. 'seqno', which behaves the same way as setting strictrtp to 'yes', but will
  79. ignore the time interval during learning so that bursts of packets can still
  80. trigger learning our source.
  81. ------------------------------------------------------------------------------
  82. --- Functionality changes from Asterisk 13.22.0 to Asterisk 13.23.0 ----------
  83. ------------------------------------------------------------------------------
  84. res_pjsip
  85. ------------------
  86. * A new option 'suppress_q850_reason_headers' has been added to the endpoint
  87. object. Some devices can't accept multiple Reason headers and get confused
  88. when both 'SIP' and 'Q.850' Reason headers are received. This option allows
  89. the 'Q.850' Reason header to be suppressed. The default value is 'no'.
  90. res_pjsip_endpoint_identifier_ip
  91. ------------------
  92. * Added regex support to the identify section match_header option. You
  93. specify a regex instead of an explicit string by surrounding the header
  94. value with slashes:
  95. match_header = SIPHeader: /regex/
  96. ------------------------------------------------------------------------------
  97. --- Functionality changes from Asterisk 13.21.0 to Asterisk 13.22.0 ----------
  98. ------------------------------------------------------------------------------
  99. Core
  100. ------------------
  101. * Core bridging and, more specifically, bridge_softmix have been enhanced to
  102. relay received frames of type TEXT or TEXT_DATA to all participants in a
  103. softmix bridge. res_pjsip_messaging and chan_pjsip have been enhanced to
  104. take advantage of this so when res_pjsip_messaging receives an in-dialog
  105. MESSAGE message from a user in a conference call, it's relayed to all
  106. other participants in the call.
  107. app_sendtext
  108. ------------------
  109. Support Enhanced Messaging. SendText now accepts new channel variables
  110. that can be used to override the To and From display names and set the
  111. Content-Type of a message. Since you can now set Content-Type, other
  112. text/* content types are now valid.
  113. app_confbridge
  114. ------------------
  115. * ConfbridgeList now shows talking status. This utilizes the same voice
  116. detection as the ConfbridgeTalking event, so bridges must be configured
  117. with "talk_detection_events=yes" for this flag to have meaning.
  118. res_pjsip
  119. ------------------
  120. * Two new options have been added to the system and endpoint objects to
  121. control whether, on outbound calls, Asterisk will accept updated SDP answers
  122. during the initial INVITE transaction when 100rel is not in effect.
  123. This usually happens when the INVITE is forked to multiple UASs and more
  124. than one sends an SDP answer or when a single UAS needs to change a media
  125. port to switch from custom ringback to the actual media destination.
  126. The 'follow_early_media_forked' option sets whether Asterisk will accept
  127. the updated SDP when the To tag on the subsequent response is different than
  128. that on the the previous response. This usually occurs in the forked INVITE
  129. scenario. The default value is "yes" which is the current behavior.
  130. The 'accept_multiple_sdp_answers' flag sets whether Asterisk will accept the
  131. updated SDP when the To tag on the subsequent response is the same as that
  132. on the previous response. This can occur when a UAS needs to switch media
  133. ports from custom ringback to the final media path. The default value is
  134. "no" which is the current behavior.
  135. These options have to be enabled system-wide in the system config section
  136. of pjsip.conf as well as on individual endpoints that require the
  137. functionality.
  138. ------------------------------------------------------------------------------
  139. --- Functionality changes from Asterisk 13.20.0 to Asterisk 13.21.0 ----------
  140. ------------------------------------------------------------------------------
  141. Build System
  142. ------------------
  143. * RADIUS backends for CEL and CDR can now also be built using the radcli
  144. client library, in addition to the existing support for building them
  145. using either freeradius or radiusclient-ng.
  146. Core
  147. ------------------
  148. * A new configuration option "genericplc_on_equal_codecs" was added to the
  149. "plc" section of codecs.conf to allow generic packet loss concealment even
  150. if no transcoding was originally needed. Transcoding via SLIN is forced
  151. in this case.
  152. res_pjproject
  153. ------------------
  154. * Added the "cache_pools" option to pjproject.conf. Disabling the option
  155. helps track down pool content mismanagement when using valgrind or
  156. MALLOC_DEBUG. The cache gets in the way of determining if the pool contents
  157. are used after free and who freed it.
  158. res_pjsip_notify
  159. ------------------
  160. * Extend the PJSIPNotify AMI command to send an in-dialog notify on a
  161. channel.
  162. ------------------------------------------------------------------------------
  163. --- Functionality changes from Asterisk 13.19.0 to Asterisk 13.20.0 ----------
  164. ------------------------------------------------------------------------------
  165. Core
  166. ------------------
  167. * During dialplan reload log messages are produced for each context,
  168. extension and include. These messages are no longer printed by the
  169. verbose loggers, they are now only logged as debug messages.
  170. app_confbridge
  171. ------------------
  172. * Added the Muted header to the ConfbridgeJoin AMI event to indicate the
  173. participant's starting mute status.
  174. * Made the AMI ConfbridgeList action's ConfbridgeList events output all
  175. the standard channel snapshot headers instead of a few hand-coded channel
  176. snapshot headers. The benefit is that the CallerIDName gets disruptive
  177. characters like CR, LF, Tab, and a few others escaped. However, an empty
  178. CallerIDName is now output as "<unknown>" instead of "<no name>".
  179. app_followme
  180. ------------------
  181. * Added a new prompt, connecting-prompt, which will be played
  182. (if configured) to the "winner" callee before connecting the call.
  183. res_pjsip
  184. ------------------
  185. * Users who are matching endpoints by SIP header need to reevaluate their
  186. global "endpoint_identifier_order" option in light of the "ip" endpoint
  187. identifier method split into the "ip" and "header" endpoint identifier
  188. methods.
  189. * The pjsip_transport_event feature introduced in 13.18.0 has been refactored.
  190. Any external modules that may have used that feature (highly unlikey) will
  191. need to be changed as the API has been altered slightly.
  192. res_pjsip_endpoint_identifier_ip
  193. ------------------
  194. * The endpoint identifier "ip" method previously recognized endpoints either
  195. by IP address or a matching SIP header. The "ip" endpoint identifier method
  196. is now split into the "ip" and "header" endpoint identifier methods. The
  197. "ip" endpoint identifier method only matches by IP address and the "header"
  198. endpoint identifier method only matches by SIP header. The split allows the
  199. user to control the relative priority of the IP address and the SIP header
  200. identification methods in the global "endpoint_identifier_order" option.
  201. e.g., If you have two type=identify sections where one matches by IP address
  202. for endpoint alice and the other matches by SIP header for endpoint bob then
  203. you can now predict which endpoint is matched when a request comes in that
  204. matches both.
  205. res_pjsip_registrar_expire
  206. ------------------
  207. * The res_pjsip_registrar_expire module is now deprecated and will be removed
  208. from Asterisk 16. The existing functionality was moved into
  209. res_pjsip_registrar.
  210. res_pjsip_pubsub
  211. ------------------
  212. * In an earlier release, inbound registrations on a reliable transport
  213. were pruned on Asterisk restart since the TCP connection would have
  214. been torn down and become unusable when Asterisk stopped. This same
  215. process is now also applied to inbound subscriptions. Since this
  216. required the addition of a new column to the ps_subscription_persistence
  217. realtime table, users who store their subscriptions in a database will
  218. need to run the "alembic upgrade head" process to add the column to
  219. the schema.
  220. res_pjsip_transport_management
  221. ------------------
  222. * Since res_pjsip_transport_management provides several attack
  223. mitigation features, its functionality moved to res_pjsip and
  224. this module has been removed. This way the features will always
  225. be available if res_pjsip is loaded.
  226. ------------------------------------------------------------------------------
  227. --- Functionality changes from Asterisk 13.18.0 to Asterisk 13.19.0 ----------
  228. ------------------------------------------------------------------------------
  229. Core
  230. ------------------
  231. * Added the "cache_media_frames" option to asterisk.conf. Disabling the option
  232. helps track down media frame mismanagement when using valgrind or
  233. MALLOC_DEBUG. The cache gets in the way of determining if the frame is
  234. used after free and who freed it. NOTE: This option has no effect when
  235. Asterisk is compiled with the LOW_MEMORY compile time option enabled because
  236. the cache code does not exist.
  237. chan_sip
  238. ------------------
  239. * Calls to invalid extensions are now reported as an ACL failure security event
  240. "no_extension_match".
  241. res_pjsip
  242. ------------------
  243. * The "identify_by" on endpoints can now be set to "ip" to restrict an endpoint
  244. being matched based only on IP address. To ensure no behavior change the
  245. default has been changed to "username,ip".
  246. ------------------------------------------------------------------------------
  247. --- Functionality changes from Asterisk 13.17.0 to Asterisk 13.18.0 ----------
  248. ------------------------------------------------------------------------------
  249. Core
  250. ------------------
  251. * VP9 is now a supported passthrough video codec and it can be used by
  252. specifying "vp9" in the allow line.
  253. Build System
  254. ------------------
  255. * A '--with-download-cache' option is now available which is equivalent to
  256. setting '--with-sounds-cache' and '--with-externals-cache' to the same
  257. value. The download cache can also be set via the AST_DOWNLOAD_CACHE
  258. environment variable.
  259. res_pjsip
  260. ------------------
  261. * The "external_media_address" on transports is now resolved using dnsmgr and
  262. when dnsmgr refreshes are enabled will be automatically updated with the new
  263. IP address of a given hostname.
  264. * A new endpoint parameter "incoming_mwi_mailbox" allows Asterisk to receive
  265. unsolicited MWI NOTIFY requests and make them available to other modules via
  266. the stasis message bus.
  267. * The "remove_existing" option now allows a registration to succeed by
  268. displacing any existing contacts that now exceed the "max_contacts" count.
  269. Any removed contacts are the next to expire. The behaviour change is
  270. beneficial when "rewrite_contact" is enabled and "max_contacts" is greater
  271. than one. The removed contact is likely the old contact created by
  272. "rewrite_contact" that the device is refreshing.
  273. res_musiconhold
  274. ------------------
  275. * By default, when res_musiconhold reloads or unloads, it sends a HUP signal
  276. to custom applications (and all descendants), waits 100ms, then sends a
  277. TERM signal, waits 100ms, then finally sends a KILL signal. An application
  278. which is interacting with an external device and/or spawns children of its
  279. own may not be able to exit cleanly in the default times, expecially if sent
  280. a KILL signal, or if it's children are getting signals directly from
  281. res_musiconhoild. To allow extra time, the 'kill_escalation_delay'
  282. class option can be used to set the number of milliseconds res_musiconhold
  283. waits before escalating kill signals, with the default being the current
  284. 100ms. To control to whom the signals are sent, the "kill_method"
  285. class option can be set to "process_group" (the default, existing behavior),
  286. which sends signals to the application and its descendants directly, or
  287. "process" which sends signals only to the application itself.
  288. res_pjsip
  289. ------------------
  290. * New dialplan function PJSIP_DTMF_MODE added to get or change the DTMF mode
  291. of a channel on a per-call basis.
  292. res_xmpp
  293. -----------------
  294. * OAuth 2.0 authentication is now supported when contacting Google. Follow the
  295. instructions in xmpp.conf.sample to retrieve and configure the necessary
  296. tokens.
  297. app_queue
  298. ------------------
  299. * Add priority to callers in AMI QueueStatus response.
  300. AMI
  301. ------------------
  302. * Added a new CancelAtxfer action that cancels an attended transfer.
  303. ------------------------------------------------------------------------------
  304. --- Functionality changes from Asterisk 13.16.0 to Asterisk 13.17.0 ----------
  305. ------------------------------------------------------------------------------
  306. app_voicemail
  307. ------------------
  308. * A new global option "imap_poll_logout" was added to specify whether need to
  309. disconnect from the IMAP server after polling of mailboxes.
  310. Default: no
  311. res_pjsip
  312. ------------------
  313. * A new endpoint option "refer_blind_progress" was added to turn off notifying
  314. the progress details on Blind Transfer. If this option is not set then
  315. the chan_pjsip will send NOTIFY "200 OK" immediately after "202 Accepted".
  316. On default is enabled.
  317. Some SIP phones like Mitel/Aastra or Snom keep the line busy until
  318. receive "200 OK".
  319. * A new endpoint option "notify_early_inuse_ringing" was added to control
  320. whether to notify dialog-info state 'early' or 'confirmed' on Ringing
  321. when already INUSE.
  322. * The endpoint option 'dtmf_mode' has a new option 'auto_dtmf' added. This
  323. mode works similar to 'auto' except uses DTMF INFO as fallback instead of
  324. INBAND.
  325. res_agi
  326. ------------------
  327. * The EAGI() application will now look for a dialplan variable named
  328. EAGI_AUDIO_FORMAT and use that format with the 'enhanced' audio pipe that
  329. EAGI provides. If not specified, it will continue to use the default signed
  330. linear (slin).
  331. chan_pjsip
  332. ------------------
  333. * When dialing an endpoint directly or using the PJSIP_DIAL_CONTACTS dialplan
  334. function any contact which is considered unreachable due to qualify being
  335. enabled will no longer be called.
  336. * The asymmetric_rtp_codec option now also controls whether chan_pjsip will
  337. send media as-is without transcoding if the codec has been negotiated in the
  338. SDP. If set to "no" then Asterisk will only ever send the preferred codec
  339. from the SDP, unless the remote side sends a different codec and we will
  340. switch to match.
  341. Build System
  342. ------------------
  343. * Added a new PJPROJECT_CONFIGURE_OPTS environment variable which can be used
  344. to pass arbitrary options to the bundled pjproject configure.
  345. * Automatically set the bundled pjproject configure --host and --build
  346. options to match those supplied for the asterisk configure.
  347. ------------------------------------------------------------------------------
  348. --- Functionality changes from Asterisk 13.15.0 to Asterisk 13.16.0 ----------
  349. ------------------------------------------------------------------------------
  350. res_rtp_asterisk
  351. ------------------
  352. * Added the stun_blacklist option to rtp.conf. Some multihomed servers have
  353. IP interfaces that cannot reach the STUN server specified by stunaddr.
  354. Blacklist those interface subnets from trying to send a STUN packet to find
  355. the external IP address. Attempting to send the STUN packet needlessly
  356. delays processing incoming and outgoing SIP INVITEs because we will wait
  357. for a response that can never come until we give up on the response.
  358. Multiple subnets may be listed.
  359. Logging
  360. -------------------
  361. * Added logger_queue_limit to the configuration options.
  362. All log messages go to a queue serviced by a single thread
  363. which does all the IO. This setting controls how big that
  364. queue can get (and therefore how much memory is allocated)
  365. before new messages are discarded.
  366. The default is 1000.
  367. res_pjsip_config_wizard
  368. ------------------
  369. * Two new parameters have been added to the pjsip config wizard.
  370. Setting 'sends_line_with_registrations' to true will cause the wizard
  371. to skip the creation of an identify object to match incoming requests
  372. to the endpoint and instead add the line and endpoint parameters to
  373. the outbound registration object.
  374. Setting 'outbound_proxy' is a shortcut for adding individual
  375. endpoint/outbound_proxy, aor/outbound_proxy and registration/outbound_proxy
  376. parameters.
  377. res_hep_rtcp
  378. ------------------
  379. * If the 'call-id' value is specified for the uuid_type option and a
  380. chan_sip channel is used the resulting HEP traffic will now contain the
  381. SIP Call-ID instead of the Asterisk channel name.
  382. ------------------------------------------------------------------------------
  383. --- Functionality changes from Asterisk 13.14.0 to Asterisk 13.15.0 ----------
  384. ------------------------------------------------------------------------------
  385. AMI
  386. ------------------
  387. * The 'PJSIPShowEndpoint' command's respone event of 'IdentifyDetail' now
  388. contains a new optional parameter, 'MatchHeader', mapping to the new
  389. configuration option 'match_header' for the corresponding 'identify' object.
  390. It should be noted that since 'match_header' takes in a key: value pair, the
  391. event parameter will contain a ':' as well.
  392. app_record
  393. ------------------
  394. * Added new 'u' option to Record() application which prevents Asterisk from
  395. truncating silence from the end of recorded files.
  396. res_pjsip_outbound_registration
  397. ------------------
  398. * Outbound registrations are now refreshed when res_stun_monitor detects
  399. a network change event has happened.
  400. The 'pjsip send (un)register' CLI commands were updated to accept '*all'
  401. as an argument to operate on all registrations.
  402. The 'PJSIP(Un)Register' AMI commands were updated to also accept '*all'.
  403. app_voicemail
  404. ------------------
  405. * The 'Comedian Mail' prompts can now be overriden using the 'vm-login' and
  406. 'vm-newuser' configuration options in voicemail.conf.
  407. * Added 'fromstring' field to the voicemail boxes. If set, it will override
  408. the global 'fromstring' field on a per-mailbox basis.
  409. func_channel
  410. ------------------
  411. * Added CHANNEL(callid) to retrieve the call log tag associated with the
  412. channel. e.g., [C-00000000] Dialplan now has access to the call log
  413. search key associated with the channel so it can be saved in case there
  414. is a problem with the call.
  415. res_pjsip
  416. ------------------
  417. * A new transport parameter 'symmetric_transport' has been added.
  418. When a request from a dynamic contact comes in on a transport with this
  419. option set to 'yes', the transport name will be saved and used for
  420. subsequent outgoing requests like OPTIONS, NOTIFY and INVITE. It's
  421. saved as a contact uri parameter named 'x-ast-txp' and will display with
  422. the contact uri in CLI, AMI, and ARI output. On the outgoing request,
  423. if a transport wasn't explicitly set on the endpoint AND the request URI
  424. is not a hostname, the saved transport will be used and the 'x-ast-txp'
  425. parameter stripped from the outgoing packet. To facilitate recreation of
  426. subscriptions on asterisk restart, a new column 'contact_uri' needed to be
  427. added to the ps_subcsription_persistence table. Since new columns were
  428. added to both transport and subscription_persistence, an alembic upgrade
  429. should be run to bring the database tables up to date.
  430. * A new option, allow_overlap, has been added to endpoints which allows
  431. overlap dialing functionality to be enabled or disabled. The option defaults
  432. to enabled.
  433. res_pjsip_transport_websocket
  434. ------------------
  435. * Removed non-secure websocket support. Firefox and Chrome have not allowed
  436. non-secure websockets for quite some time so this shouldn't be an issue
  437. for people. Attempting to use a non-secure websocket may or may not work
  438. when Asterisk attempts to send SIP requests to do something like initiate
  439. call hangup.
  440. res_pjsip_endpoint_identifier_ip
  441. ------------------
  442. * A new option has been added to the 'identify' configuration object,
  443. 'match_header'. The 'match_header' attribute should contain a SIP
  444. header: value pair that, When set, will cause inbound requests that contain
  445. the matching SIP header/value pair to be associated with the corresponding
  446. endpoint. This option is cumulative with the 'match' option, so that if
  447. either option matches the request, the request is associated with the
  448. endpoint.
  449. In a future release, this module will be renamed to something more
  450. appropriate, as it now matches inbound requests on more than just IP
  451. address.
  452. res_rtp_asterisk
  453. -----------------
  454. * The RTP layer of Asterisk now has support for RFC 5761: "Multiplexing RTP
  455. Data and Control Packets on a Single Port." So far, the only channel driver
  456. that supports this feature is chan_pjsip. You can set "rtcp_mux = yes" on
  457. a PJSIP endpoint in pjsip.conf to enable the feature.
  458. ------------------------------------------------------------------------------
  459. --- Functionality changes from Asterisk 13.13.0 to Asterisk 13.14.0 ----------
  460. ------------------------------------------------------------------------------
  461. res_pjproject
  462. ------------------
  463. * Added new CLI command "pjproject set log level". The new command allows
  464. the maximum PJPROJECT log levels to be adjusted dynamically and
  465. independently from the set debug logging level like many other similar
  466. module debug logging commands.
  467. * Added new companion CLI command "pjproject show log level" to allow the
  468. user to see the current maximum pjproject logging level.
  469. * Added new pjproject.conf startup section "log_level' option to set the
  470. initial maximum PJPROJECT logging level.
  471. res_pjsip_outbound_registration
  472. ------------------
  473. * Statsd no longer logs redundant status PJSIP.registrations.state changes
  474. for internal state transitions that don't change the reported public status
  475. state.
  476. res_pjsip_registrar
  477. ------------------
  478. * The PJSIPShowRegistrationInboundContactStatuses AMI command has been added
  479. to return ContactStatusDetail events as opposed to
  480. PJSIPShowRegistrationsInbound which just a dumps every defined AOR.
  481. res_pjsip
  482. ------------------
  483. * Six existing contact fields have been added to the end of the
  484. ContactStatusDetail AMI event:
  485. ID, AuthenticateQualify, OutboundProxy, Path, QualifyFrequency and
  486. QualifyTimeout. Existing fields have not been disturbed.
  487. res_pjsip_endpoint_identifier_ip
  488. ------------------
  489. * SRV lookups can now be done on provided hostnames to determine additional
  490. source IP addresses for requests. This is configurable using the
  491. "srv_lookups" option on the identify and defaults to "yes".
  492. ARI
  493. ------------------
  494. * The 'ari set debug' command has been enhanced to accept 'all' as an
  495. application name. This allows dumping of all apps even if an app
  496. hasn't registered yet.
  497. * 'ari set debug' now displays requests and responses as well as events.
  498. ------------------------------------------------------------------------------
  499. --- Functionality changes from Asterisk 13.12.0 to Asterisk 13.13.0 ----------
  500. ------------------------------------------------------------------------------
  501. AMI
  502. ------------------
  503. * Events that reference a bridge may now contain two new optional fields:
  504. - 'BridgeVideoSourceMode': the video source mode for the bridge.
  505. Can be one of 'none', 'talker', or 'single'.
  506. - 'BridgeVideoSource': the unique ID of the channel that is the video
  507. source in this bridge, if one exists.
  508. * A new event, BridgeVideoSourceUpdate, has been added with a class
  509. authorization of CALL. The event is raised when the video source changes
  510. in a multi-party mixing bridge.
  511. ARI
  512. ------------------
  513. * The bridges resource now exposes two new operations:
  514. - POST /bridges/{bridgeId}/videoSource/{channelId}: Set a video source in a
  515. multi-party mixing bridge
  516. - DELETE /bridges/{bridgeId}/videoSource: Remove the set video source,
  517. reverting to talk detection for the video source
  518. * The bridge model in any returned response or event now contains the following
  519. optional fields:
  520. - video_mode: the video source mode for the bridge. Can be one of 'none',
  521. 'talker', or 'single'.
  522. - video_source_id: the unique ID of the channel that is the video source
  523. in this bridge, if one exists.
  524. * A new event, BridgeVideoSourceChanged, has been added for bridges.
  525. Applications subscribed to a bridge will receive this event when the source
  526. of video changes in a mixing bridge.
  527. res_pjsip
  528. ------------------
  529. * Automatic dual stack support is now implemented. Depending on DNS resolution
  530. and the transport used for sending a message the SIP signaling and SDP will
  531. be updated with the correct IP address and protocol version. This means that
  532. the rtp_ipv6 and t38_udptl_ipv6 options no longer have any effect. The
  533. res_pjsip_multihomed module has also been moved into core res_pjsip to ensure
  534. that messages are updated with the correct address information in all cases.
  535. chan_pjsip
  536. ------------------
  537. * The default behavior for RTP codecs has been changed. The sending codec will
  538. now match the receiving codec. This can be turned off and behavior reverted
  539. to asymmetric using the "asymmetric_rtp_codec" endpoint option. If this
  540. option is set then the sending and received codec are allowed to differ.
  541. CLI Commands
  542. ------------------
  543. * Three new CLI commands have been added for ARI:
  544. - ari show apps:
  545. Displays a listing of all registered ARI applications.
  546. - ari show app <name>:
  547. Display detailed information about a registered ARI application.
  548. - ari set debug <name> <on|off>:
  549. Enable/disable debugging of an ARI application. When debugged, verbose
  550. information will be sent to the Asterisk CLI.
  551. RTP
  552. ------------------
  553. * New setting "rtp_pt_dynamic = 96" in asterisk.conf:
  554. Normally the Dynamic RTP Payload Type numbers are 96-127, which allow 32
  555. formats. When you use more and receive the message "No Dynamic RTP mapping
  556. available", extend the dynamic range by going for rtp_pt_dynamic = 35 (or 0)
  557. instead of 96. This allows 29 (or 64) additional formats. On default this is
  558. disabled and the range is 96-127 because any number below might be rejected
  559. by a remote implementation; although no such broken implementation is known.
  560. Queue
  561. ------------------
  562. * A new dialplan variable, ABANDONED, is set when the call is not answered
  563. by an agent.
  564. Core
  565. ------------------
  566. * The TLS core in Asterisk now supports X.509 certificate subject alternative
  567. names. This way one X.509 certificate can be used for hosts that can be
  568. reached under multiple DNS names or for multiple hosts.
  569. ------------------------------------------------------------------------------
  570. --- Functionality changes from Asterisk 13.11.0 to Asterisk 13.12.0 ----------
  571. ------------------------------------------------------------------------------
  572. Build System
  573. ------------------
  574. * The res_digium_phone, codec_g729a, codec_silk, codec_siren7 and
  575. codec_siren14 binary modules hosted at downloads.digium.com can now be
  576. automatically downloaded and installed during the Asterisk install
  577. process. If selected in menuselect, when 'make install' is run, the
  578. script will check the downloads site for a new version and download
  579. and install it if needed. The '--with-externals-cache' option to
  580. ./configure can be used to specify a location to cache the latest
  581. tarballs so they don't have to be re-downloaded for every install.
  582. app_voicemail
  583. ------------------
  584. * Added "tps_queue_high" and "tps_queue_low" options.
  585. The options can modify the taskprocessor alert levels for this module.
  586. Additional information can be found in the sample configuration file at
  587. config/samples/voicemail.conf.sample.
  588. res_pjsip_mwi
  589. ------------------
  590. * Added "mwi_tps_queue_high" and "mwi_tps_queue_low" global configuration
  591. options to tune taskprocessor alert levels.
  592. * Added "mwi_disable_initial_unsolicited" global configuration option
  593. to disable sending unsolicited MWI to all endpoints on startup.
  594. Additional information can be found in the sample configuration file at
  595. config/samples/pjsip.conf.sample.
  596. chan_pjsip
  597. ------------------
  598. * A new dialplan function, PJSIP_SEND_SESSION_REFRESH, has been added. When
  599. invoked, a re-INVITE or UPDATE request will be sent immediately to the
  600. endpoint underlying the channel. When used in combination with the existing
  601. dialplan function PJSIP_MEDIA_OFFER, this allows the formats on a PJSIP
  602. channel to be re-negotiated and updated after session set up.
  603. res_pjsip
  604. ------------------
  605. * A new endpoint configuration parameter 'contact_user' has been added which
  606. when set will override the default user set on Contact headers in outgoing
  607. requests.
  608. * If you are using a sorcery realtime backend to store global res_pjsip
  609. options (ps_globals table) then you now have to do a res_pjsip reload for
  610. changes to these options to take effect. If you are using pjsip.conf to
  611. configure these options then you already had to do a reload after making
  612. changes.
  613. * Added "ignore_uri_user_options" global configuration option for
  614. compatibility with an ITSP that sends URI user field options. When enabled
  615. the user field is truncated at the first semicolon.
  616. Example:
  617. URI: "sip:1235557890;phone-context=national@x.x.x.x;user=phone"
  618. The user field is "1235557890;phone-context=national"
  619. Which is truncated to this: "1235557890"
  620. Note: The caller-id and redirecting number strings obtained from incoming
  621. SIP URI user fields are now always truncated at the first semicolon.
  622. res_rtp_asterisk
  623. ------------------
  624. * An option, ice_blacklist, has been added which allows certain subnets to be
  625. excluded from local ICE candidates.
  626. app_confbridge
  627. ------------------
  628. * Some sounds played into the bridge are played asynchronously. This, for
  629. instance, allows a channel to immediately exit the ConfBridge without having
  630. to wait for a leave announcement to play.
  631. Core
  632. ------------------
  633. * If Asterisk is built with systemd support, and run under systemd, it will
  634. notify systemd of its state using sd_notify. Use 'Type=notify' in
  635. asterisk.service.
  636. app_dial
  637. ------------------
  638. * Added the "Q" option which sets the Q.850/Q.931 cause on unanswered channels
  639. when another channel answers the call. The default of ANSWERED_ELSEWHERE
  640. is unchanged.
  641. res_ari
  642. ------------------
  643. * ARI events will all now include a new field in the root of the JSON message,
  644. 'asterisk_id'. This will be the unique ID for the Asterisk system
  645. transmitting the event. The value can be overridden using the 'entityid'
  646. setting in asterisk.conf.
  647. ------------------------------------------------------------------------------
  648. --- Functionality changes from Asterisk 13.10.0 to Asterisk 13.11.0 ----------
  649. ------------------------------------------------------------------------------
  650. chan_dahdi
  651. ------------------
  652. * Added "faxdetect_timeout" option.
  653. The option determines how many seconds into a call before faxdetect
  654. is disabled for the call. Setting the value to zero disables the timeout.
  655. chan_sip
  656. ------------------
  657. * Session-Timers (RFC 4028) work for TCP (and TLS) transports as well now.
  658. Previously Asterisk dropped calls only with UDP transports. However with
  659. longer international calls via TCP, the SIP channel might break, because
  660. all hops on the Internet route must stay online (have not a single power
  661. outage, for example). Therefore with Session-Timers enabled (which are
  662. enabled at default), you might see additional dropped calls. Consequently
  663. please, consider to go for session-timers=refuse in your sip.conf.
  664. res_pjsip
  665. ------------------
  666. * Added "fax_detect_timeout" to endpoint.
  667. The option determines how many seconds into a call before fax_detect
  668. is disabled for the call. Setting the value to zero disables the timeout.
  669. * Added "subscribe_context" to endpoint.
  670. If specified, incoming SUBSCRIBE requests will be searched for the matching
  671. extension in the indicated context. If no "subscribe_context" is specified,
  672. then the "context" setting is used.
  673. res_rtp_asterisk
  674. ------------------
  675. * The DTLS part in Asterisk now supports Perfect Forward Secrecy (PFS).
  676. Enabling PFS is attempted by default, and is dependent on the configuration
  677. of the module using TLS.
  678. - Ephemeral ECDH (ECDHE) is enabled by default. To disable it, do not
  679. specify a ECDHE cipher suite in sip.conf, for example:
  680. dtlscipher=AES128-SHA
  681. - Ephemeral DH (DHE) is disabled by default. To enable it, add DH parameters
  682. into the private key file, e.g., sip.conf dtlsprivatekey. For example:
  683. openssl dhparam -out ./dh.pem 2048
  684. - Because clients expect the server to prefer PFS, and because OpenSSL sorts
  685. its cipher suites by bit strength, see "openssl ciphers -v DEFAULT".
  686. Consider re-ordering your cipher suites in the respective configuration
  687. file. For example:
  688. dtlscipher=ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256
  689. which forces PFS and requires at least DTLS 1.2.
  690. ------------------------------------------------------------------------------
  691. --- Functionality changes from Asterisk 13.9.0 to Asterisk 13.10.0 -----------
  692. ------------------------------------------------------------------------------
  693. Core
  694. ------------------
  695. * A channel variable FORWARDERNAME is now set which indicates which channel
  696. was responsible for a forwarding requests received on dial attempt.
  697. chan_multicast_rtp
  698. ------------------
  699. * Deprecated in favor of chan_rtp which is basically chan_multicast_rtp
  700. renamed to chan_rtp with UnicastRTP channels added and some internal code
  701. improvements.
  702. chan_rtp
  703. ------------------
  704. * The format for dialing a unicast RTP channel is:
  705. UnicastRTP/<destination-addr>[/[<options>]]
  706. Where <destination-addr> is something like '127.0.0.1:5060'.
  707. Where <options> are in standard Asterisk flag options format:
  708. c(<codec>) - Specify which codec/format to use such as 'ulaw'.
  709. e(<engine>) - Specify which RTP engine to use such as 'asterisk'.
  710. * More options are available over what chan_multicast_rtp supports.
  711. The format for dialing a multicast RTP channel is:
  712. MulticastRTP/<type>/<destination-addr>[/[<control-addr>][/[<options>]]]
  713. Where <type> can be either 'basic' or 'linksys'.
  714. Where <destination-addr> is something like '224.0.0.3:5060'.
  715. Where <control-addr> is something like '127.0.0.1:5060'.
  716. Where <options> are in standard Asterisk flag options format:
  717. c(<codec>) - Specify which codec/format to use such as 'ulaw'.
  718. i(<address>) - Specify the interface address from which multicast RTP
  719. is sent.
  720. l(<enable>) - Set whether packets are looped back to the sender. The
  721. enable value can be 0 to set looping to off and non-zero to set
  722. looping on.
  723. t(<ttl>) - Set the time-to-live (TTL) value for multicast packets.
  724. func_odbc
  725. ------------------
  726. * Added new global option "single_db_connection".
  727. Enabling this option func_odbc will use a single database connection per DSN.
  728. This option is enabled by default.
  729. res_fax
  730. ------------------
  731. * Added FAXMODE variable to let dialplan know what fax transport was used.
  732. FAXMODE variable is set to either "audio" or "T38".
  733. res_pjsip
  734. ------------------
  735. * Added "via_addr", "via_port", "call_id" to contacts.
  736. As res_pjsip_nat rewrites contact's address, only the last Via header
  737. can contain the source address of registered endpoint.
  738. Also Call-Id header may contain the source address of registered endpoint.
  739. Added new fields ViaAddress,CallID to AMI event ContactStatus
  740. * Endpoint IP Access Controls
  741. Added new configuration Endpoint options:
  742. "acl" - list of IP ACL section names in acl.conf
  743. "deny" - List of IP addresses to deny access from
  744. "permit" - List of IP addresses to permit access from
  745. "contact_acl" - List of Contact ACL section names in acl.conf
  746. "contact_deny" - List of Contact header addresses to deny
  747. "contact_permit" - List of Contact header addresses to permit
  748. * Added "reg_server" to contacts.
  749. If the Asterisk system name is set in asterisk.conf, it will be stored
  750. into the "reg_server" field in the ps_contacts table to facilitate
  751. multi-server setups.
  752. * When starting Asterisk, received traffic will now be ignored until Asterisk
  753. has loaded all modules and is fully booted.
  754. res_hep
  755. ------------------
  756. * Added a new option, 'uuid_type', that sets the preferred source of the Homer
  757. correlation UUID. The valid options are:
  758. - call-id: Use the PJSIP SIP Call-ID header value
  759. - channel: Use the Asterisk channel name
  760. The default value is 'call-id'. In the event that a HEP module cannot find a
  761. valid value using the specified 'uuid_type', the module may fallback to a
  762. more readily available source for the correlation UUID.
  763. res_pjsip_info_empty
  764. --------------------
  765. * A new module that can respond to empty Content-Type INFO packets during call.
  766. Some SBCs will terminate a call if their empty INFO packets are not responded
  767. to within a predefined time.
  768. res_odbc
  769. ------------------
  770. * A new option has been added, 'max_connections', which sets the maximum number
  771. of concurrent connections to the database. This option defaults to 1 which
  772. returns the behavior to that of Asterisk 13.7 and prior.
  773. app_confbridge
  774. ------------------
  775. * Added a bridge profile option called regcontext that allows you to
  776. dynamically register the conference bridge name as an extension into
  777. the specified context. This allows tracking down conferences on multi-
  778. server installations via alternate means (DUNDI for example). By default
  779. this feature is not used.
  780. Codecs
  781. ------------------
  782. * Added the associated format name to 'core show codecs'.
  783. res_ari_channels
  784. ------------------
  785. * Added 'formats' to channel create/originate to allow setting the allowed
  786. formats for a channel when no originator channel is available. Especially
  787. useful for Local channel creation where no other format information is
  788. available. 'core show codecs' can now be used to look up suitable format
  789. names.
  790. ------------------------------------------------------------------------------
  791. --- Functionality changes from Asterisk 13.8.0 to Asterisk 13.9.0 ------------
  792. ------------------------------------------------------------------------------
  793. res_pjsip
  794. ------------------
  795. * Added new global option (disable_multi_domain) to pjsip.
  796. Disabling Multi Domain can improve realtime performace by reducing
  797. number of database requsts.
  798. chan_pjsip
  799. ------------------
  800. * Added 'pjsip show channelstats' CLI command.
  801. res_pjsip_outbound_publish
  802. ------------------
  803. * Added support for setting the transport used on outbound publish
  804. using the transport configuration option.
  805. ------------------------------------------------------------------------------
  806. --- Functionality changes from Asterisk 13.7.0 to Asterisk 13.8.0 ------------
  807. ------------------------------------------------------------------------------
  808. res_pjsip_caller_id
  809. ------------------
  810. * Per RFC3325, the 'From' header is now anonymized on outgoing calls when
  811. caller id presentation is prohibited.
  812. res_pjsip_config_wizard
  813. ------------------
  814. * A new command (pjsip export config_wizard primitives) has been added that
  815. will export all the pjsip objects it created to the console or a file
  816. suitable for reuse in a pjsip.conf file.
  817. Build System
  818. ------------------
  819. * To help insure that Asterisk is compiled and run with the same known
  820. version of pjproject, a new option (--with-pjproject-bundled) has been
  821. added to ./configure. When specified, the version of pjproject specified
  822. in third-party/versions.mak will be downloaded and configured. When you
  823. make Asterisk, the build process will also automatically build pjproject
  824. and Asterisk will be statically linked to it. Once a particular version
  825. of pjproject is configured and built, it won't be configured or built
  826. again unless you run a 'make distclean'.
  827. To facilitate testing, when 'make install' is run, the pjsua and pjsystest
  828. utilities and the pjproject python bindings will be installed in
  829. ASTDATADIR/third-party/pjproject.
  830. The default behavior remains building with the shared pjproject
  831. installation, if any.
  832. app_confbridge
  833. ------------------
  834. * Added CONFBRIDGE_INFO(muted,) for querying the muted conference state.
  835. * Added Muted header to AMI ConfbridgeListRooms action response list events
  836. to indicate the muted conference state.
  837. * Added Muted column to CLI "confbridge list" output to indicate the muted
  838. conference state and made the locked column a yes/no value instead of a
  839. locked/unlocked value.
  840. REDIRECTING(reason)
  841. ------------------
  842. * The REDIRECTING(reason) value is now treated consistently between
  843. chan_sip and chan_pjsip.
  844. Both channel drivers match incoming reason values with values documented
  845. by REDIRECTING(reason) and values documented by RFC5806 regardless of
  846. whether they are quoted or not. RFC5806 values are mapped to the
  847. equivalent REDIRECTING(reason) documented value and is set in
  848. REDIRECTING(reason). e.g., an incoming RFC5806 'unconditional' value or a
  849. quoted string version ('"unconditional"') is converted to
  850. REDIRECTING(reason)'s 'cfu' value. The user's dialplan only needs to deal
  851. with 'cfu' instead of any of the aliases.
  852. The incoming 480 response reason text supported by chan_sip checks for
  853. known reason values and if not matched then puts quotes around the reason
  854. string and assigns that to REDIRECTING(reason).
  855. Both channel drivers send outgoing known REDIRECTING(reason) values as the
  856. unquoted RFC5806 equivalent. User custom values are either sent as is or
  857. with added quotes if SIP doesn't allow a character within the value as
  858. part of a RFC3261 Section 25.1 token. Note that there are still
  859. limitations on what characters can be put in a custom user value. e.g.,
  860. embedding quotes in the middle of the reason string is just going to cause
  861. you grief.
  862. * Setting a REDIRECTING(reason) value now recognizes RFC5806 aliases.
  863. e.g., Setting REDIRECTING(reason) to 'unconditional' is converted to the
  864. 'cfu' value.
  865. res_pjproject
  866. ------------------
  867. * This module is the successor of res_pjsip_log_forwarder. As well as
  868. handling the log forwarding (which now displays as 'pjproject:0' instead
  869. of 'pjsip:0'), it also adds a 'pjproject show buildopts' command to the CLI.
  870. This displays the compiled-in options of the pjproject installation
  871. Asterisk is currently running against.
  872. * Another feature of this module is the ability to map pjproject log levels
  873. to Asterisk log levels, or to suppress the pjproject log messages
  874. altogether. Many of the messages emitted by pjproject itself are the result
  875. of errors which Asterisk will ultimately handle so the messages can be
  876. misleading or just noise. A new config file (pjproject.conf) has been added
  877. to configure the mapping and a new CLI command (pjproject show log mappings)
  878. has been added to display the mappings currently in use.
  879. res_pjsip
  880. ------------------
  881. * Transports are now reloadable. In testing, no in-progress calls were
  882. disrupted if the ip address or port weren't changed, but the possibility
  883. still exists. To make sure there are no unintentional drops, a new option
  884. 'allow_reload', which defaults to 'no' has been added to transport. If
  885. left at the default, changes to the particular transport will be ignored.
  886. If set to 'yes', changes (if any) will be applied.
  887. * Added new global option (regcontext) to pjsip. When set, Asterisk will
  888. dynamically create and destroy a NoOp priority 1 extension
  889. for a given endpoint who registers or unregisters with us.
  890. * Endpoints and aors can now be identified by the username and realm in an
  891. incoming Authorization header. To use this feature, add "auth_username"
  892. to your endpoint's "identify_by" list. You can combine "auth_username"
  893. and the original "username" to test both the From/To and Authorization
  894. headers. For endpoints, the order is controlled by the global
  895. "endpoint_identifier_order" setting. For matching aors to an endpoint
  896. for inbound registration, the order is controlled by this option.
  897. * In conjunction with the "auth_username" change, 3 new options have been
  898. added to the global configuration object that control how many unidentified
  899. requests over a certain period from the same IP address can be received
  900. before a security altert is generated. A new CLI command
  901. "pjsip show unidentified_requests" will list the current candidates.
  902. res_pjsip_history
  903. ------------------
  904. * A new module, res_pjsip_history, has been added that provides SIP history
  905. viewing/filtering from the CLI. The module is intended to be used on systems
  906. with busy SIP traffic, where existing forms of viewing SIP messages - such
  907. as the res_pjsip_logger - may be inadequate. The module provides two new
  908. CLI commands:
  909. - 'pjsip set history {on|off|clear}' - this enables/disables SIP history
  910. capturing, as well as clears an existing history capture. Note that SIP
  911. packets captured are stored in memory until cleared. As a result, the
  912. history capture should only be used for debugging/viewing purposes, and
  913. should *NOT* be left permanently enabled on a system.
  914. - 'pjsip show history' - displays the captured SIP history. When invoked
  915. with no options, the entire captured history is displayed. Two options
  916. are available:
  917. -- 'entry <num>' - display a detailed view of a single SIP message in
  918. the history
  919. -- 'where ...' - filter the history based on some expression. For more
  920. information on filtering, view the current CLI help for the
  921. 'pjsip show history' command.
  922. Voicemail
  923. ------------------
  924. * app_voicemail and res_mwi_external can now be built together. The default
  925. remains to build app_voicemail and not res_mwi_external but if they are
  926. both built, the load order will cause res_mwi_external to load first and
  927. app_voicemail will be skipped. Use 'preload=app_voicemail.so' in
  928. modules.conf to force app_voicemail to be the voicemail provider.
  929. Queue
  930. -------------------
  931. * Added field ReasonPause on QueueMemberStatus if set when paused, the reason
  932. the queue member was paused.
  933. res_pjsip_sdp_rtp
  934. ------------------
  935. * A new option (bind_rtp_to_media_address) has been added to endpoint which
  936. will cause res_pjsip_sdp_rtp to actually bind the RTP instance to the
  937. media_address as well as using it in the SDP. If set, RTP packets will now
  938. originate from the media address instead of the operating system's "primary"
  939. ip address.
  940. res_rtp_asterisk
  941. ------------------
  942. * A new configuration section - ice_host_candidates - has been added to
  943. rtp.conf, allowing automatically discovered ICE host candidates to be
  944. overriden. This allows an Asterisk server behind a 1:1 NAT to send its
  945. external IP as a host candidate rather than relying on STUN to discover it.
  946. ------------------------------------------------------------------------------
  947. --- Functionality changes from Asterisk 13.6.0 to Asterisk 13.7.0 ------------
  948. ------------------------------------------------------------------------------
  949. Codecs
  950. ------------------
  951. * Added format attribute negotiation for the VP8 video codec. Format attribute
  952. negotiation is provided by the res_format_attr_vp8 module.
  953. ConfBridge
  954. ------------------
  955. * A new "timeout" user profile option has been added. This configures the number
  956. of seconds that a participant may stay in the ConfBridge after joining. When
  957. the time expires, the user is ejected from the conference and CONFBRIDGE_RESULT
  958. is set to "TIMEOUT" on the channel.
  959. chan_sip
  960. ------------------
  961. * The websockets_enabled option has been added to the general section of
  962. sip.conf. The option is enabled by default to match the previous behavior.
  963. The option should be disabled when using res_pjsip_transport_websockets to
  964. ensure chan_sip will not conflict with PJSIP websockets.
  965. Dialplan Functions
  966. ------------------
  967. * The HOLD_INTERCEPT dialplan function now actually exists in the source tree.
  968. While support for the events was added in Asterisk 13.4.0, the function
  969. accidentally never made it in. That function is now present, and will cause
  970. the 'hold' raised by a channel to be intercepted and converted into an
  971. event instead.
  972. res_pjsip_outbound_registration
  973. -------------------------------
  974. * A new 'fatal_retry_interval' option has been added to outbound registration.
  975. When set (default is zero), and upon receiving a failure response to an
  976. outbound registration, registration is retried at the given interval up to
  977. 'max_retries'.
  978. * If res_statsd is loaded and a StatsD server is configured, basic statistics
  979. regarding the state of outbound registrations will now be emitted. This
  980. includes:
  981. - A GAUGE statistic for the overall number of outbound registrations, i.e.:
  982. PJSIP.registrations.count
  983. - A GAUGE statistic for the overall number of outbound registrations in a
  984. particular state, e.g.:
  985. PJSIP.registrations.state.Registered
  986. res_pjsip
  987. ------------------
  988. * The ability to use "like" has been added to the pjsip list and show
  989. CLI commands. For instance: CLI> pjsip list endpoints like abc
  990. * If res_statsd is loaded and a StatsD server is configured, basic statistics
  991. regarding the state of PJSIP contacts will now be emitted. This includes:
  992. - A GAUGE statistic for the overall number of contacts in a particular
  993. state, e.g.:
  994. PJSIP.contacts.states.Reachable
  995. - A TIMER statistic for the RTT time for each qualified contact, e.g.:
  996. PJSIP.contacts.alice@@127.0.0.1:5061.rtt
  997. res_sorcery_memory_cache
  998. ------------------------
  999. * A new caching strategy, full_backend_cache, has been added which caches
  1000. all stored objects in the backend. When enabled all objects will be
  1001. expired or go stale according to the configuration. As well when enabled
  1002. all retrieval operations will be performed against the cache instead of
  1003. the backend.
  1004. func_callerid
  1005. -------------------
  1006. * CALLERID(pres) is now documented as a valid alternative to setting both
  1007. CALLERID(name-pres) and CALLERID(num-pres) at once. Some channel drivers,
  1008. like chan_sip, don't make a distinction between the two: they take the
  1009. least public value from name-pres and num-pres. By using CALLERID(pres)
  1010. for reading and writing, you touch the same combined value in the dialplan.
  1011. The same applies to CONNECTEDLINE(pres), REDIRECTING(orig-pres),
  1012. REDIRECTING(to-pres) and REDIRECTING(from-pres).
  1013. res_endpoint_stats
  1014. -------------------
  1015. * A new module that emits StatsD statistics regarding Asterisk endpoints.
  1016. This includes a total count of the number of endpoints, the count of the
  1017. number of endpoints in the technology agnostic state of the endpoint -
  1018. online or offline - as well as the number of channels associated with each
  1019. endpoint. These are recorded as three different GAUGE statistics:
  1020. - endpoints.count
  1021. - endpoints.state.{unknown|offline|online}
  1022. - endpoints.{tech}.{resource}.channels
  1023. ------------------------------------------------------------------------------
  1024. --- Functionality changes from Asterisk 13.5.0 to Asterisk 13.6.0 ------------
  1025. ------------------------------------------------------------------------------
  1026. Dialplan Functions
  1027. ------------------
  1028. * The CHANNEL function, when used on a PJSIP channel, now exposes a 'call-id'
  1029. extraction option when using with the 'pjsip' signalling option. It will
  1030. return the SIP Call-ID associated with the INVITE request that established
  1031. the PJSIP channel.
  1032. ARI
  1033. ------------------
  1034. * Two new endpoint related events are now available: PeerStatusChange and
  1035. ContactStatusChange. In particular, these events are useful when subscribing
  1036. to all event sources, as they provide additional endpoint related
  1037. information beyond the addition/removal of channels from an endpoint.
  1038. The ARI version has been bumped to 1.9.0 as a result.
  1039. * Added the ability to subscribe to all ARI events in Asterisk, regardless
  1040. of whether the application 'controls' the resource. This is useful for
  1041. scenarios where an ARI application merely wants to observe the system,
  1042. as opposed to control it. There are two ways to accomplish this:
  1043. (1) Via the WebSocket connection URI. A new query paramter, 'subscribeAll',
  1044. has been added that, when present and True, will subscribe all
  1045. specified applications to all ARI event sources in Asterisk.
  1046. (2) Via the applications resource. An ARI client can, at any time, subscribe
  1047. to all resources in an event source merely by not providing an explicit
  1048. resource. For example, subscribing to an event source of 'channels:'
  1049. as opposed to 'channels:12345' will subscribe the application to all
  1050. channels.
  1051. ------------------------------------------------------------------------------
  1052. --- Functionality changes from Asterisk 13.4.0 to Asterisk 13.5.0 ------------
  1053. ------------------------------------------------------------------------------
  1054. AMI
  1055. ------------------
  1056. * A new ContactStatus event has been added that reflects res_pjsip contact
  1057. lifecycle changes: Created, Removed, Reachable, Unreachable, Unknown.
  1058. * Added the Linkedid header to the common channel headers listed for each
  1059. channel in AMI events.
  1060. ARI
  1061. ------------------
  1062. * A new feature has been added that enables the retrieval of modules and
  1063. module information through an HTTP request. Information on a single module
  1064. can be also be retrieved. Individual modules can be loaded to Asterisk, as
  1065. well as unloaded and reloaded.
  1066. * A new resource has been added to the 'asterisk' resource, 'config/dynamic'.
  1067. This resource allows for push configuration of sorcery derived objects
  1068. within Asterisk. The resource supports creation, retrieval, updating, and
  1069. deletion. Sorcery derived objects that are manipulated by this resource
  1070. must have a sorcery wizard that supports the desired operations.
  1071. * A new feature has been added that allows for the rotation of log channels
  1072. through HTTP requests.
  1073. res_pjsip
  1074. ------------------
  1075. * A new 'g726_non_standard' endpoint option has been added that, when set to
  1076. 'yes' and g.726 audio is negotiated, forces the codec to be treated as if it
  1077. is AAL2 packed on the channel.
  1078. * A new 'rtp_keepalive' endpoint option has been added. This option specifies
  1079. an interval, in seconds, at which we will send RTP comfort noise packets to
  1080. the endpoint. This functions identically to chan_sip's "rtpkeepalive" option.
  1081. * New 'rtp_timeout' and 'rtp_timeout_hold' endpoint options have been added.
  1082. These options specify the amount of time, in seconds, that Asterisk will wait
  1083. before terminating the call due to lack of received RTP. These are identical
  1084. to chan_sip's rtptimeout and rtpholdtimeout options.
  1085. ------------------------------------------------------------------------------
  1086. --- Functionality changes from Asterisk 13.3.0 to Asterisk 13.4.0 ------------
  1087. ------------------------------------------------------------------------------
  1088. chan_pjsip
  1089. ------------------
  1090. * New 'rpid_immediate' option to control if connected line update information
  1091. goes to the caller immediately or waits for another reason to send the
  1092. connected line information update. See the online option documentation for
  1093. more information. Defaults to 'no' as setting it to 'yes' can result in
  1094. many unnecessary messages being sent to the caller.
  1095. * The configuration setting 'progressinband' now defaults to 'no', which
  1096. matches the actual behavior of previous versions.
  1097. * New 'line' and 'endpoint' options added on outbound registrations. This allows some
  1098. identifying information to be added to the Contact of the outbound registration.
  1099. If this information is present on messages received from the remote server
  1100. the message will automatically be associated with the configured endpoint on the
  1101. outbound registration.
  1102. res_pjsip
  1103. ------------------
  1104. * A new CLI command has been added: "pjsip show settings", which shows
  1105. both the global and system configuration settings.
  1106. * A new global option has been added: "max_initial_qualify_time", which
  1107. sets the maximum amount of time from startup that qualifies should be
  1108. attempted on all contacts.
  1109. * A new aor option has been added: "qualify_timeout", which sets the timeout
  1110. in seconds for a qualify. The default is 3 seconds. This overrides the
  1111. hard coded 32 seconds in pjproject.
  1112. * Endpoint status will now change to "Unreachable" when all contacts are
  1113. unavailable. When any contact becomes available, the endpoint will status
  1114. will change back to "Reachable".
  1115. res_ari_channels
  1116. ------------------
  1117. * Two new events, 'ChannelHold' and 'ChannelUnhold', have been added to the
  1118. events data model. These events are raised when a channel indicates a hold
  1119. or unhold, respectively.
  1120. func_holdintercept
  1121. ------------------
  1122. * A new dialplan function, HOLD_INTERCEPT, has been added. This function, when
  1123. placed on a channel, intercepts hold/unhold indications signalled by the
  1124. channel and prevents them from moving on to other channels in a bridge with
  1125. the hold initiator. Instead, AMI or ARI events are raised indicating that
  1126. the channel wanted to place someone on hold. This allows external
  1127. applications to implement their own custom hold/unhold logic.
  1128. ------------------------------------------------------------------------------
  1129. --- Functionality changes from Asterisk 13.2.0 to Asterisk 13.3.0 ------------
  1130. ------------------------------------------------------------------------------
  1131. chan_pjsip/app_transfer
  1132. ------------------
  1133. * The Transfer application, when used with chan_pjsip, now supports using
  1134. a PJSIP endpoint as the transfer destination. This is in addition to
  1135. explicitly specifying a SIP URI to transfer to.
  1136. res_ari_channels
  1137. ------------------
  1138. * The ARI /channels resource now supports a new operation, 'redirect'. The
  1139. redirect operation will perform a technology and state specific redirection
  1140. on the channel to a specified endpoint or destination. In the case of SIP
  1141. technologies, this is either a 302 Redirect response to an on-going INVITE
  1142. dialog or a SIP REFER request.
  1143. res_pjsip
  1144. ------------------
  1145. * A new 'endpoint_identifier_order' option has been added that allows one to
  1146. set the order by which endpoint identifiers are processed and checked. This
  1147. option is specified under the 'global' type configuration section.
  1148. ------------------------------------------------------------------------------
  1149. --- Functionality changes from Asterisk 13.1.0 to Asterisk 13.2.0 ------------
  1150. ------------------------------------------------------------------------------
  1151. res_pjsip_outbound_registration
  1152. ------------------
  1153. * The 'pjsip send unregister' command now stops further registrations.
  1154. * A new command 'pjsip send register' has been added which allows you to
  1155. start or restart periodic registration. It can be used after a
  1156. 'send unregister' or after a 401 permanent error.
  1157. chan_pjsip
  1158. ------------------
  1159. * New 'user_eq_phone' endpoint setting. This adds a 'user=phone' parameter
  1160. to the request URI and From URI if the user is determined to be a phone number.
  1161. * New global setting 'keep_alive_interval'. Setting this to a non-zero value
  1162. will cause keep alive messages to be sent periodically over connection
  1163. oriented transports.
  1164. * New 'PJSIP_AOR' and 'PJSIP_CONTACT' dialplan functions have been added which
  1165. allow examining PJSIP AORs or contacts from the dialplan.
  1166. res_pjsip_config_wizard
  1167. ------------------
  1168. * This is a new module that adds streamlined configuration capability for
  1169. chan_pjsip. It's targetted at users who have lots of basic configuration
  1170. scenarios like 'phone' or 'agent' or 'trunk'. Additional information
  1171. can be found in the sample configuration file at
  1172. config/samples/pjsip_wizard.conf.sample.
  1173. res_fax
  1174. -----------
  1175. * The T.38 negotiation timeout was previously hard coded at 5000 milliseconds
  1176. and is now configurable via the 't38timeout' configuration option in
  1177. res_fax.conf and via the fax options dialplan function 'FAXOPT(t38timeout)'.
  1178. The default remains at 5000 milliseconds.
  1179. PJSIP Transports
  1180. ----------
  1181. * The ca_list_path transport parameter has been added for TLS transports. This
  1182. option behaves similarly to the old sip.conf option "tlscapath". In order to
  1183. use this, you must be using PJProject version 2.4 or higher.
  1184. ARI
  1185. ------------------
  1186. * The Originate operation now takes in an originator channel. The linked ID of
  1187. this originator channel is applied to the newly originated outgoing channel.
  1188. If using CEL this allows an association to be established between the two so
  1189. it can be recognized that the originator is dialing the originated channel.
  1190. * "language" (the default spoken language for the channel) is now included in
  1191. the standard channel state output for suitable events.
  1192. * The POST channels/{id} operation and the POST channels/{id}/continue operation
  1193. now have a new "label" parameter. This allows for origination or continuation
  1194. to a labeled priority in the dialplan instead of requiring a specific priority
  1195. number. The ARI version has been bumped to 1.7.0 as a result.
  1196. AMI
  1197. ------------------
  1198. * "Language" (the default spoken language for the channel) is now included in
  1199. the standard channel state output for suitable events.
  1200. * AMI actions that return a list of events have been made to return consistent
  1201. headers for the action response event starting the list and the list complete
  1202. event. The AMI version has been bumped to 2.7.0 as a result.
  1203. ------------------------------------------------------------------------------
  1204. --- Functionality changes from Asterisk 13.0.0 to Asterisk 13.1.0 ------------
  1205. ------------------------------------------------------------------------------
  1206. AMI
  1207. ------------------
  1208. * Event NewConnectedLine is emitted when the connected line information on
  1209. a channel changes.
  1210. * The version of AMI has been bumped to 2.6.0 to account for the backwards
  1211. compatible feature listed above.
  1212. ARI
  1213. ------------------
  1214. * Event ChannelConnectedLine is emitted when the connected line information
  1215. on a channel changes.
  1216. * The version of ARI has been bumped to 1.6.0 to account for the backwards
  1217. compatible feature listed above.
  1218. Core Transfers
  1219. -----------------
  1220. The features.conf general section has three new configurable options:
  1221. * transferdialattempts
  1222. * transferretrysound
  1223. * transferinvalidsound
  1224. For more information on what these options do, see the Asterisk wiki:
  1225. https://wiki.asterisk.org/wiki/x/W4fAAQ
  1226. Channel Drivers
  1227. ------------------
  1228. chan_pjsip
  1229. ------------------
  1230. * New 'media_encryption_optimistic' endpoint setting. This will use SRTP
  1231. when possible but does not consider lack of it a failure.
  1232. res_pjsip_endpoint_identifer_ip
  1233. ------------------
  1234. * New CLI commands have been added: "pjsip show identif(y|ies)", which lists
  1235. all configured PJSIP identify objects
  1236. ------------------------------------------------------------------------------
  1237. --- Functionality changes from Asterisk 12 to Asterisk 13 --------------------
  1238. ------------------------------------------------------------------------------
  1239. Overview
  1240. ------------------
  1241. Asterisk 13 is the next Long Term Support (LTS) release of Asterisk. As such,
  1242. the focus of development for this release of Asterisk was on improving the
  1243. usability and features developed in the previous Standard release, Asterisk 12.
  1244. Beyond a general refinement of end user features, development focussed heavily
  1245. on the Asterisk APIs - the Asterisk Manager Interface (AMI) and the Asterisk
  1246. REST Interface (ARI) - and the PJSIP stack in Asterisk. Some highlights of the
  1247. new features include:
  1248. * Asterisk security events are now provided via AMI, allowing end users to
  1249. monitor their Asterisk system in real time for security related issues.
  1250. * External control of Message Waiting Indicators (MWI) through both AMI and ARI.
  1251. * Reception/transmission of out of call text messages using any supported
  1252. channel driver/protocol stack through ARI.
  1253. * Resource List Server support in the PJSIP stack, providing subscriptions to
  1254. lists of resources and batched delivery of NOTIFY requests.
  1255. * Inter-Asterisk distributed device state and mailbox state using the PJSIP
  1256. stack.
  1257. It is important to note that Asterisk 13 is built on the architecture developed
  1258. during the previous Standard release, Asterisk 12. Users upgrading to
  1259. Asterisk 13 should read about the new features in Asterisk 12 later in this file
  1260. (see Functionality changes from Asterisk 11 to Asterisk 12), as well as the
  1261. UPGRADE-12.txt delivered with this release. In particular, users upgrading to
  1262. Asterisk 13 from a release prior to Asterisk 12 should read the specifications
  1263. on AMI, CDRs, and CEL on the Asterisk wiki:
  1264. * AMI - https://wiki.asterisk.org/wiki/x/dAFRAQ
  1265. * CEL - https://wiki.asterisk.org/wiki/x/4ICLAQ
  1266. * CDRs - https://wiki.asterisk.org/wiki/x/pwpRAQ
  1267. Many new featuers in Asterisk 13 were introduced in point releases of
  1268. Asterisk 12. Following this section - which documents the changes from all
  1269. versions of Asterisk 12 to Asterisk 13 - users should examine the new features
  1270. that were introduced in the point releases of Asterisk 12, as they are also
  1271. included in Asterisk 13.
  1272. Finally, all users upgrading to Asterisk 13 should read the UPGRADE.txt file
  1273. delivered with this release.
  1274. Build System
  1275. ------------------
  1276. * Sample config files have been moved from configs/ to a sub-folder of that
  1277. directory, samples.
  1278. * The menuselect utility has been pulled into the Asterisk repository. As a
  1279. result, the libxml2 development library is now a required dependency for
  1280. Asterisk.
  1281. * A new Compiler Flag, REF_DEBUG, has been added. When enabled, reference
  1282. counted objects will emit additional debug information to the refs log file
  1283. located in the standard Asterisk log file directory. This log file is useful
  1284. in tracking down object leaks and other reference counting issues. Prior to
  1285. this version, this option was only available by modifying the source code
  1286. directly. This change also includes a new script, refcounter.py, in the
  1287. contrib folder that will process the refs log file. Note that this replaces
  1288. the refcounter utility that could be built from the utils directory.
  1289. Applications
  1290. ------------------
  1291. DahdiBarge
  1292. ------------------
  1293. * This module was deprecated and has been removed. Users of app_dahdibarge
  1294. should use ChanSpy instead.
  1295. MixMonitor
  1296. ------------------
  1297. * New options to play a beep when starting a recording and stopping a recording
  1298. have been added. The option "p" will play a beep to the channel that starts
  1299. the recording. The option "P" will play a beep to the channel that stops the
  1300. recording.
  1301. Queue
  1302. ------------------
  1303. * Queue rules can now be stored in a database table, queue_rules. Unlike other
  1304. RealTime tables, the queue_rules table is only examined on module load or
  1305. module reload. A new general setting has been added to queuerules.conf,
  1306. 'realtime_rules', which, when set to 'yes', will cause app_queue to look in
  1307. RealTime for additional queue rules to parse. Note that both the file and
  1308. the database can be used as a provide of queue rules when 'realtime_rules'
  1309. is set to 'yes'.
  1310. When app_queue is reloaded, all rules are re-parsed and loaded into memory.
  1311. There is no caching of RealTime queue rules.
  1312. ReadFile
  1313. ------------------
  1314. * This module was deprecated and has been removed. Users of app_readfile
  1315. should use func_env's FILE function instead.
  1316. Say
  1317. ------------------
  1318. * The 'say' family of dialplan applications now support the Japanese
  1319. language. The 'language' parameter in say.conf now recognizes a setting of
  1320. 'ja', which will enable Japanese language specific mechanisms for playing
  1321. back numbers, dates, and other items.
  1322. SayCountPL
  1323. ------------------
  1324. * This module was deprecated and has been removed. Users of app_saycountpl
  1325. should use the Say family of applications.
  1326. SetMusicOnHold
  1327. ------------------
  1328. * The SetMusicOnHold dialplan application was deprecated and has been removed.
  1329. Users of the application should use the CHANNEL function's musicclass
  1330. setting instead.
  1331. WaitMusicOnHold
  1332. ------------------
  1333. * The WaitMusicOnHold dialplan application was deprecated and has been
  1334. removed. Users of the application should use MusicOnHold with a duration
  1335. parameter instead.
  1336. VoiceMail
  1337. ------------------
  1338. * VoiceMail and VoiceMailMain now support the Japanese language. The
  1339. 'language' parameter in voicemail.conf now recognizes a setting of 'ja',
  1340. which will enable prompts to be played back using a Japanese grammatical
  1341. structure. Additional prompts are necessary for this functionality,
  1342. including:
  1343. - jb-arimasu: there is
  1344. - jb-arimasen: there is not
  1345. - jb-oshitekudasai: please press
  1346. - jb-ni: article ni
  1347. - jb-ga: article ga
  1348. - jb-wa: article wa
  1349. - jb-wo: article wo
  1350. * Add the ability to specify multiple email addresses in configuration,
  1351. separated by a |.
  1352. CDR Backends
  1353. ------------------
  1354. cdr_sqlite
  1355. -----------------
  1356. * This module was deprecated and has been removed. Users of cdr_sqlite
  1357. should use cdr_sqlite3_custom.
  1358. cdr_pgsql
  1359. ------------------
  1360. * Added the ability to support PostgreSQL application_name on connections.
  1361. This allows PostgreSQL to display the configured name in the
  1362. pg_stat_activity view and CSV log entries. This setting is configurable
  1363. for cdr_pgsql via the appname configuration setting in cdr_pgsql.conf.
  1364. CEL Backends
  1365. ------------------
  1366. cel_pgsql
  1367. ------------------
  1368. * Added the ability to support PostgreSQL application_name on connections.
  1369. This allows PostgreSQL to display the configured name in the
  1370. pg_stat_activity view and CSV log entries. This setting is configurable
  1371. for cel_pgsql via the appname configuration setting in cel_pgsql.conf.
  1372. Channel Drivers
  1373. ------------------
  1374. chan_dahdi
  1375. ------------------
  1376. * SS7 support now requires libss7 v2.0 or later.
  1377. * Added SS7 support for connected line and redirecting.
  1378. * Most SS7 CLI commands are reworked as well as new SS7 commands added.
  1379. See online CLI help.
  1380. * Added several SS7 config option parameters described in
  1381. chan_dahdi.conf.sample.
  1382. chan_gtalk
  1383. ------------------
  1384. * This module was deprecated and has been removed. Users of chan_gtalk
  1385. should use chan_motif.
  1386. chan_h323
  1387. ------------------
  1388. * This module was deprecated and has been removed. Users of chan_h323
  1389. should use chan_ooh323.
  1390. chan_jingle
  1391. ------------------
  1392. * This module was deprecated and has been removed. Users of chan_jingle
  1393. should use chan_motif.
  1394. chan_pjsip
  1395. ------------------
  1396. * Added the CLI command 'pjsip list ciphers' so a user can know what
  1397. OpenSSL names are available on their system for the pjsip.conf cipher
  1398. option.
  1399. chan_sip
  1400. ------------------
  1401. * The SIPPEER dialplan function no longer supports using a colon as a
  1402. delimiter for parameters. The parameters for the function should be
  1403. delimited using a comma.
  1404. * The SIPCHANINFO dialplan function was deprecated and has been removed. Users
  1405. of the function should use the CHANNEL function instead.
  1406. Core
  1407. ------------------
  1408. Account Codes
  1409. ------------------
  1410. * Added functional peeraccount support. Except for Queue, the
  1411. accountcode propagation is now consistently propagated to outgoing
  1412. channels before dialing. The channel accountcode can change from its
  1413. original non-empty value on channel creation for the following specific
  1414. reasons. One, dialplan sets it using CHANNEL(accountcode). Two, an
  1415. originate method that can specify an accountcode value. Three, the
  1416. calling channel propagates its peeraccount or accountcode to the
  1417. outgoing channel's accountcode before dialing. The change has two
  1418. visible effects. One, local channels now cross accountcode and
  1419. peeraccount across the special bridge between the ;1 and ;2 channels
  1420. just like channels between normal bridges. Two, the
  1421. CHANNEL(peeraccount) value can now be set before Dial and FollowMe to
  1422. set the accountcode on the outgoing channel(s).
  1423. For Queue, an outgoing channel's non-empty accountcode will not change
  1424. unless explicitly set by CHANNEL(accountcode). The change has three
  1425. visible effects. One, local channels now cross accountcode and
  1426. peeraccount across the special bridge between the ;1 and ;2 channels
  1427. just like channels between normal bridges. Two, the queue member will
  1428. get an accountcode if it doesn't have one and one is available from the
  1429. calling channel's peeraccount. Three, accountcode propagation includes
  1430. local channel members where the accountcodes are propagated early
  1431. enough to be available on the ;2 channel.
  1432. AMI
  1433. ------------------
  1434. * New DeviceStateChanged and PresenceStateChanged AMI events have been added.
  1435. These events are emitted whenever a device state or presence state change
  1436. occurs. The events are controlled by res_manager_device_state.so and
  1437. res_manager_presence_state.so. If the high frequency of these events is
  1438. problematic for you, do not load these modules.
  1439. * Added DialplanExtensionAdd and DialplanExtensionRemove AMI commands. They
  1440. work in basically the same way as the 'dialplan add extension' and
  1441. 'dialplan remove extension' CLI commands respectively.
  1442. * New AMI action LoggerRotate reloads and rotates logger in the same manner
  1443. as CLI command 'logger rotate'
  1444. * New AMI Actions FAXSessions, FAXSession, and FAXStats replicate the
  1445. functionality of CLI commands 'fax show sessions', 'fax show session',
  1446. and fax show stats' respectively.
  1447. * New AMI actions PRIDebugSet, PRIDebugFileSet, and PRIDebugFileUnset
  1448. enable manager control over PRI debugging levels and file output.
  1449. * AMI action PJSIPNotify may now send to a URI instead of only to a PJSIP
  1450. endpoint as long as a default outbound endpoint is set. This also applies
  1451. to the equivalent CLI command (pjsip send notify)
  1452. * The AMI action PJSIPShowEndpoint now includes ContactStatusDetail sections
  1453. that give information on Asterisk's attempts to qualify the endpoint.
  1454. * The DialEnd event will now contain a Forward header if the dial is ending
  1455. due to the call being forwarded. The contents of the Forward header is the
  1456. extension in the number to which the call is being forwarded.
  1457. CEL
  1458. ------------------
  1459. * The "bridge_technology" extra field key has been added to BRIDGE_ENTER
  1460. and BRIDGE_EXIT events.
  1461. Features
  1462. ------------------
  1463. * Channel variables are now substituted in arguments passed to applications
  1464. run by using dynamic features.
  1465. TLS
  1466. ------------------
  1467. * The TLS core in Asterisk now supports Perfect Forward Secrecy (PFS).
  1468. Enabling PFS is attempted by default, and is dependent on the configuration
  1469. of the module using TLS.
  1470. - Ephemeral ECDH (ECDHE) is enabled by default. To disable it, do not
  1471. specify a ECDHE cipher suite in sip.conf, for example:
  1472. tlscipher=AES128-SHA:DES-CBC3-SHA
  1473. - Ephemeral DH (DHE) is disabled by default. To enable it, add DH parameters
  1474. into the private key file, e.g., sip.conf tlsprivatekey. For example, the
  1475. default dh2048.pem - see
  1476. http://www.opensource.apple.com/source/OpenSSL098/OpenSSL098-35.1/src/apps/dh2048.pem?txt
  1477. - Because clients expect the server to prefer PFS, and because OpenSSL sorts
  1478. its cipher suites by bit strength, see "openssl ciphers -v DEFAULT".
  1479. Consider re-ordering your cipher suites in the respective configuration
  1480. file. For example:
  1481. tlscipher=AES128+kEECDH:AES128+kEDH:3DES+kEDH:AES128-SHA:DES-CBC3-SHA:-ADH:-AECDH
  1482. will use PFS when offered by the client. Clients which do not offer PFS
  1483. fall-back to AES-128 (or even 3DES, as recommended by RFC 3261).
  1484. Functions
  1485. ------------------
  1486. JACK_HOOK
  1487. ------------------
  1488. * The JACK_HOOK function now supports audio with a sample rate higher than
  1489. 8kHz.
  1490. Resources
  1491. ------------------
  1492. res_config_pgsql
  1493. ------------------
  1494. * Added the ability to support PostgreSQL application_name on connections.
  1495. This allows PostgreSQL to display the configured name in the
  1496. pg_stat_activity view and CSV log entries. This setting is configurable
  1497. for res_config_pgsql via the dbappname configuration setting in
  1498. res_pgsql.conf.
  1499. res_pjsip_outbound_publish
  1500. ------------------
  1501. * A new module, res_pjsip_outbound_publish provides the mechanisms for sending
  1502. PUBLISH requests for specific event packages to another SIP User Agent.
  1503. res_pjsip_pubsub
  1504. ------------------
  1505. * The publish/subscribe core module has been updated to support RFC 4662
  1506. Resource Lists, allowing Asterisk to act as a Resource List Server (RLS).
  1507. Resource lists are configured in pjsip.conf under a new object type,
  1508. resource_list. Resource lists can contain either message-summary or presence
  1509. events, and can be composed of specific resources that provide the event or
  1510. other resource lists.
  1511. * Inbound publication support is provided by a new object, inbound-publication.
  1512. This configures res_pjsip_pubsub to accept PUBLISH requests from a particular
  1513. resource. Which events are accepted is constructed dynamically; see
  1514. res_pjsip_publish_asterisk for more information.
  1515. res_pjsip_publish_asterisk
  1516. ------------------
  1517. * A new module, res_pjsip_publish_asterisk adds support for PUBLISH requests of
  1518. Asterisk information to other Asterisk servers. This module is intended only
  1519. for Asterisk to Asterisk exchanges of information. Currently, this includes
  1520. both mailbox state and device state information.
  1521. ------------------------------------------------------------------------------
  1522. --- Functionality changes from Asterisk 12.4.0 to Asterisk 12.5.0 ------------
  1523. ------------------------------------------------------------------------------
  1524. ARI
  1525. ------------------
  1526. * Stored recordings now support a new operation, copy. This will take an
  1527. existing stored recording and copy it to a new location in the recordings
  1528. directory.
  1529. * LiveRecording objects now have three additional fields that can be reported
  1530. in a RecordingFinished ARI event:
  1531. - total_duration: the duration of the recording
  1532. - talking_duration: optional. The duration of talking detected in the
  1533. recording. This is only available if max_silence_seconds was specified
  1534. when the recording was started.
  1535. - silence_duration: optional. The duration of silence detected in the
  1536. recording. This is only available if max_silence_seconds was specified
  1537. when the recording was started.
  1538. Note that all duration values are reported in seconds.
  1539. * Users of ARI can now send and receive out of call text messages. Messages
  1540. can be sent directly to a particular endpoint, or can be sent to the
  1541. endpoints resource directly and inferred from the URI scheme. Text
  1542. messages are passed to ARI clients as TextMessageReceived events. ARI
  1543. clients can choose to receive text messages by subscribing to the particular
  1544. endpoint technology or endpoints that they are interested in.
  1545. * The applications resource now supports subscriptions to all endpoints of
  1546. a particular channel technology. For example, subscribing to an eventSource
  1547. of 'endpoint:PJSIP' will subscribe to all PJSIP endpoints.
  1548. res_pjsip
  1549. ------------------
  1550. * The endpoint configuration object now supports 'accountcode'. Any channel
  1551. created for an endpoint with this setting will have its accountcode set
  1552. to the specified value.
  1553. res_hep_rtcp
  1554. ------------------
  1555. * A new module, res_hep_rtcp, has been added that will forward RTCP call
  1556. statistics to a HEP capture server. See res_hep for more information.
  1557. Functions
  1558. ------------------
  1559. * Function AUDIOHOOK_INHERIT has been deprecated. Audiohooks are now
  1560. unconditionally inhereted through masquerades. As a side benefit, more
  1561. than one audiohook of a given type may persist through a masquerade now.
  1562. ------------------------------------------------------------------------------
  1563. --- Functionality changes from Asterisk 12.3.0 to Asterisk 12.4.0 ------------
  1564. ------------------------------------------------------------------------------
  1565. AgentRequest
  1566. ------------------
  1567. * Returns new AGENT_STATUS value "NOT_CONNECTED" if the agent fails to
  1568. connect with an incoming caller after being alerted to the presence
  1569. of the incoming caller. The most likely reason this would happen is
  1570. the agent did not acknowledge the call in time.
  1571. AMI
  1572. ------------------
  1573. * New events have been added for the TALK_DETECT function. When the function
  1574. is used on a channel, ChannelTalkingStart/ChannelTalkingStop events will be
  1575. emitted to connected AMI clients indicating the start/stop of talking on
  1576. the channel.
  1577. ARI
  1578. ------------------
  1579. * New event models have been aded for the TALK_DETECT function. When the
  1580. function is used on a channel, ChannelTalkingStarted/ChannelTalkingFinished
  1581. events will be emitted to connected WebSockets subscribed to the channel,
  1582. indicating the start/stop of talking on the channel.
  1583. Functions
  1584. ------------------
  1585. * A new function, TALK_DETECT, has been added. When set on a channel, this
  1586. fucntion causes events indicating the starting/stoping of talking on said
  1587. channel to be emitted to both AMI and ARI clients.
  1588. ------------------------------------------------------------------------------
  1589. --- Functionality changes from Asterisk 12.2.0 to Asterisk 12.3.0 ------------
  1590. ------------------------------------------------------------------------------
  1591. ARI
  1592. ------------------
  1593. * A new Playback URI 'tone' has been added. Tones are specified either as
  1594. an indication name (e.g. 'tone:busy') from indications.conf or as a tone
  1595. pattern (e.g. 'tone:240/250,0/250'). Tones differ from normal playback
  1596. URIs in that they must be stopped manually and will continue to occupy
  1597. a channel's ARI control queue until they are stopped. They also can not
  1598. be rewound or fastforwarded.
  1599. * User events can now be generated from ARI. Events can be signalled with
  1600. arbitrary json variables, and include one or more of channel, bridge, or
  1601. endpoint snapshots. An application must be specified which will receive
  1602. the event message (other applications can subscribe to it). The message
  1603. will also be delivered via AMI provided a channel is attached. Dialplan
  1604. generated user event messages are still transmitted via the channel, and
  1605. will only be received by a stasis application they are attached to or if
  1606. the channel is subscribed to.
  1607. chan_sip
  1608. -----------
  1609. * SIP peers can now specify 'trust_id_outbound' which affects RPID/PAI
  1610. fields for prohibited callingpres information. Values are legacy, no, and
  1611. yes. By default, legacy is used.
  1612. trust_id_outbound=legacy - behavior remains the same as 1.8.26.1. When
  1613. dealing with prohibited callingpres and sendrpid=pai/rpid, RPID/PAI
  1614. headers are appended to outbound SIP messages just as they are with
  1615. allowed callingpres values, but data about the remote party's identity is
  1616. anonymized.
  1617. When sendrpid=rpid, only the remote party's domain is anonymized.
  1618. trust_id_outbound=no - when dealing with prohibited callingpres, RPID/PAI
  1619. headers are not sent.
  1620. trust_id_outbound=yes - RPID/PAI headers are applied with the full remote
  1621. party information in tact even for prohibited callingpres information.
  1622. In the case of PAI, a Privacy: id header will be appended for prohibited
  1623. calling information to communicate that the private information should
  1624. not be relayed to untrusted parties.
  1625. res_parking
  1626. ------------------
  1627. * Manager action 'Park' now takes an additional argument 'AnnounceChannel'
  1628. which can be used to announce the parked call's location to an arbitrary
  1629. channel in a bridge. If 'Channel' and 'TimeoutChannel' are now the two
  1630. parties in a one to one bridge, 'TimeoutChannel' is treated as having
  1631. parked 'Channel' like with the Park Call DTMF feature and will receive
  1632. announcements prior to being hung up.
  1633. ------------------------------------------------------------------------------
  1634. --- Functionality changes from Asterisk 12.1.0 to Asterisk 12.2.0 ------------
  1635. ------------------------------------------------------------------------------
  1636. Record
  1637. ------------------
  1638. * Record application now has an option 'o' which allows 0 to act as an exit
  1639. key setting the RECORD_STATUS variable to 'OPERATOR' instead of 'DTMF'
  1640. ChanSpy
  1641. --------------------------
  1642. * ChanSpy now accepts a channel uniqueid or a fully specified channel name
  1643. as the chanprefix parameter if the 'u' option is specified.
  1644. ConfBridge
  1645. --------------------------
  1646. * CONFBRIDGE dialplan function is now capable of creating/modifying dynamic
  1647. conference user menus.
  1648. * CONFBRIDGE dialplan function is now capable of removing dynamic conference
  1649. menus, bridge settings, and user settings that have been applied by the
  1650. CONFBRIDGE dialplan function.
  1651. * The ConfBridge dialplan application now sets a channel variable,
  1652. CONFBRIGE_RESULT, upon exiting. This variable can be used to determine
  1653. how a channel exited the conference.
  1654. * Added conference user option 'announce_join_leave_review'. This option
  1655. implies 'announce_join_leave' with the added effect that the user will
  1656. be asked if they want to confirm or re-record the recording of their
  1657. name when entering the conference
  1658. Directory
  1659. --------------------------
  1660. * At exit, the Directory application now sets a channel variable
  1661. DIRECTORY_RESULT to one of the following based on the reason for exiting:
  1662. OPERATOR user requested operator by pressing '0' for operator
  1663. ASSISTANT user requested assistant by pressing '*' for assistant
  1664. TIMEOUT user pressed nothing and Directory stopped waiting
  1665. HANGUP user's channel hung up
  1666. SELECTED user selected a user from the directory and is routed
  1667. USEREXIT user pressed '#' from the selection prompt to exit
  1668. FAILED directory failed in a way that wasn't accounted for. Dang.
  1669. Monitor
  1670. ------------------
  1671. * Monitor() - A new option, B(), has been added that will turn on a periodic
  1672. beep while the call is being recorded.
  1673. MusicOnHold
  1674. --------------------------
  1675. * MusicOnHold streams (all modes other than "files") now support wide band
  1676. audio too.
  1677. Page
  1678. --------------------------
  1679. * Added options 'b' and 'B' to apply predial handlers for outgoing calls
  1680. and for the channel executing Page respectively.
  1681. PickupChan
  1682. --------------------------
  1683. * PickupChan now accepts channel uniqueids of channels to pickup.
  1684. Say
  1685. --------------------------
  1686. * If a channel variable SAY_DTMF_INTERRUPT is present on a channel and set
  1687. to 'true' (case insensitive), then any Say application (SayNumber,
  1688. SayDigits, SayAlpha, SayAlphaCase, SayUnixTime, and SayCounted) will
  1689. anticipate DTMF. If DTMF is received, these applications will behave like
  1690. the background application and jump to the received extension once a match
  1691. is established or after a short period of inactivity.
  1692. MixMonitor
  1693. -------------------------
  1694. * A new function, MIXMONITOR, has been added to allow access to individual
  1695. instances of MixMonitor on a channel.
  1696. * A new option, B(), has been added that will turn on a periodic beep while the
  1697. call is being recorded.
  1698. Channel Drivers
  1699. -------------------------
  1700. chan_sip
  1701. -------------------------
  1702. * TEL URI support for inbound INVITE requests has been added. chan_sip will
  1703. now handle TEL schemes in the Request and From URIs. The phone-context in
  1704. the Request URI will be stored in the SIPURIPHONECONTEXT channel variable on
  1705. the inbound channel.
  1706. Core
  1707. ------------------
  1708. * Exposed sorcery-based configuration files like pjsip.conf to dialplans via
  1709. the new AST_SORCERY diaplan function.
  1710. * Core Show Locks output now includes Thread/LWP ID if the platform
  1711. supports this feature.
  1712. * New "logger add channel" and "logger remove channel" CLI commands have
  1713. been added to allow creation and deletion of dynamic logger channels
  1714. without configuration changes. These dynamic logger channels will only
  1715. exist until the next restart of asterisk.
  1716. ARI
  1717. ------------------
  1718. * The live recording object on recording events now contains a target_uri
  1719. field which contains the URI of what is being recorded.
  1720. * The bridge type used when creating a bridge is now a comma separated list of
  1721. bridge properties. Valid options are: mixing, holding, dtmf_events, and
  1722. proxy_media.
  1723. * A channelId can now be provided when creating a channel, either in the
  1724. uri (POST channels/my-channel-id) or as query parameter. A local channel
  1725. will suffix the second channel id with ';2' unless provided as query
  1726. parameter otherChannelId.
  1727. * A bridgeId can now be provided when creating a bridge, either in the uri
  1728. (POST bridges/my-bridge-id) or as a query parameter.
  1729. * A playbackId can be provided when starting a playback, either in the uri
  1730. (POST channels/my-channel-id/play/my-playback-id /
  1731. POST bridges/my-bridge-id/play/my-playback-id) or as a query parameter.
  1732. * A snoop channel can be started with a snoopId, in the uri or query.
  1733. AMI
  1734. ------------------
  1735. * Originate now takes optional parameters ChannelId and OtherChannelId,
  1736. used to set the UniqueId on creation. The other id is assigned to the
  1737. second channel when dialing LOCAL, or defaults to appending ;2 if only
  1738. the single Id is given.
  1739. * The Mixmonitor action now has a "Command" header that can be used to
  1740. indicate a post-process command to run once recording finishes.
  1741. RealTime
  1742. ------------------
  1743. * A new set of Alembic scripts has been added for CDR tables. This will create
  1744. a 'cdr' table with the default schema that Asterisk expects.
  1745. Functions
  1746. ------------------
  1747. * A new function was added: PERIODIC_HOOK. This allows running a periodic
  1748. dialplan hook on a channel. Any audio generated by this hook will be
  1749. injected into the call.
  1750. Resources
  1751. ------------------
  1752. res_hep
  1753. ------------------
  1754. * A new module, res_hep, has been added, that acts as a generic packet
  1755. capture agent for the Homer Encapsulation Protocol (HEP) version 3.
  1756. It can be configured via hep.conf. Other modules can use res_hep to send
  1757. message traffic to a HEP capture server.
  1758. res_hep_pjsip
  1759. ------------------
  1760. * A new module, res_hep_pjsip, has been added that will forward PJSIP
  1761. message traffic to a HEP capture server. See res_hep for more
  1762. information.
  1763. res_pjsip
  1764. ------------------
  1765. * transport and endpoint ToS options (tos, tos_audio, and tos_video) may now
  1766. be set as the named set of ToS values (cs0-cs7, af11-af43, ef).
  1767. * Added the following new CLI commands:
  1768. - "pjsip show contacts" - list all current PJSIP contacts.
  1769. - "pjsip show contact" - show specific information about a current PJSIP
  1770. contact.
  1771. - "pjsip show channel" - show detailed information about a PJSIP channel.
  1772. res_pjsip_multihomed
  1773. ------------------
  1774. * A new module, res_pjsip_multihomed handles situations where the system
  1775. Asterisk is running out has multiple interfaces. res_pjsip_multihomed
  1776. determines which interface should be used during message sending.
  1777. res_pjsip_pidf_digium_body_supplement
  1778. ------------------
  1779. * A new module, res_pjsip_pidf_digium_body_supplement provides NOTIFY
  1780. request body formatting for presence support in Digium phones.
  1781. res_pjsip_send_to_voicemail
  1782. ------------------
  1783. * A new module, res_pjsip_send_to_voicemail allows for REFER requests with
  1784. particular headers to transfer a PJSIP channel directly to a particular
  1785. extension that has VoiceMail. This is intended to be used with Digium
  1786. phones that support this feature.
  1787. res_pjsip_outbound_registration
  1788. ------------------
  1789. * A new CLI command has been added: "pjsip show registrations", which lists
  1790. all configured PJSIP registrations
  1791. ------------------------------------------------------------------------------
  1792. --- Functionality changes from Asterisk 12.0.0 to Asterisk 12.1.0 ------------
  1793. ------------------------------------------------------------------------------
  1794. AMI
  1795. ------------------
  1796. * Added a new module that provides AMI control over MWI within Asterisk,
  1797. res_mwi_external_ami. Note that this module depends on res_mwi_external;
  1798. for more information on enabling this module, see res_mwi_external.
  1799. This module provides the MWIGet/MWIUpdate/MWIDelete actions, as well as
  1800. the MWIGet/MWIGetComplete events.
  1801. * The DialStatus field in the DialEnd event can now contain additional
  1802. statuses that convey how the dial operation terminated. This includes
  1803. ABORT, CONTINUE, and GOTO.
  1804. * AMI will now emit security events. A new class authorization has been
  1805. added in manager.conf for the security events, 'security'. The new events
  1806. are:
  1807. - FailedACL - raised when a request violates an ACL check
  1808. - InvalidAccountID - raised when a request fails an authentication
  1809. check due to an invalid account ID
  1810. - SessionLimit - raised when a request fails due to exceeding the
  1811. number of allowed concurrent sessions for a service
  1812. - MemoryLimit - raised when a request fails due to an internal memory
  1813. allocation failure
  1814. - LoadAverageLimit - raised when a request fails because a configured
  1815. load average limit has been reached
  1816. - RequestNotAllowed - raised when a request is not allowed by
  1817. the service
  1818. - AuthMethodNotAllowed - raised when a request used an authentication
  1819. method not allowed by the service
  1820. - RequestBadFormat - raised when a request is received with bad formatting
  1821. - SuccessfulAuth - raised when a request successfully authenticates
  1822. - UnexpectedAddress - raised when a request has a different source address
  1823. then what is expected for a session already in progress with a service
  1824. - ChallengeResponseFailed - raised when a request's attempt to authenticate
  1825. has been challenged, and the request failed the authentication challenge
  1826. - InvalidPassword - raised when a request provides an invalid password
  1827. during an authentication attempt
  1828. - ChallengeSent - raised when an Asterisk service send an authentication
  1829. challenge to a request
  1830. - InvalidTransport - raised when a request attempts to use a transport not
  1831. allowed by the Asterisk service
  1832. * Bridge related events now have two additional fields: BridgeName and
  1833. BridgeCreator. BridgeName is a descriptive name for the bridge;
  1834. BridgeCreator is the name of the entity that created the bridge. This
  1835. affects the following events: ConfbridgeStart, ConfbridgeEnd,
  1836. ConfbridgeJoin, ConfbridgeLeave, ConfbridgeRecord, ConfbridgeStopRecord,
  1837. ConfbridgeMute, ConfbridgeUnmute, ConfbridgeTalking, BlindTransfer,
  1838. AttendedTransfer, BridgeCreate, BridgeDestroy, BridgeEnter, BridgeLeave
  1839. ARI
  1840. ------------------
  1841. * The Bridge data model now contains the additional fields 'name' and
  1842. 'creator'. The 'name' field conveys a descriptive name for the bridge;
  1843. the 'creator' field conveys the name of the entity that created the bridge.
  1844. This affects all responses to HTTP requests that return a Bridge data model
  1845. as well as all event derived data models that contain a Bridge data model.
  1846. The POST /bridges operation may now optionally specify a name to give to
  1847. the bridge being created.
  1848. * Added a new ARI resource 'mailboxes' which allows the creation and
  1849. modification of mailboxes managed by external MWI. Modules res_mwi_external
  1850. and res_stasis_mailbox must be enabled to use this resource. For more
  1851. information on external MWI control, see res_mwi_external.
  1852. * Added new events for externally initiated transfers. The event
  1853. BridgeBlindTransfer is now raised when a channel initiates a blind transfer
  1854. of a bridge in the ARI controlled application to the dialplan; the
  1855. BridgeAttendedTransfer event is raised when a channel initiates an
  1856. attended transfer of a bridge in the ARI controlled application to the
  1857. dialplan.
  1858. * Channel variables may now be specified as a body parameter to the
  1859. POST /channels operation. The 'variables' key in the JSON is interpreted
  1860. as a sequence of key/value pairs that will be added to the created channel
  1861. as channel variables. Other parameters in the JSON body are treated as
  1862. query parameters of the same name.
  1863. HTTP
  1864. ------------------
  1865. * Asterisk's HTTP server now supports chunked Transfer-Encoding. This will be
  1866. automatically handled by the HTTP server if a request is received with a
  1867. Transfer-Encoding type of "chunked".
  1868. res_pjsip
  1869. ------------------
  1870. * Path support has been added with the 'support_path' option in registration
  1871. and aor sections.
  1872. * A 'debug' option has been added to the globals section that will allow
  1873. sip messages to be logged.
  1874. * A 'set_var' option has been added to endpoints that will automatically
  1875. set the desired variable(s) on a channel created for that endpoint.
  1876. * Several new tables and columns have been added to the realtime schema for
  1877. the res_pjsip related modules. See the UPGRADE.txt notes for updating
  1878. the database schema.
  1879. res_mwi_external
  1880. ------------------
  1881. * A new module, res_mwi_external, has been added to Asterisk. This module
  1882. acts as a base framework that other modules can build on top of to allow
  1883. an external system to control MWI within Asterisk. For implementations
  1884. that make use of res_mwi_external, see res_mwi_external_ami and
  1885. res_ari_mailboxes. Note that res_mwi_external canflicts with other modules
  1886. that may produce MWI themselves, such as app_voicemail. res_mwi_external
  1887. and other modules that depend on it cannot be built or loaded with
  1888. app_voicemail present.
  1889. res_pjsip
  1890. ------------------
  1891. * DNS functionality will now automatically be enabled if the system configured
  1892. nameservers can be retrieved. If the system configured nameservers can not be
  1893. retrieved the functionality will resort to using system resolution. Functionalty
  1894. such as SRV records and failover will not be available if system resolution
  1895. is in use.
  1896. ------------------------------------------------------------------------------
  1897. --- Functionality changes from Asterisk 11 to Asterisk 12 --------------------
  1898. ------------------------------------------------------------------------------
  1899. Overview
  1900. ------------------
  1901. Asterisk 12 is a standard release of the Asterisk project. As such, the
  1902. focus of development for this release was on core architectural changes and
  1903. major new features. This includes:
  1904. * A more flexible bridging core based on the Bridging API
  1905. * A new internal message bus, Stasis
  1906. * Major standardization and consistency improvements to AMI
  1907. * Addition of the Asterisk RESTful Interface (ARI)
  1908. * A new SIP channel driver, chan_pjsip
  1909. In addition, as the vast majority of bridging in Asterisk was migrated to the
  1910. Bridging API used by ConfBridge, major changes were made to most of the
  1911. interfaces in Asterisk. This includes not only AMI, but also CDRs and CEL.
  1912. Specifications have been written for the affected interfaces. These
  1913. specifications are available on the Asterisk wiki:
  1914. * AMI - https://wiki.asterisk.org/wiki/x/dAFRAQ
  1915. * CEL - https://wiki.asterisk.org/wiki/x/4ICLAQ
  1916. * CDRs - https://wiki.asterisk.org/wiki/x/pwpRAQ
  1917. It is *highly* recommended that anyone migrating to Asterisk 12 read the
  1918. information regarding its release both in this file and in the accompanying
  1919. UPGRADE.txt file. More detailed information on the major changes can be found
  1920. on the Asterisk wiki at https://wiki.asterisk.org/wiki/x/0YCLAQ.
  1921. Build System
  1922. ------------------
  1923. * Added build option DISABLE_INLINE. This option can be used to work around a
  1924. bug in gcc. For more information, see
  1925. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47816
  1926. * Removed the CHANNEL_TRACE development mode build option. Certain aspects of
  1927. the CHANNEL_TRACE build option were incompatible with the new bridging
  1928. architecture.
  1929. * Asterisk now optionally uses libxslt to improve XML documentation generation
  1930. and maintainability. If libxslt is not available on the system, some XML
  1931. documentation will be incomplete.
  1932. * Asterisk now depends on libjansson. If a package of libjansson is not
  1933. available on your distro, please see http://www.digip.org/jansson/.
  1934. * Asterisk now depends on libuuid and, optionally, uriparser. It is
  1935. recommended that you install uriparser, even if it is optional.
  1936. * The new SIP stack and channel driver uses a particular version of PJSIP.
  1937. Please see https://wiki.asterisk.org/wiki/x/J4GLAQ for more information on
  1938. configuring and installing PJSIP for usage with Asterisk.
  1939. * Optional API was re-implemented to be more portable, and no longer requires
  1940. weak reference support from the compiler. The build option OPTIONAL_API may
  1941. be disabled to disable Optional API support.
  1942. Applications
  1943. ------------------
  1944. AgentLogin
  1945. ------------------
  1946. * Along with AgentRequest, this application has been modified to be a
  1947. replacement for chan_agent. The act of a channel calling the AgentLogin
  1948. application places the channel into a pool of agents that can be
  1949. requested by the AgentRequest application. Note that this application, as
  1950. well as all other agent related functionality, is now provided by the
  1951. app_agent_pool module. See chan_agent and AgentRequest for more information.
  1952. * This application no longer performs agent authentication. If authentication
  1953. is desired, the dialplan needs to perform this function using the
  1954. Authenticate or VMAuthenticate application or through an AGI script before
  1955. running AgentLogin.
  1956. * If this application is called and the agent is already logged in, the
  1957. dialplan will continue exection with the AGENT_STATUS channel variable set
  1958. to ALREADY_LOGGED_IN.
  1959. * The agents.conf schema has changed. Rather than specifying agents on a
  1960. single line in comma delineated fashion, each agent is defined in a separate
  1961. context. This allows agents to use the power of context templates in their
  1962. definition.
  1963. * A number of parameters from agents.conf have been removed. This includes
  1964. maxloginretries, autologoffunavail, updatecdr, goodbye, group, recordformat,
  1965. urlprefix, and savecallsin. These options were obsoleted by the move from
  1966. a channel driver model to the bridging/application model provided by
  1967. app_agent_pool.
  1968. AgentRequest
  1969. ------------------
  1970. * A new application, this will request a logged in agent from the pool and
  1971. bridge the requested channel with the channel calling this application.
  1972. Logged in agents are those channels that called the AgentLogin application.
  1973. If an agent cannot be requested from the pool, the AGENT_STATUS dialplan
  1974. application will be set with an appropriate error value.
  1975. AgentMonitorOutgoing
  1976. ------------------
  1977. * This application has been removed. It was a holdover from when
  1978. AgentCallbackLogin was removed.
  1979. AlarmReceiver
  1980. ------------------
  1981. * Added support for additional Ademco DTMF signalling formats, including
  1982. Express 4+1, Express 4+2, High Speed and Super Fast.
  1983. * Added channel variable ALARMRECEIVER_CALL_LIMIT. This sets the maximum
  1984. call time, in milliseconds, to run the application.
  1985. * Added channel variable ALARMRECEIVER_RETRIES_LIMIT. This sets the
  1986. maximum number of times to retry the call.
  1987. * Added a new configuration option answait. If set, the AlarmReceiver
  1988. application will wait the number of milliseconds specified by answait
  1989. after the channel has answered. Valid values range between 500
  1990. milliseconds and 10000 milliseconds.
  1991. * Added configuration option no_group_meta. If enabled, grouping of metadata
  1992. information in the AlarmReceiver log file will be skipped.
  1993. Answer
  1994. ------------------
  1995. * It is now no longer possible to bypass updating the CDR on the channel
  1996. when answering. CDRs reflect the state of the channel and will always
  1997. reflect the time they were Answered.
  1998. BridgeWait
  1999. ------------------
  2000. * A new application in Asterisk, this will place the calling channel
  2001. into a holding bridge, optionally entertaining them with some form of
  2002. media. Channels participating in a holding bridge do not interact with
  2003. other channels in the same holding bridge. Optionally, however, a channel
  2004. may join as an announcer. Any media passed from an announcer channel is
  2005. played to all channels in the holding bridge. Channels leave a holding
  2006. bridge either when an optional timer expires, or via the ChannelRedirect
  2007. application or AMI Redirect action.
  2008. ConfBridge
  2009. ------------------
  2010. * All participants in a bridge can now be kicked out of a conference room
  2011. by specifying the channel parameter as 'all' in the ConfBridge kick CLI
  2012. command, i.e., 'confbridge kick <conference> all'
  2013. * CLI output for the 'confbridge list' command has been improved. When
  2014. displaying information about a particular bridge, flags will now be shown
  2015. for the participating users indicating properties of that user.
  2016. * The ConfbridgeList event now contains the following fields: WaitMarked,
  2017. EndMarked, and Waiting. This displays additional properties about the
  2018. user's profile, as well as whether or not the user is waiting for a
  2019. Marked user to enter the conference.
  2020. * Added a new option for conference recording, record_file_append. If enabled,
  2021. when the recording is stopped and then re-started, the existing recording
  2022. will be used and appended to.
  2023. * ConfBridge now has the ability to set the language of announcements to the
  2024. conference. The language can be set on a bridge profile in confbridge.conf
  2025. or by the dialplan function CONFBRIDGE(bridge,language)=en.
  2026. ControlPlayback
  2027. ------------------
  2028. * The channel variable CPLAYBACKSTATUS may now return the value
  2029. 'REMOTESTOPPED'. This occurs when playback is stopped by a remote interface,
  2030. such as AMI. See the AMI action ControlPlayback for more information.
  2031. Directory
  2032. ------------------
  2033. * Added the 'a' option, which allows the caller to enter in an additional
  2034. alias for the user in the directory. This option must be used in conjunction
  2035. with the 'f', 'l', or 'b' options. Note that the alias for a user can be
  2036. specified in voicemail.conf.
  2037. DumpChan
  2038. ------------------
  2039. * The output of DumpChan no longer includes the DirectBridge or IndirectBridge
  2040. fields. Instead, if a channel is in a bridge, it includes a BridgeID field
  2041. containing the unique ID of the bridge that the channel happens to be in.
  2042. ForkCDR
  2043. ------------------
  2044. * ForkCDR no longer automatically resets the forked CDR. See the 'r' option
  2045. for more information.
  2046. * Variables are no longer purged from the original CDR. See the 'v' option for
  2047. more information.
  2048. * The 'A' option has been removed. The Answer time on a CDR is never updated
  2049. once set.
  2050. * The 'd' option has been removed. The disposition on a CDR is a function of
  2051. the state of the channel and cannot be altered.
  2052. * The 'D' option has been removed. Who the Party B is on a CDR is a function
  2053. of the state of the respective channels involved in the CDR and cannot be
  2054. altered.
  2055. * The 'r' option has been changed. Previously, ForkCDR always reset the CDR
  2056. such that the start time and, if applicable, the answer time was updated.
  2057. Now, by default, ForkCDR simply forks the CDR, maintaining any times. The
  2058. 'r' option now triggers the Reset, setting the start time (and answer time
  2059. if applicable) to the current time. Note that the 'a' option still sets
  2060. the answer time to the current time if the channel was already answered.
  2061. * The 's' option has been removed. A variable can be set on the original CDR
  2062. if desired using the CDR function, and removed from a forked CDR using the
  2063. same function.
  2064. * The 'T' option has been removed. The concept of DONT_TOUCH and LOCKED no
  2065. longer applies in the CDR engine.
  2066. * The 'v' option now prevents the copy of the variables from the original CDR
  2067. to the forked CDR. Previously the variables were always copied but were
  2068. removed from the original. This was changed as removing variables from a CDR
  2069. can have unintended side effects - this option allows the user to prevent
  2070. propagation of variables from the original to the forked without modifying
  2071. the original.
  2072. MeetMe
  2073. -------------------
  2074. * Added the 'n' option to MeetMe to prevent application of the DENOISE
  2075. function to a channel joining a conference. Some channel drivers that vary
  2076. the number of audio samples in a voice frame will experience significant
  2077. quality problems if a denoiser is attached to the channel; this option gives
  2078. them the ability to remove the denoiser without having to unload func_speex.
  2079. MixMonitor
  2080. ------------------
  2081. * The 'b' option now includes conferences as well as sounds played to the
  2082. participants.
  2083. * The AUDIOHOOK_INHERIT function is no longer needed to keep a MixMonitor
  2084. running during a transfer. If a MixMonitor is started on a channel,
  2085. the MixMonitor will continue to record the audio passing through the
  2086. channel even in the presence of transfers.
  2087. NoCDR
  2088. ------------------
  2089. * The NoCDR application is deprecated. Please use the CDR_PROP function to
  2090. disable CDRs.
  2091. * While the NoCDR application will prevent CDRs for a channel from being
  2092. propagated to registered CDR backends, it will not prevent that data from
  2093. being collected. Hence, a subsequent call to ResetCDR or the CDR_PROP
  2094. function that enables CDRs on a channel will restore those records that have
  2095. not yet been finalized.
  2096. ParkAndAnnounce
  2097. -------------------
  2098. * The app_parkandannounce module has been removed. The application
  2099. ParkAndAnnounce is now provided by the res_parking module. See the
  2100. res_parking changes for more information.
  2101. Queue
  2102. -------------------
  2103. * Added queue available hint. The hint can be added to the dialplan using the
  2104. following syntax: exten,hint,Queue:{queue_name}_avail
  2105. For example, if the name of the queue is 'markq':
  2106. exten => 8501,hint,Queue:markq_avail
  2107. This will report 'InUse' if there are no logged in agents or no free agents.
  2108. It will report 'Idle' when an agent is free.
  2109. * Queues now support a hint for member paused state. The hint uses the form
  2110. 'Queue:{queue_name}_pause_{member_name}', where {queue_name} and {member_name}
  2111. are the name of the queue and the name of the member to subscribe to,
  2112. respectively. For example: exten => 8501,hint,Queue:sales_pause_mark.
  2113. Members will show as In Use when paused.
  2114. * The configuration options eventwhencalled and eventmemberstatus have been
  2115. removed. As a result, the AMI events QueueMemberStatus, AgentCalled,
  2116. AgentConnect, AgentComplete, AgentDump, and AgentRingNoAnswer will always be
  2117. sent. The "Variable" fields will also no longer exist on the Agent* events.
  2118. These events can be filtered out from a connected AMI client using the
  2119. eventfilter setting in manager.conf.
  2120. * The queue log now differentiates between blind and attended transfers. A
  2121. blind transfer will result in a BLINDTRANSFER message with the destination
  2122. context and extension. An attended transfer will result in an
  2123. ATTENDEDTRANSFER message. This message will indicate the method by which
  2124. the attended transfer was completed: "BRIDGE" for a bridge merge, "APP"
  2125. for running an application on a bridge or channel, or "LINK" for linking
  2126. two bridges together with local channels. The queue log will also now detect
  2127. externally initiated blind and attended transfers and record the transfer
  2128. status accordingly.
  2129. * When performing queue pause/unpause on an interface without specifying an
  2130. individual queue, the PAUSEALL/UNPAUSEALL event will only be logged if at
  2131. least one member of any queue exists for that interface.
  2132. * Added the 'queue_log_realtime_use_gmt' option to have timestamps in GMT
  2133. for realtime queue log entries.
  2134. ResetCDR
  2135. ------------------
  2136. * The 'e' option has been deprecated. Use the CDR_PROP function to re-enable
  2137. CDRs when they were previously disabled on a channel.
  2138. * The 'w' and 'a' options have been removed. Dispatching CDRs to registered
  2139. backends occurs on an as-needed basis in order to preserve linkedid
  2140. propagation and other needed behavior.
  2141. SayAlphaCase
  2142. ------------------
  2143. * A new application, this is similar to SayAlpha except that it supports
  2144. case sensitive playback of the specified characters. For example,
  2145. SayAlphaCase(u,aBc) will result in 'a uppercase b c'.
  2146. SetAMAFlags
  2147. ------------------
  2148. * This application is deprecated in favor of CHANNEL(amaflags).
  2149. SendDTMF
  2150. ------------------
  2151. * The SendDTMF application will now accept 'W' as valid input. This will cause
  2152. the application to delay one second while streaming DTMF.
  2153. Stasis
  2154. ------------------
  2155. * A new application in Asterisk 12, this hands control of the channel calling
  2156. the application over to an external system. Currently, external systems
  2157. manipulate channels in Stasis through the Asterisk RESTful Interface (ARI).
  2158. UserEvent
  2159. ------------------
  2160. * UserEvent will now handle duplicate keys by overwriting the previous value
  2161. assigned to the key.
  2162. * In addition to AMI, UserEvent invocations will now be distributed to any
  2163. interested Stasis applications.
  2164. VoiceMail
  2165. ------------------
  2166. * Mailboxes defined by app_voicemail MUST be referenced by the rest of the
  2167. system as mailbox@context. The rest of the system cannot add @default
  2168. to mailbox identifiers for app_voicemail that do not specify a context
  2169. any longer. It is a mailbox identifier format that should only be
  2170. interpreted by app_voicemail.
  2171. * The voicemail.conf configuration file now has an 'alias' configuration
  2172. parameter for use with the Directory application. The voicemail realtime
  2173. database table schema has also been updated with an 'alias' column.
  2174. Codecs
  2175. ------------------
  2176. * Pass through support has been added for both VP8 and Opus.
  2177. * Added format attribute negotiation for the Opus codec. Format attribute
  2178. negotiation is provided by the res_format_attr_opus module.
  2179. Core
  2180. ------------------
  2181. * Masquerades as an operation inside Asterisk have been effectively hidden
  2182. by the migration to the Bridging API. As such, many 'quirks' of Asterisk
  2183. no longer occur. This includes renaming of channels, "<ZOMBIE>" channels,
  2184. dropping of frame/audio hooks, and other internal implementation details
  2185. that users had to deal with. This fundamental change has large implications
  2186. throughout the changes documented for this version. For more information
  2187. about the new core architecture of Asterisk, please see the Asterisk wiki.
  2188. * Multiple parties in a bridge may now be transferred. If a participant in a
  2189. multi-party bridge initiates a blind transfer, a Local channel will be used
  2190. to execute the dialplan location that the transferer sent the parties to. If
  2191. a participant in a multi-party bridge initiates an attended transfer,
  2192. several options are possible. If the attended transfer results in a transfer
  2193. to an application, a Local channel is used. If the attended transfer results
  2194. in a transfer to another channel, the resulting channels will be merged into
  2195. a single bridge.
  2196. * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND is no longer channel
  2197. driver specific. If the channel variable is set on the transferrer channel,
  2198. the sound will be played to the target of an attended transfer.
  2199. * The channel variable BRIDGEPEER becomes a comma separated list of peers in
  2200. a multi-party bridge. The BRIDGEPEER value can have a maximum of 10 peers
  2201. listed. Any more peers in the bridge will not be included in the list.
  2202. BRIDGEPEER is not valid in holding bridges like parking since those channels
  2203. do not talk to each other even though they are in a bridge.
  2204. * The channel variable BRIDGEPVTCALLID is only valid for two party bridges
  2205. and will contain a value if the BRIDGEPEER's channel driver supports it.
  2206. * A channel variable ATTENDEDTRANSFER is now set which indicates which channel
  2207. was responsible for an attended transfer in a similar fashion to
  2208. BLINDTRANSFER.
  2209. * Modules using the Configuration Framework or Sorcery must have XML
  2210. configuration documentation. This configuration documentation is included
  2211. with the rest of Asterisk's XML documentation, and is accessible via CLI
  2212. commands. See the CLI changes for more information.
  2213. AMI (Asterisk Manager Interface)
  2214. ------------------
  2215. * Major changes were made to both the syntax as well as the semantics of the
  2216. AMI protocol. In particular, AMI events have been substantially improved
  2217. in this version of Asterisk. For more information, please see the AMI
  2218. specification at https://wiki.asterisk.org/wiki/x/dAFRAQ
  2219. * AMI events that reference a particular channel or bridge will now always
  2220. contain a standard set of fields. When multiple channels or bridges are
  2221. referenced in an event, fields for at least some subset of the channels
  2222. and bridges in the event will be prefixed with a descriptive name to avoid
  2223. name collisions. See the AMI event documentation on the Asterisk wiki for
  2224. more information.
  2225. * The CLI command 'manager show commands' no longer truncates command names
  2226. longer than 15 characters and no longer shows authorization requirement
  2227. for commands. 'manager show command' now displays the privileges needed
  2228. for using a given manager command instead.
  2229. * The SIPshowpeer action will now include a 'SubscribeContext' field for a
  2230. peer in its response if the peer has a subscribe context set.
  2231. * The SIPqualifypeer action now acknowledges the request once it has
  2232. established that the request is against a known peer. It also issues a new
  2233. event, 'SIPQualifyPeerDone', once the qualify action has been completed.
  2234. * The PlayDTMF action now supports an optional 'Duration' parameter. This
  2235. specifies the duration of the digit to be played, in milliseconds.
  2236. * Added VoicemailRefresh action to allow an external entity to trigger mailbox
  2237. updates when changes occur instead of requiring the use of pollmailboxes.
  2238. * Added a new action 'ControlPlayback'. The ControlPlayback action allows an
  2239. AMI client to manipulate audio currently being played back on a channel. The
  2240. supported operations depend on the application being used to send audio to
  2241. the channel. When the audio playback was initiated using the ControlPlayback
  2242. application or CONTROL STREAM FILE AGI command, the audio can be paused,
  2243. stopped, restarted, reversed, or skipped forward. When initiated by other
  2244. mechanisms (such as the Playback application), the audio can be stopped,
  2245. reversed, or skipped forward.
  2246. * Channel related events now contain a snapshot of channel state, adding new
  2247. fields to many of these events.
  2248. * The AMI event 'Newexten' field 'Extension' is deprecated, and may be removed
  2249. in a future release. Please use the common 'Exten' field instead.
  2250. * The AMI event 'UserEvent' from app_userevent now contains the channel state
  2251. fields. The channel state fields will come before the body fields.
  2252. * The AMI events 'ParkedCall', 'ParkedCallTimeOut', 'ParkedCallGiveUp', and
  2253. 'UnParkedCall' have changed significantly in the new res_parking module.
  2254. The 'Channel' and 'From' headers are gone. For the channel that was parked
  2255. or is coming out of parking, a 'Parkee' channel snapshot is issued and it
  2256. has a number of fields associated with it. The old 'Channel' header relayed
  2257. the same data as the new 'ParkeeChannel' header.
  2258. The 'From' field was ambiguous and changed meaning depending on the event.
  2259. for most of these, it was the name of the channel that parked the call
  2260. (the 'Parker'). There is no longer a header that provides this channel name,
  2261. however the 'ParkerDialString' will contain a dialstring to redial the
  2262. device that parked the call.
  2263. On UnParkedCall events, the 'From' header would instead represent the
  2264. channel responsible for retrieving the parkee. It receives a channel
  2265. snapshot labeled 'Retriever'. The 'from' field is is replaced with
  2266. 'RetrieverChannel'.
  2267. Lastly, the 'Exten' field has been replaced with 'ParkingSpace'.
  2268. * The AMI event 'Parkinglot' (response to 'Parkinglots' command) in a similar
  2269. fashion has changed the field names 'StartExten' and 'StopExten' to
  2270. 'StartSpace' and 'StopSpace' respectively.
  2271. * The deprecated use of | (pipe) as a separator in the channelvars setting in
  2272. manager.conf has been removed.
  2273. * Channel Variables conveyed with a channel no longer contain the name of the
  2274. channel as part of the key field, i.e., ChanVariable(SIP/foo): bar=baz is now
  2275. ChanVariable: bar=baz. When multiple channels are present in a single AMI
  2276. event, the various ChanVariable fields will contain a suffix that specifies
  2277. which channel they correspond to.
  2278. * The NewPeerAccount AMI event is no longer raised. The NewAccountCode AMI
  2279. event always conveys the AMI event for a particular channel.
  2280. * All 'Reload' events have been consolidated into a single event type. This
  2281. event will always contain a Module field specifying the name of the module
  2282. and a Status field denoting the result of the reload. All modules now issue
  2283. this event when being reloaded.
  2284. * The 'ModuleLoadReport' event has been removed. Most AMI connections would
  2285. fail to receive this event due to being connected after modules have loaded.
  2286. AMI connections that want to know when Asterisk is ready should listen for
  2287. the 'FullyBooted' event.
  2288. * app_fax now sends the same send fax/receive fax events as res_fax. The
  2289. 'FaxSent' event is now the 'SendFAX' event, and the 'FaxReceived' event is
  2290. now the 'ReceiveFAX' event.
  2291. * The 'MusicOnHold' event is now two events: 'MusicOnHoldStart' and
  2292. 'MusicOnHoldStop'. The sub type field has been removed.
  2293. * The 'JabberEvent' event has been removed. It is not AMI's purpose to be a
  2294. carrier for another protocol.
  2295. * The Bridge Manager action's 'Playtone' header now accepts more fine-grained
  2296. options. 'Channel1' and 'Channel2' may be specified in order to play a tone
  2297. to the specific channel. 'Both' may be specified to play a tone to both
  2298. channels. The old 'yes' option is still accepted as a way of playing the
  2299. tone to Channel2 only.
  2300. * The AMI 'Status' response event to the AMI Status action replaces the
  2301. 'BridgedChannel' and 'BridgedUniqueid' headers with the 'BridgeID' header to
  2302. indicate what bridge the channel is currently in.
  2303. * The AMI 'Hold' event has been moved out of individual channel drivers, into
  2304. core, and is now two events: 'Hold' and 'Unhold'. The status field has been
  2305. removed.
  2306. * The AMI events in app_queue have been made more consistent with each other.
  2307. Events that reference channels (QueueCaller* and Agent*) will show
  2308. information about each channel. The (infamous) 'Join' and 'Leave' AMI
  2309. events have been changed to 'QueueCallerJoin' and 'QueueCallerLeave'.
  2310. * The 'MCID' AMI event now publishes a channel snapshot when available and
  2311. its non-channel-snapshot parameters now use either the "MCallerID" or
  2312. 'MConnectedID' prefixes with Subaddr*, Name*, and Num* suffixes instead
  2313. of 'CallerID' and 'ConnectedID' to avoid confusion with similarly named
  2314. parameters in the channel snapshot.
  2315. * The AMI events 'Agentlogin' and 'Agentlogoff' have been renamed
  2316. 'AgentLogin' and 'AgentLogoff' respectively.
  2317. * The 'Channel' key used in the 'AlarmClear', 'Alarm', and 'DNDState' has been
  2318. renamed "DAHDIChannel" since it does not convey an Asterisk channel name.
  2319. * 'ChannelUpdate' events have been removed.
  2320. * All AMI events now contain a 'SystemName' field, if available.
  2321. * Local channel optimization is now conveyed in two events:
  2322. 'LocalOptimizationBegin' and 'LocalOptimizationEnd'. The Begin event is sent
  2323. when the Local channel driver begins attempting to optimize itself out of
  2324. the media path; the End event is sent after the channel halves have
  2325. successfully optimized themselves out of the media path.
  2326. * Local channel information in events is now prefixed with 'LocalOne' and
  2327. 'LocalTwo'. This replaces the suffix of '1' and '2' for the two halves of
  2328. the Local channel. This affects the 'LocalBridge', 'LocalOptimizationBegin',
  2329. and 'LocalOptimizationEnd' events.
  2330. * The option 'allowmultiplelogin' can now be set or overriden in a particular
  2331. account. When set in the general context, it will act as the default
  2332. setting for defined accounts.
  2333. * The 'BridgeAction' event was removed. It technically added no value, as the
  2334. Bridge Action already receives confirmation of the bridge through a
  2335. successful completion Event.
  2336. * The 'BridgeExec' events were removed. These events duplicated the events that
  2337. occur in the Briding API, and are conveyed now through BridgeCreate,
  2338. BridgeEnter, and BridgeLeave events.
  2339. * The 'RTCPSent'/'RTCPReceived' events have been significantly modified from
  2340. previous versions. They now report all SR/RR packets sent/received, and
  2341. have been restructured to better reflect the data sent in a SR/RR. In
  2342. particular, the event structure now supports multiple report blocks.
  2343. * Added 'BlindTransfer' and 'AttendedTransfer' events. These events are
  2344. raised when a blind transfer/attended transfer completes successfully.
  2345. They contain information about the transfer that just completed, including
  2346. the location of the transfered channel.
  2347. * Added a 'security' class to AMI which outputs the required fields for
  2348. security messages similar to the log messages from res_security_log
  2349. * The AMI event 'ExtensionStatus' now contains a 'StatusText' field
  2350. that describes the status value in a human readable string.
  2351. CDR (Call Detail Records)
  2352. ------------------
  2353. * Significant changes have been made to the behavior of CDRs. The CDR engine
  2354. was effectively rewritten and built on the Stasis message bus. For a full
  2355. definition of CDR behavior in Asterisk 12, please read the specification
  2356. on the Asterisk wiki (wiki.asterisk.org).
  2357. * CDRs will now be created between all participants in a bridge. For each
  2358. pair of channels in a bridge, a CDR is created to represent the path of
  2359. communication between those two endpoints. This lets an end user choose who
  2360. to bill for what during bridge operations with multiple parties.
  2361. * The duration, billsec, start, answer, and end times now reflect the times
  2362. associated with the current CDR for the channel, as opposed to a cumulative
  2363. measurement of all CDRs for that channel.
  2364. * When a CDR is dispatched, user defined CDR variables from both parties are
  2365. included in the resulting CDR. If both parties have the same variable, only
  2366. the Party A value is provided.
  2367. * Added a new option to cdr.conf, 'debug'. When enabled, significantly more
  2368. information regarding the CDR engine is logged as verbose messages. This
  2369. option should only be used if the behavior of the CDR engine needs to be
  2370. debugged.
  2371. * Added CLI command 'cdr set debug {on|off}'. This toggles the 'debug' setting
  2372. normally configured in cdr.conf.
  2373. * Added CLI command 'cdr show active {channel}'. When {channel} is not
  2374. specified, this command provides a summary of the channels with CDR
  2375. information and their statistics. When {channel} is specified, it shows
  2376. detailed information about all records associated with {channel}.
  2377. CEL (Channel Event Logging)
  2378. ------------------
  2379. * CEL has undergone significant rework in Asterisk 12, and is now built on the
  2380. Stasis message bus. Please see the specification for CEL on the Asterisk
  2381. wiki at https://wiki.asterisk.org/wiki/x/4ICLAQ for more detailed
  2382. information.
  2383. * The 'extra' field of all CEL events that use it now consists of a JSON blob
  2384. with key/value pairs which are defined in the Asterisk 12 CEL documentation.
  2385. * BLINDTRANSFER events now report the transferee bridge unique
  2386. identifier, extension, and context in a JSON blob as the extra string
  2387. instead of the transferee channel name as the peer.
  2388. * ATTENDEDTRANSFER events now report the peer as NULL and additional
  2389. information in the 'extra' string as a JSON blob. For transfers that occur
  2390. between two bridged channels, the 'extra' JSON blob contains the primary
  2391. bridge unique identifier, the secondary channel name, and the secondary
  2392. bridge unique identifier. For transfers that occur between a bridged channel
  2393. and a channel running an app, the 'extra' JSON blob contains the primary
  2394. bridge unique identifier, the secondary channel name, and the app name.
  2395. * LOCAL_OPTIMIZE events have been added to convey local channel
  2396. optimizations with the record occurring for the semi-one channel and
  2397. the semi-two channel name in the peer field.
  2398. * BRIDGE_START, BRIDGE_END, BRIDGE_UPDATE, 3WAY_START, 3WAY_END, CONF_ENTER,
  2399. CONF_EXIT, CONF_START, and CONF_END events have all been removed. These
  2400. events have been replaced by BRIDGE_ENTER/BRIDGE_EXIT. The BRIDGE_ENTER
  2401. and BRIDGE_EXIT events are raised when a channel enters/exits any bridge,
  2402. regardless of whether or not that bridge happens to contain multiple
  2403. parties.
  2404. CLI
  2405. -------------------
  2406. * When compiled with '--enable-dev-mode', the astobj2 library will now add
  2407. several CLI commands that allow for inspection of ao2 containers that
  2408. register themselves with astobj2. The CLI commands are 'astobj2 container
  2409. dump', 'astobj2 container stats', and 'astobj2 container check'.
  2410. * Added specific CLI commands for bridge inspection. This includes 'bridge
  2411. show all', which lists all bridges in the system, and 'bridge show {id}',
  2412. which provides specific information about a bridge.
  2413. * Added CLI command 'bridge destroy'. This will destroy the specified bridge,
  2414. ejecting the channels currently in the bridge. If the channels cannot
  2415. continue in the dialplan or application that put them in the bridge, they
  2416. will be hung up.
  2417. * Added command 'bridge kick'. This will eject a single channel from a bridge.
  2418. * Added commands to inspect and manipulate the registered bridge technologies.
  2419. This include 'bridge technology show', which lists the registered bridge
  2420. technologies, as well as 'bridge technology {suspend|unsuspend} {tech}',
  2421. which controls whether or not a registered bridge technology can be used
  2422. during smart bridge operations. If a technology is suspended, it will not
  2423. be used when a bridge technology is picked for channels; when unsuspended,
  2424. it can be used again.
  2425. * The command 'config show help {module} {type} {option}' will show
  2426. configuration documentation for modules with XML configuration
  2427. documentation. When {module}, {type}, and {option} are omitted, a listing
  2428. of all modules with registered documentation is displayed. When {module}
  2429. is specified, a listing of all configuration types for that module is
  2430. displayed, along with their synopsis. When {module} and {type} are
  2431. specified, a listing of all configuration options for that type are
  2432. displayed along with their synopsis. When {module}, {type}, and {option}
  2433. are specified, detailed information for that configuration option is
  2434. displayed.
  2435. * Added 'core show sounds' and 'core show sound' CLI commands. These display
  2436. a listing of all installed media sounds available on the system and
  2437. detailed information about a sound, respectively.
  2438. * 'xmldoc dump' has been added. This CLI command will dump the XML
  2439. documentation DOM as a string to the specified file. The Asterisk core
  2440. will populate certain XML elements pulled from the source files with
  2441. additional run-time information; this command lets a user produce the
  2442. XML documentation with all information.
  2443. Features
  2444. -------------------
  2445. * Parking has been pulled from core and placed into a separate module called
  2446. res_parking. See Parking changes below for more details. Configuration for
  2447. parking should now be performed in res_parking.conf. Configuration for
  2448. parking in features.conf is now unsupported.
  2449. * Core attended transfers now have several new options. While performing an
  2450. attended transfer, the transferer now has the following options:
  2451. - *1 - cancel the attended transfer (configurable via atxferabort)
  2452. - *2 - complete the attended transfer, dropping out of the call
  2453. (configurable via atxfercomplete)
  2454. - *3 - complete the attended transfer, but stay in the call. This will turn
  2455. the call into a multi-party bridge (configurable via atxferthreeway)
  2456. - *4 - swap to the other party. Once an attended transfer has begun, this
  2457. options may be used multiple times (configurable via atxferswap)
  2458. * For DTMF blind and attended transfers, the channel variable TRANSFER_CONTEXT
  2459. must be on the channel initiating the transfer to have any effect.
  2460. * The BRIDGE_FEATURES channel variable would previously only set features for
  2461. the calling party and would set this feature regardless of whether the
  2462. feature was in caps or in lowercase. Use of a caps feature for a letter
  2463. will now apply the feature to the calling party while use of a lowercase
  2464. letter will apply that feature to the called party.
  2465. * Add support for automixmon to the BRIDGE_FEATURES channel variable.
  2466. * The channel variable DYNAMIC_PEERNAME is redundant with BRIDGEPEER and is
  2467. removed. The more useful DYNAMIC_WHO_ACTIVATED gives the channel name that
  2468. activated the dynamic feature.
  2469. * The channel variables DYNAMIC_FEATURENAME and DYNAMIC_WHO_ACTIVATED are set
  2470. only on the channel executing the dynamic feature. Executing a dynamic
  2471. feature on the bridge peer in a multi-party bridge will execute it on all
  2472. peers of the activating channel.
  2473. * You can now have the settings for a channel updated using the FEATURE()
  2474. and FEATUREMAP() functions inherited to child channels by setting
  2475. FEATURE(inherit)=yes.
  2476. * automixmon now supports additional channel variables from automon including:
  2477. TOUCH_MIXMONITOR_PREFIX, TOUCH_MIXMONITOR_MESSAGE_START,
  2478. and TOUCH_MIXMONITOR_MESSAGE_STOP
  2479. * A new general features.conf option 'recordingfailsound' has been added which
  2480. allowssetting a failure sound for a user tries to invoke a recording feature
  2481. such as automon or automixmon and it fails.
  2482. * It is no longer necessary (or possible) to define the ATXFER_NULL_TECH in
  2483. features.c for atxferdropcall=no to work properly. This option now just
  2484. works.
  2485. Logging
  2486. -------------------
  2487. * Added log rotation strategy 'none'. If set, no log rotation strategy will
  2488. be used. Given that this can cause the Asterisk log files to grow quickly,
  2489. this option should only be used if an external mechanism for log management
  2490. is preferred.
  2491. Realtime
  2492. ------------------
  2493. * Dynamic realtime tables for SIP Users can now include a 'path' field. This
  2494. will store the path information for that peer when it registers. Realtime
  2495. tables can also use the 'supportpath' field to enable Path header support.
  2496. * LDAP realtime configurations for SIP Users now have the AstAccountPathSupport
  2497. objectIdentifier. This maps to the supportpath option in sip.conf.
  2498. Sorcery
  2499. ------------------
  2500. * Sorcery is a new data abstraction and object persistence API in Asterisk. It
  2501. provides modules a useful abstraction on top of the many storage mechanisms
  2502. in Asterisk, including the Asterisk Database, static configuration files,
  2503. static Realtime, and dynamic Realtime. It also provides a caching service.
  2504. Users can configure a hierarchy of data storage layers for specific modules
  2505. in sorcery.conf.
  2506. * All future modules which utilize Sorcery for object persistence must have a
  2507. column named "id" within their schema when using the Sorcery realtime module.
  2508. This column must be able to contain a string of up to 128 characters in length.
  2509. Security Events Framework
  2510. ------------------
  2511. * Security Event timestamps now use ISO 8601 formatted date/time instead of
  2512. the "seconds-microseconds" format that it was using previously.
  2513. Stasis Message Bus
  2514. ------------------
  2515. * The Stasis message bus is a publish/subscribe message bus internal to
  2516. Asterisk. Many services in Asterisk are built on the Stasis message bus,
  2517. including AMI, ARI, CDRs, and CEL. Parameters controlling the operation of
  2518. Stasis can be configured in stasis.conf. Note that these parameters operate
  2519. at a very low level in Asterisk, and generally will not require changes.
  2520. Channel Drivers
  2521. ------------------
  2522. * When a channel driver is configured to enable jiterbuffers, they are now
  2523. applied unconditionally when a channel joins a bridge. If a jitterbuffer
  2524. is already set for that channel when it enters, such as by the JITTERBUFFER
  2525. function, then the existing jitterbuffer will be used and the one set by
  2526. the channel driver will not be applied.
  2527. chan_agent
  2528. ------------------
  2529. * chan_agent has been removed and replaced with AgentLogin and AgentRequest
  2530. dialplan applications provided by the app_agent_pool module. Agents are
  2531. connected with callers using the new AgentRequest dialplan application.
  2532. The Agents:<agent-id> device state is available to monitor the status of an
  2533. agent. See agents.conf.sample for valid configuration options.
  2534. * The updatecdr option has been removed. Altering the names of channels on a
  2535. CDR is not supported - the name of the channel is the name of the channel,
  2536. and pretending otherwise helps no one. The AGENTUPDATECDR channel variable
  2537. has also been removed, for the same reason.
  2538. * The endcall and enddtmf configuration options are removed. Use the
  2539. dialplan function CHANNEL(dtmf_features) to set DTMF features on the agent
  2540. channel before calling AgentLogin.
  2541. chan_bridge
  2542. ------------------
  2543. * chan_bridge has been removed. Its functionality has been incorporated
  2544. directly into the ConfBridge application itself.
  2545. chan_dahdi
  2546. ------------------
  2547. * Added the CLI command 'pri destroy span'. This will destroy the D-channel
  2548. of the specified span and its B-channels. Note that this command should
  2549. only be used if you understand the risks it entails.
  2550. * The CLI command 'dahdi destroy channel' is now 'dahdi destroy channels'.
  2551. A range of channels can be specified to be destroyed. Note that this command
  2552. should only be used if you understand the risks it entails.
  2553. * Added the CLI command 'dahdi create channels'. A range of channels can be
  2554. specified to be created, or the keyword 'new' can be used to add channels
  2555. not yet created.
  2556. * The script specified by the chan_dahdi.conf mwimonitornotify option now gets
  2557. the exact configured mailbox name. For app_voicemail mailboxes this is
  2558. mailbox@context.
  2559. * Added mwi_vm_boxes that also must be configured for ISDN MWI to be enabled.
  2560. chan_iax2
  2561. ------------------
  2562. * IPv6 support has been added. We are now able to bind to and
  2563. communicate using IPv6 addresses.
  2564. chan_local
  2565. ------------------
  2566. * The /b option has been removed.
  2567. * chan_local moved into the system core and is no longer a loadable module.
  2568. chan_mobile
  2569. ------------------
  2570. * Added general support for busy detection.
  2571. * Added ECAM command support for Sony Ericsson phones.
  2572. chan_pjsip
  2573. ------------------
  2574. * A new SIP channel driver for Asterisk, chan_pjsip is built on the PJSIP
  2575. SIP stack. A collection of resource modules provides the bulk of the SIP
  2576. functionality. For more information on the new SIP channel driver, see
  2577. https://wiki.asterisk.org/wiki/x/JYGLAQ
  2578. chan_sip
  2579. ------------------
  2580. * Added support for RFC 3327 "Path" headers. This can be enabled in sip.conf
  2581. using the 'supportpath' setting, either on a global basis or on a peer basis.
  2582. This setting enables Asterisk to route outgoing out-of-dialog requests via a
  2583. set of proxies by using a pre-loaded route-set defined by the Path headers in
  2584. the REGISTER request. See Realtime updates for more configuration information.
  2585. * The SIP_CODEC family of variables may now specify more than one codec. Each
  2586. codec must be separated by a comma. The first codec specified is the
  2587. preferred codec for the offer. This allows a dialplan writer to specify both
  2588. audio and video codecs, e.g., Set(SIP_CODEC=ulaw,h264)
  2589. * The 'callevents' parameter has been removed. Hold AMI events are now raised
  2590. in the core, and can be filtered out using the 'eventfilter' parameter
  2591. in manager.conf.
  2592. * Added 'ignore_requested_pref'. When enabled, this will use the preferred
  2593. codecs configured for a peer instead of the requested codec.
  2594. * The option "register_retry_403" has been added to chan_sip to work around
  2595. servers that are known to erroneously send 403 in response to valid
  2596. REGISTER requests and allows Asterisk to continue attepmting to connect.
  2597. chan_skinny
  2598. ------------------
  2599. * Added the 'immeddialkey' parameter. If set, when the user presses the
  2600. configured key the already entered number will be immediately dialed. This
  2601. is useful when the dialplan allows for variable length pattern matching.
  2602. Valid options are '*' and '#'.
  2603. * Added the 'callfwdtimeout' parameter. This configures the amount of time (in
  2604. milliseconds) before a call forward is considered to not be answered.
  2605. * The 'serviceurl' parameter allows Service URLs to be attached to line
  2606. buttons.
  2607. Functions
  2608. ------------------
  2609. AGENT
  2610. ------------------
  2611. * The password option has been disabled, as the AgentLogin application no
  2612. longer provides authentication.
  2613. AUDIOHOOK_INHERIT
  2614. ------------------
  2615. * Due to changes in the Asterisk core, this function is no longer needed to
  2616. preserve a MixMonitor on a channel during transfer operations and dialplan
  2617. execution. It is effectively obsolete.
  2618. CDR (function)
  2619. ------------------
  2620. * The 'amaflags' and 'accountcode' attributes for the CDR function are
  2621. deprecated. Use the CHANNEL function instead to access these attributes.
  2622. * The 'l' option has been removed. When reading a CDR attribute, the most
  2623. recent record is always used. When writing a CDR attribute, all non-finalized
  2624. CDRs are updated.
  2625. * The 'r' option has been removed, for the same reason as the 'l' option.
  2626. * The 's' option has been removed, as LOCKED semantics no longer exist in the
  2627. CDR engine.
  2628. CDR_PROP
  2629. ------------------
  2630. * A new function CDR_PROP has been added. This function lets you set properties
  2631. on a channel's active CDRs. This function is write-only. Properties accept
  2632. boolean values to set/clear them on the channel's CDRs. Valid properties
  2633. include:
  2634. - 'party_a' - make this channel the preferred Party A in any CDR between two
  2635. channels. If two channels have this property set, the creation time of the
  2636. channel is used to determine who is Party A. Note that dialed channels are
  2637. never Party A in a CDR.
  2638. - 'disable' - disable CDRs on this channel. This is analogous to the NoCDR
  2639. application when set to True, and analogous to the 'e' option in ResetCDR
  2640. when set to False.
  2641. CHANNEL
  2642. ------------------
  2643. * Added the argument 'dtmf_features'. This sets the DTMF features that will be
  2644. enabled on a channel when it enters a bridge. Allowed values are 'T', 'K',
  2645. 'H', 'W', and 'X', and are analogous to the parameters passed to the Dial
  2646. application.
  2647. * Added the argument 'after_bridge_goto'. This can be set to a parseable Goto
  2648. string, i.e., [[context],extension],priority. If set on a channel, if a
  2649. channel leaves a bridge but is not hung up it will resume dialplan execution
  2650. at that location.
  2651. JITTERBUFFER
  2652. ------------------
  2653. * JITTERBUFFER now accepts an argument of 'disabled' which can be used
  2654. to remove jitterbuffers previously set on a channel with JITTERBUFFER.
  2655. The value of this setting is ignored when disabled is used for the argument.
  2656. PJSIP_DIAL_CONTACTS
  2657. ------------------
  2658. * A new function provided by chan_pjsip, this function can be used in
  2659. conjunction with the Dial application to construct a dial string that will
  2660. dial all contacts on an Address of Record associated with a chan_pjsip
  2661. endpoint.
  2662. PJSIP_MEDIA_OFFER
  2663. ------------------
  2664. * Provided by chan_pjsip, this function sets the codecs to be offerred on the
  2665. outbound channel prior to dialing.
  2666. REDIRECTING
  2667. ------------------
  2668. * Redirecting reasons can now be set to arbitrary strings. This means
  2669. that the REDIRECTING dialplan function can be used to set the redirecting
  2670. reason to any string. It also allows for custom strings to be read as the
  2671. redirecting reason from SIP Diversion headers.
  2672. SPEECH_ENGINE
  2673. ------------------
  2674. * The SPEECH_ENGINE function now supports read operations. When read from, it
  2675. will return the current value of the requested attribute.
  2676. VMCOUNT:
  2677. ------------------
  2678. * Mailboxes defined by app_voicemail MUST be referenced by the rest of the
  2679. system as mailbox@context. The rest of the system cannot add @default
  2680. to mailbox identifiers for app_voicemail that do not specify a context
  2681. any longer. It is a mailbox identifier format that should only be
  2682. interpreted by app_voicemail.
  2683. Resources
  2684. ------------------
  2685. res_agi (Asterisk Gateway Interface)
  2686. ------------------
  2687. * The manager event AGIExec has been split into AGIExecStart and AGIExecEnd.
  2688. * The manager event AsyncAGI has been split into AsyncAGIStart, AsyncAGIExec,
  2689. and AsyncAGIEnd.
  2690. * The CONTROL STREAM FILE command now accepts an offsetms parameter. This
  2691. will start the playback of the audio at the position specified. It will
  2692. also return the final position of the file in 'endpos'.
  2693. * The CONTROL STREAM FILE command will now populate the CPLAYBACKSTATUS
  2694. channel variable if the user stopped the file playback or if a remote
  2695. entity stopped the playback. If neither stopped the playback, it will
  2696. indicate the overall success/failure of the playback. If stopped early,
  2697. the final offset of the file will be set in the CPLAYBACKOFFSET channel
  2698. variable.
  2699. * The SAY ALPHA command now accepts an additional parameter to control
  2700. whether it specifies the case of uppercase, lowercase, or all letters to
  2701. provide functionality similar to SayAlphaCase.
  2702. res_ari (Asterisk RESTful Interface) (and others)
  2703. ------------------
  2704. * The Asterisk RESTful Interface (ARI) provides a mechanism to expose and
  2705. control telephony primitives in Asterisk by remote client. This includes
  2706. channels, bridges, endpoints, media, and other fundamental concepts. Users
  2707. of ARI can develop their own communications applications, controlling
  2708. multiple channels using an HTTP RESTful interface and receiving JSON events
  2709. about the objects via a WebSocket connection. ARI can be configured in
  2710. Asterisk via ari.conf. For more information on ARI, see
  2711. https://wiki.asterisk.org/wiki/x/0YCLAQ
  2712. res_parking
  2713. -------------------
  2714. * Parking has been extracted from the Asterisk core as a loadable module,
  2715. res_parking. Configuration for parking is now provided by res_parking.conf.
  2716. Configuration through features.conf is no longer supported.
  2717. * res_parking uses the configuration framework. If an invalid configuration is
  2718. supplied, res_parking will fail to load or fail to reload. Previously,
  2719. invalid configurations would generally be accepted, with certain errors
  2720. resulting in individually disabled parking lots.
  2721. * Parked calls are now placed in bridges. While this is largely an
  2722. architectural change, it does have implications on how channels in a parking
  2723. lot are viewed. For example, commands that display channels in bridges will
  2724. now also display the channels in a parking lot.
  2725. * The order of arguments for the new parking applications have been modified.
  2726. Timeout and return context/exten/priority are now implemented as options,
  2727. while the name of the parking lot is now the first parameter. See the
  2728. application documentation for Park, ParkedCall, and ParkAndAnnounce for more
  2729. in-depth information as well as syntax.
  2730. * Extensions are by default no longer automatically created in the dialplan to
  2731. park calls or pickup parked calls. Generation of dialplan extensions can be
  2732. enabled using the 'parkext' configuration option.
  2733. * ADSI functionality for parking is no longer supported. The 'adsipark'
  2734. configuration option has been removed as a result.
  2735. * The PARKINGSLOT channel variable has been deprecated in favor of
  2736. PARKING_SPACE to match the naming scheme of the new system.
  2737. * PARKING_SPACE and PARKEDLOT channel variables will now be set for a parked
  2738. channel even when the configuration option 'comebactoorigin' is enabled.
  2739. * A new CLI command 'parking show' has been added. This allows a user to
  2740. inspect the parking lots that are currently in use.
  2741. 'parking show <parkinglot>' will also show the parked calls in a specific
  2742. parking lot.
  2743. * The CLI command 'parkedcalls' is now deprecated in favor of
  2744. 'parking show <parkinglot>'.
  2745. * The AMI command 'ParkedCalls' will now accept a 'ParkingLot' argument which
  2746. can be used to get a list of parked calls for a specific parking lot.
  2747. * The AMI command 'Park' field 'Channel2' has been deprecated and replaced
  2748. with 'TimeoutChannel'. If both 'Channel2' and 'TimeoutChannel' are
  2749. specified, 'TimeoutChannel' will be used. The field 'TimeoutChannel' is no
  2750. longer a required argument.
  2751. * The ParkAndAnnounce application is now provided through res_parking instead
  2752. of through the separate app_parkandannounce module.
  2753. * ParkAndAnnounce will no longer go to the next position in dialplan on timeout
  2754. by default. Instead, it will follow the timeout rules of the parking lot. The
  2755. old behavior can be reproduced by using the 'c' option.
  2756. * Dynamic parking lots will now fail to be created under the following
  2757. conditions:
  2758. - if the parking lot specified by PARKINGDYNAMIC does not exist
  2759. - if they require exclusive park and parkedcall extensions which overlap
  2760. with existing parking lots.
  2761. * Dynamic parking lots will be cleared on reload for dynamic parking lots that
  2762. currently contain no calls. Dynamic parking lots containing parked calls
  2763. will persist through the reloads without alteration.
  2764. * If 'parkext_exclusive' is set for a parking lot and that extension is
  2765. already in use when that parking lot tries to register it, this is now
  2766. considered a parking system configuration error. Configurations which do
  2767. this will be rejected.
  2768. * Added channel variable PARKER_FLAT. This contains the name of the extension
  2769. that would be used if 'comebacktoorigin' is enabled. This can be useful when
  2770. comebacktoorigin is disabled, but the dialplan or an external control
  2771. mechanism wants to use the extension in the park-dial context that was
  2772. generated to re-dial the parker on timeout.
  2773. res_pjsip (and many others)
  2774. ------------------
  2775. * A large number of resource modules make up the SIP stack based on pjsip.
  2776. The chan_pjsip channel driver users these resource modules to provide
  2777. various SIP functionality in Asterisk. The majority of configuration for
  2778. these modules is performed in pjsip.conf. Other modules may use their
  2779. own configuration files.
  2780. * Added 'set_var' option for an endpoint. For each variable specified that
  2781. variable gets set upon creation of a channel involving the endpoint.
  2782. res_rtp_asterisk
  2783. ------------------
  2784. * ICE/STUN/TURN support in res_rtp_asterisk has been made optional. To enable
  2785. them, an Asterisk-specific version of PJSIP needs to be installed.
  2786. Tarballs are available from https://github.com/asterisk/pjproject/tags/.
  2787. res_statsd/res_chan_stats
  2788. ------------------
  2789. * A new resource module, res_statsd, has been added, which acts as a statsd
  2790. client. This module allows Asterisk to publish statistics to a statsd
  2791. server. In conjunction with res_chan_stats, it will publish statistics about
  2792. channels to the statsd server. It can be configured via res_statsd.conf.
  2793. res_xmpp
  2794. ------------------
  2795. * Device state for XMPP buddies is now available using the following format:
  2796. XMPP/<client name>/<buddy address>
  2797. If any resource is available the device state is considered to be not in use.
  2798. If no resources exist or all are unavailable the device state is considered
  2799. to be unavailable.
  2800. Scripts
  2801. ------------------
  2802. Realtime/Database Scripts
  2803. ------------------
  2804. * Asterisk previously included example db schemas in the contrib/realtime/
  2805. directory of the source tree. This has been replaced by a set of database
  2806. migrations using the Alembic framework. This allows you to use alembic to
  2807. initialize the database for you. It will also serve as a database migration
  2808. tool when upgrading Asterisk in the future.
  2809. See contrib/ast-db-manage/README.md for more details.
  2810. sip_to_res_pjsip.py
  2811. -------------------
  2812. * A new script has been added in the contrib/scripts/sip_to_res_pjsip folder.
  2813. This python script will convert an existing sip.conf file to a
  2814. pjsip.conf file, for use with the chan_pjsip channel driver. This script
  2815. is meant to be an aid in converting an existing chan_sip configuration to
  2816. a chan_pjsip configuration, but it is expected that configuration beyond
  2817. what the script provides will be needed.
  2818. ------------------------------------------------------------------------------
  2819. --- Functionality changes from Asterisk 10 to Asterisk 11 --------------------
  2820. ------------------------------------------------------------------------------
  2821. Build System
  2822. -------------------
  2823. * The Asterisk build system will now build and install a shared library
  2824. (libasteriskssl.so) used to wrap various initialization and shutdown functions
  2825. from the libssl and libcrypto libraries provided by OpenSSL. This is done so
  2826. that Asterisk can ensure that these functions do *not* get called by any
  2827. modules that are loaded into Asterisk, since they should only be called once
  2828. in any single process. If desired, this feature can be disabled by supplying
  2829. the "--disable-asteriskssl" option to the configure script.
  2830. * A new make target, 'full', has been added to the Makefile. This performs
  2831. the same compilation actions as make all, but will also scan the entirety of
  2832. each source file for documentation. This option is needed to generate AMI
  2833. event documentation. Note that your system must have Python in order for
  2834. this make target to succeed.
  2835. * The optimization portion of the build system has been reworked to avoid
  2836. broken builds on certain architectures. All architecture-specific
  2837. optimization has been removed in favor of using -march=native to allow gcc
  2838. to detect the environment in which it is running when possible. This can
  2839. be toggled as BUILD_NATIVE under "Compiler Flags" in menuselect.
  2840. * BUILD_CFLAGS and BUILD_LDFLAGS can now be passed to menuselect, e.g.,
  2841. make BUILD_CFLAGS="whatever" BUILD_LDFLAGS="whatever"
  2842. * Remove "asterisk/version.h" in favor of "asterisk/ast_version.h". If you
  2843. previously parsed the header file to obtain the version of Asterisk, you
  2844. will now have to go through Asterisk to get the version information.
  2845. Applications
  2846. -------------------
  2847. Bridge
  2848. -------------------
  2849. * Added 'F()' option. Similar to the dial option, this can be supplied with
  2850. arguments indicating where the callee should go after the caller is hung up,
  2851. or without options specified, the priority after the Queue will be used.
  2852. ConfBridge
  2853. -------------------
  2854. * Added menu action admin_toggle_mute_participants. This will mute / unmute
  2855. all non-admin participants on a conference. The confbridge configuration
  2856. file also allows for the default sounds played to all conference users when
  2857. this occurs to be overriden using sound_participants_unmuted and
  2858. sound_participants_muted.
  2859. * Added menu action participant_count. This will playback the number of
  2860. current participants in a conference.
  2861. * Added announcement configuration option to user profile. If set the sound
  2862. file will be played to the user, and only the user, upon joining the
  2863. conference bridge.
  2864. * Added record_file_append option that defaults to "yes", but if set to no
  2865. will create a new file between each start/stop recording.
  2866. Dial
  2867. -------------------
  2868. * Added 'b' and 'B' options to Dial that execute a Gosub on callee and caller
  2869. channels respectively before the callee channels are called.
  2870. ExternalIVR
  2871. -------------------
  2872. * Added support for IPv6.
  2873. * Add interrupt ('I') command to ExternalIVR. Sending this command from an
  2874. external process will cause the current playlist to be cleared, including
  2875. stopping any audio file that is currently playing. This is useful when you
  2876. want to interrupt audio playback only when specific DTMF is entered by the
  2877. caller.
  2878. FollowMe
  2879. -------------------
  2880. * A new option, 'I' has been added to app_followme. By setting this option,
  2881. Asterisk will not update the caller with connected line changes when they
  2882. occur. This is similar to app_dial and app_queue.
  2883. * The 'N' option is now ignored if the call is already answered.
  2884. * Added 'b' and 'B' options to FollowMe that execute a Gosub on callee
  2885. and caller channels respectively before the callee channels are called.
  2886. * The winning FollowMe outgoing call is now put on hold if the caller put it on
  2887. hold.
  2888. MixMonitor
  2889. ------------------
  2890. * MixMonitor hooks now have IDs associated with them which can be used to
  2891. assign a target to StopMixMonitor. Use of MixMonitor's i(variable) option
  2892. will allow storage of the MixMontior ID in a channel variable. StopMixmonitor
  2893. now accepts that ID as an argument.
  2894. * Added 'm' option, which stores a copy of the recording as a voicemail in the
  2895. indicated mailboxes.
  2896. MySQL
  2897. -------------------
  2898. * The connect action in app_mysql now allows you to specify a port number to
  2899. connect to. This is useful if you run a MySQL server on a non-standard
  2900. port number.
  2901. OSP Applications
  2902. -------------------
  2903. * Increased the default number of allowed destinations from 5 to 12.
  2904. Page
  2905. -------------------
  2906. * The app_page application now no longer depends on DAHDI or app_meetme. It
  2907. has been re-architected to use app_confbridge internally.
  2908. Queue
  2909. -------------------
  2910. * Added queue options autopausebusy and autopauseunavail for automatically
  2911. pausing a queue member when their device reports busy or congestion.
  2912. * The 'ignorebusy' option for queue members has been deprecated in favor of
  2913. the option 'ringinuse. Also a 'queue set ringinuse' CLI command has been
  2914. added as well as an AMI action 'QueueMemberRingInUse' to set this variable on a
  2915. per interface basis. Individual ringinuse values can now be set in
  2916. queues.conf via an argument to member definitions. Lastly, the queue
  2917. 'ringinuse' setting now only determines defaults for the per member
  2918. 'ringinuse' setting and does not override per member settings like it does
  2919. in earlier versions.
  2920. * Added 'F()' option. Similar to the dial option, this can be supplied with
  2921. arguments indicating where the callee should go after the caller is hung up,
  2922. or without options specified, the priority after the Queue will be used.
  2923. * Added new option log_member_name_as_agent, which will cause the membername to
  2924. be logged in the agent field for ADDMEMBER and REMOVEMEMBER queue events if a
  2925. state_interface has been set.
  2926. * Add queue monitoring hints. exten => 8501,hint,Queue:markq.
  2927. * App_queue will now play periodic announcements for the caller that
  2928. holds the first position in the queue while waiting for answer.
  2929. SayUnixTime
  2930. ------------------
  2931. * Added 'j' option to SayUnixTime. SayUnixTime no longer auto jumps to extension
  2932. when receiving DTMF. Use the 'j' option to enable extension jumping. Also
  2933. changed arguments to SayUnixTime so that every option is truly optional even
  2934. when using multiple options (so that j option could be used without having to
  2935. manually specify timezone and format) There are other benefits, e.g., format
  2936. can now be used without specifying time zone as well.
  2937. Voicemail
  2938. ------------------
  2939. * Addition of the VM_INFO function - see Function changes.
  2940. * The imapserver, imapport, and imapflags configuration options can now be
  2941. overriden on a user by user basis.
  2942. * When voicemail plays a message's envelope with saycid set to yes, when
  2943. reaching the caller id field it will play a recording of a file with the same
  2944. base name as the sender's callerid if there is a similarly named file in
  2945. <astspooldir>/recordings/callerids/
  2946. * Voicemails now contains a unique message identifier "msg_id", which is stored
  2947. in the message envelope with the sound files. IMAP backends will now store
  2948. the message identifiers with a header of "X-Asterisk-VM-Message-ID". ODBC
  2949. backends will store the message identifier in a "msg_id" column. See
  2950. UPGRADE.txt for more information.
  2951. * Added VoiceMailPlayMsg application. This application will play a single
  2952. voicemail message from a mailbox. The result of the application, SUCCESS or
  2953. FAILED, is stored in the channel variable VOICEMAIL_PLAYBACKSTATUS.
  2954. Functions
  2955. ------------------
  2956. * Hangup handlers can be attached to channels using the CHANNEL() function.
  2957. Hangup handlers will run when the channel is hung up similar to the h
  2958. extension. The hangup_handler_push option will push a GoSub compatible
  2959. location in the dialplan onto the channel's hangup handler stack. The
  2960. hangup_handler_pop option will remove the last added location, and optionally
  2961. replace it with a new GoSub compatible location. The hangup_handler_wipe
  2962. option will remove all locations on the stack, and optionally add a new
  2963. location.
  2964. * The expression parser now recognizes the ABS() absolute value function,
  2965. which will convert negative floating point values to positive values.
  2966. * FAXOPT(faxdetect) will enable a generic fax detect framehook for dialplan
  2967. control of faxdetect.
  2968. * Addition of the VM_INFO function that can be used to retrieve voicemail
  2969. user information, such as the email address and full name.
  2970. The MAILBOX_EXISTS dialplan function has been deprecated in favour of
  2971. VM_INFO.
  2972. * The REDIRECTING function now supports the redirecting original party id
  2973. and reason.
  2974. * Two new functions have been added: FEATURE() and FEATUREMAP(). FEATURE()
  2975. lets you set some of the configuration options from the [general] section
  2976. of features.conf on a per-channel basis. FEATUREMAP() lets you customize
  2977. the key sequence used to activate built-in features, such as blindxfer,
  2978. and automon. See the built-in documentation for details.
  2979. * MESSAGE(from) for incoming SIP messages now returns "display-name" <uri>
  2980. instead of simply the uri. This is the format that MessageSend() can use
  2981. in the from parameter for outgoing SIP messages.
  2982. * Added the PRESENCE_STATE function. This allows retrieving presence state
  2983. information from any presence state provider. It also allows setting
  2984. presence state information from a CustomPresence presence state provider.
  2985. See AMI/CLI changes for related commands.
  2986. * Added the AMI_CLIENT function to make manager account attributes available
  2987. to the dialplan. It currently supports returning the current number of
  2988. active sessions for a given account.
  2989. * Added support for private party ID information to CALLERID, CONNECTEDLINE,
  2990. and the REDIRECTING functions.
  2991. Channel Drivers
  2992. ------------------
  2993. chan_local
  2994. ------------------
  2995. * Added a manager event "LocalBridge" for local channel call bridges between
  2996. the two pseudo-channels created.
  2997. chan_dahdi
  2998. ------------------
  2999. * Added dialtone_detect option for analog ports to disconnect incoming
  3000. calls when dialtone is detected.
  3001. * Added option colp_send to send ISDN connected line information. Allowed
  3002. settings are block, to not send any connected line information; connect, to
  3003. send connected line information on initial connect; and update, to send
  3004. information on any update during a call. Default is update.
  3005. * Add options namedcallgroup and namedpickupgroup to support installations
  3006. where a higher number of groups (>64) is required.
  3007. * Added support to use private party ID information with PRI calls.
  3008. chan_motif
  3009. ------------------
  3010. * A new channel driver named chan_motif has been added which provides support for
  3011. Google Talk and Jingle in a single channel driver. This new channel driver includes
  3012. support for both audio and video, RFC2833 DTMF, all codecs supported by Asterisk,
  3013. hold, unhold, and ringing notification. It is also compliant with the current Jingle
  3014. specification, current Google Jingle specification, and the original Google Talk
  3015. protocol.
  3016. chan_ooh323
  3017. ------------------
  3018. * Added NAT support for RTP. Setting in config is 'nat', which can be set
  3019. globally and overriden on a peer by peer basis.
  3020. * Direct media functionality has been added. Options in config are:
  3021. directmedia (directrtp) and directrtpsetup (earlydirect)
  3022. * ChannelUpdate events now contain a CallRef header.
  3023. chan_sip
  3024. ------------------
  3025. * Asterisk will no longer substitute CID number for CID name in the display
  3026. name field if CID number exists without a CID name. This change improves
  3027. compatibility with certain device features such as Avaya IP500's directory
  3028. lookup service.
  3029. * A new setting for autocreatepeer (autocreatepeer=persistent) allows peers
  3030. created using that setting to not be removed during SIP reload.
  3031. * Added settings recordonfeature and recordofffeature. When receiving an INFO
  3032. request with a "Record:" header, this will turn the requested feature on/off.
  3033. Allowed values are 'automon', 'automixmon', and blank to disable. Note that
  3034. dynamic features must be enabled and configured properly on the requesting
  3035. channel for this to function properly.
  3036. * Add support to realtime for the 'callbackextension' option.
  3037. * When multiple peers exist with the same address, but differing
  3038. callbackextension options, incoming requests that are matched by address
  3039. will be matched to the peer with the matching callbackextension if it is
  3040. available.
  3041. * Two new NAT options, auto_force_rport and auto_comedia, have been added
  3042. which set the force_rport and comedia options automatically if Asterisk
  3043. detects that an incoming SIP request crossed a NAT after being sent by
  3044. the remote endpoint.
  3045. * The default global nat setting in sip.conf has been changed from force_rport
  3046. to auto_force_rport.
  3047. * NAT settings are now a combinable list of options. The equivalent of the
  3048. deprecated nat=yes is nat=force_rport,comedia. nat=no behaves as before.
  3049. * Adds an option send_diversion which can be disabled to prevent
  3050. diversion headers from automatically being added to INVITE requests.
  3051. * Add support for lightweight NAT keepalive. If enabled a blank packet will
  3052. be sent to the remote host at a given interval to keep the NAT mapping open.
  3053. This can be enabled using the keepalive configuration option.
  3054. * Add option 'tonezone' to specify country code for indications. This option
  3055. can be set both globally and overridden for specific peers.
  3056. * The SIP Security Events Framework now supports IPv6.
  3057. * Add a new setting for directmedia, 'outgoing', to alleviate INVITE glares
  3058. between multiple user agents. When set, for directmedia reinvites,
  3059. Asterisk will not send an immediate reinvite on an incoming call leg. This
  3060. option is useful when peered with another SIP user agent that is known to
  3061. send immediate direct media reinvites upon call establishment.
  3062. * Add support for WebSocket transport. This can be configured using 'ws' or 'wss'
  3063. as the transport.
  3064. * Add options subminexpiry and submaxexpiry to set limits of subscription
  3065. timer independently from registration timer settings. The setting of the
  3066. registration timer limits still is done by options minexpiry, maxexpiry
  3067. and defaultexpiry. For backwards compatibility the setting of minexpiry
  3068. and maxexpiry also is used to configure the subscription timer limits if
  3069. subminexpiry and submaxexpiry are not set in sip.conf.
  3070. * Set registration timer limits to default values when reloading sip
  3071. configuration and values are not set by configuration.
  3072. * Add options namedcallgroup and namedpickupgroup to support installations
  3073. where a higher number of groups (>64) is required.
  3074. * When a MESSAGE request is received, the address the request was received from
  3075. is now saved in the SIP_RECVADDR variable.
  3076. * Add ANI2/OLI parsing for SIP. The "From" header in INVITE requests is now
  3077. parsed for the presence of "isup-oli", "ss7-oli", or "oli" tags. If present,
  3078. the ANI2/OLI information is set on the channel, which can be retrieved using
  3079. the CALLERID function.
  3080. * Peers can now be configured to support negotiation of ICE candidates using
  3081. the setting icesupport. See res_rtp_asterisk changes for more information.
  3082. * Added support for format attribute negotiation. See the Codecs changes for
  3083. more information.
  3084. * Extra headers specified with SIPAddHeader are sent with the REFER message
  3085. when using Transfer application. See refer_addheaders in sip.conf.sample.
  3086. * Added support to use private party ID information with calls.
  3087. * Adds an option discard_remote_hold_retrieval that when set stops telling
  3088. the peer to start music on hold.
  3089. chan_skinny
  3090. ------------------
  3091. * Added skinny version 17 protocol support.
  3092. chan_unistim
  3093. --------------------
  3094. * Added option 'dtmf_duration' allowing playback time of DTMF tones to be set
  3095. * Modified option 'date_format' to allow options to display date in 31Jan and Jan31
  3096. formats as options 0 and 1. The previous options 0 and 1 now map to options 2 and 3
  3097. as per the UNISTIM protocol.
  3098. * Fixed issues with dialtone not matching indications.conf and mute stopping rx
  3099. as well as tx. Also fixed issue with call "Timer" displaying as French "Dur\E9e"
  3100. * Added ability to use multiple lines for a single phone. This allows multiple
  3101. calls to occur on a single phone, using callwaiting and switching between calls.
  3102. * Added option 'sharpdial' allowing end dialing by pressing # key
  3103. * Added option 'interdigit_timer' to control phone dial timeout
  3104. * Added options 'cwstyle', 'cwvolume' controlling callwaiting appearance
  3105. * Added global 'debug' option, that enables debug in channel driver
  3106. * Added ability to translate on-screen menu in multiple languages. Tested on
  3107. Russian languages. Supported encodings: ISO 8859-1, ISO 8859-2, ISO 8859-4,
  3108. ISO 8859-5, ISO 2022-JP. Language controlled by 'language' and on-screen
  3109. menu of phone
  3110. * In addition to English added French and Russian languages for on-screen menus
  3111. * Reworked dialing number input: added dialing by timeout, immediate dial on
  3112. on dialplan compare, phone number length now not limited by screen size
  3113. * Added ability to pickup a call using features.conf defined value and
  3114. on-screen key
  3115. chan_mISDN:
  3116. ------------------
  3117. * Add options namedcallgroup and namedpickupgroup to support installations
  3118. where a higher number of groups (>64) is required.
  3119. * Added support to use private party ID information with calls.
  3120. Core
  3121. ------------------
  3122. * The minimum DTMF duration can now be configured in asterisk.conf
  3123. as "mindtmfduration". The default value is (as before) set to 80 ms.
  3124. (previously it was only available in source code)
  3125. * Named ACLs can now be specified in acl.conf and used in configurations that
  3126. use ACLs. As a general rule, if some derivative of 'permit' or 'deny' is
  3127. used to specify an ACL, a similar form of 'acl' will add a named ACL to the
  3128. working ACL. In addition, some CLI commands have been added to provide
  3129. show information and allow for module reloading - see CLI Changes.
  3130. * Rules in ACLs (specified using 'permit' and 'deny') can now contain multiple
  3131. items (separated by commas), and items in the rule can be negated by prefixing
  3132. them with '!'. This simplifies Asterisk Realtime configurations, since it is no
  3133. longer necessray to control the order that the 'permit' and 'deny' columns are
  3134. returned from queries.
  3135. * DUNDi now allows the built in variables ${NUMBER}, ${IPADDR} and ${SECRET} to
  3136. be used within the dynamic weight attribute when specifying a mapping.
  3137. * CEL backends can now be configured to show "USER_DEFINED" in the EventName
  3138. header, instead of putting the user defined event name there. When enabled
  3139. the UserDefType header is added for user defined events. This feature is
  3140. enabled with the setting show_user_defined.
  3141. * Macro has been deprecated in favor of GoSub. For redirecting and connected
  3142. line purposes use the following variables instead of their macro equivalents:
  3143. REDIRECTING_SEND_SUB, REDIRECTING_SEND_SUB_ARGS, CONNECTED_LINE_SEND_SUB,
  3144. CONNECTED_LINE_SEND_SUB_ARGS. For CCSS, use cc_callback_sub instead of
  3145. cc_callback_macro in channel configurations.
  3146. * Asterisk can now use a system-provided NetBSD editline library (libedit) if it
  3147. is available.
  3148. * Call files now support the "early_media" option to connect with an outgoing
  3149. extension when early media is received.
  3150. * Added support to use private party ID information with calls.
  3151. AGI
  3152. ------------------
  3153. * A new channel variable, AGIEXITONHANGUP, has been added which allows
  3154. Asterisk to behave like it did in Asterisk 1.4 and earlier where the
  3155. AGI application would exit immediately after a channel hangup is detected.
  3156. * IPv6 addresses are now supported when using FastAGI (agi://). Hostnames
  3157. are resolved and each address is attempted in turn until one succeeds or
  3158. all fail.
  3159. AMI (Asterisk Manager Interface)
  3160. ------------------
  3161. * The originate action now has an option "EarlyMedia" that enables the
  3162. call to bridge when we get early media in the call. Previously,
  3163. early media was disregarded always when originating calls using AMI.
  3164. * Added setvar= option to manager accounts (much like sip.conf)
  3165. * Originate now generates an error response if the extension given is not found
  3166. in the dialplan
  3167. * MixMonitor will now show IDs associated with the mixmonitor upon creating
  3168. them if the i(variable) option is used. StopMixMonitor will accept
  3169. MixMonitorID as an option to close specific MixMonitors.
  3170. * The SIPshowpeer manager action response field "SIP-Forcerport" has been
  3171. updated to include information about peers configured with
  3172. nat=auto_force_rport by returning "A" if auto_force_rport is set and nat is
  3173. detected, and "a" if it is set and nat is not detected. "Y" and "N" are still
  3174. returned if auto_force_rport is not enabled.
  3175. * Added SIPpeerstatus manager command which will generate PeerStatus events
  3176. similar to the existing PeerStatus events found in chan_sip on demand.
  3177. * Hangup now can take a regular expression as the Channel option. If you want
  3178. to hangup multiple channels, use /regex/ as the Channel option. Existing
  3179. behavior to hanging up a single channel is unchanged, but if you pass a regex,
  3180. the manager will send you a list of channels back that were hung up.
  3181. * Support for IPv6 addresses has been added.
  3182. * AMI Events can now be documented in the Asterisk source. Note that AMI event
  3183. documentation is only generated when Asterisk is compiled using 'make full'.
  3184. See the CLI section for commands to display AMI event information.
  3185. * The AMI Hangup event now includes the AccountCode header so you can easily
  3186. correlate with AMI Newchannel events.
  3187. * The QueueMemberStatus, QueueMemberAdded, and QueueMember events now include
  3188. the StateInterface of the queue member.
  3189. * Added AMI event SessionTimeout in the Call category that is issued when a
  3190. call is terminated due to either RTP stream inactivity or SIP session timer
  3191. expiration.
  3192. * CEL events can now contain a user defined header UserDefType. See core
  3193. changes for more information.
  3194. * OOH323 ChannelUpdate events now contain a CallRef header.
  3195. * Added PresenceState command. This command will report the presence state for
  3196. the given presence provider.
  3197. * Added Parkinglots command. This will list all parking lots as a series of
  3198. AMI Parkinglot events.
  3199. * Added MessageSend command. This behaves in the same manner as the
  3200. MessageSend application, and is a technolgoy agnostic mechanism to send out
  3201. of call text messages.
  3202. * Added "message" class authorization. This grants an account permission to
  3203. send out of call messages. Write-only.
  3204. CLI
  3205. -------------------
  3206. * The "dialplan add include" command has been modified to create context a context
  3207. if one does not already exist. For instance, "dialplan add include foo into bar"
  3208. will create context "bar" if it does not already exist.
  3209. * A "dialplan remove context" command has been added to remove a context from
  3210. the dialplan
  3211. * The "mixmonitor list <channel>" command will now show MixMonitor ID, and the
  3212. filenames of all running mixmonitors on a channel.
  3213. * The debug level of "pri set debug" is now a bitmask ranging from 0 to 15 if
  3214. numeric instead of 0, 1, or 2.
  3215. * "stun show status" will show a table describing how the STUN client is
  3216. behaving.
  3217. * "acl show [named acl]" will show information regarding a Named ACL. The
  3218. acl module can be reloaded with "reload acl".
  3219. * Added CLI command to display AMI event information - "manager show events",
  3220. which shows a list of all known and documented AMI events, and "manager show
  3221. event [event name]", which shows detail information about a specific AMI
  3222. event.
  3223. * The result of the CLI command "queue show" now includes the state interface
  3224. information of the queue member.
  3225. * The command "core set verbose" will now set a separate level of logging for
  3226. each remote console without affecting any other console.
  3227. * Added command "cdr show pgsql status" to check connection status
  3228. * "sip show channel" will now display the complete route set.
  3229. * Added "presencestate list" command. This command will list all custom
  3230. presence states that have been set by using the PRESENCE_STATE dialplan
  3231. function.
  3232. * Added "presencestate change <entity> <state>[,<subtype>[,message[,options]]]"
  3233. command. This changes a custom presence to a new state.
  3234. Codecs
  3235. -------------------
  3236. * Codec lists may now be modified by the '!' character, to allow succinct
  3237. specification of a list of codecs allowed and disallowed, without the
  3238. requirement to use two different keywords. For example, to specify all
  3239. codecs except g729 and g723, one need only specify allow=all,!g729,!g723.
  3240. * Add support for parsing SDP attributes, generating SDP attributes, and
  3241. passing it through. This support includes codecs such as H.263, H.264, SILK,
  3242. and CELT. You are able to set up a call and have attribute information pass.
  3243. This should help considerably with video calls.
  3244. * The iLBC codec can now use a system-provided iLBC library if one is installed,
  3245. just like the GSM codec.
  3246. DUNDi changes
  3247. -------------
  3248. * Added CLI commands dundi show hints and dundi show cache which will list DUNDi
  3249. 'DONTASK' hints in the cache and list all DUNDi cache entires respectively.
  3250. Logging
  3251. -------------------
  3252. * Asterisk version and build information is now logged at the beginning of a
  3253. log file.
  3254. * Threads belonging to a particular call are now linked with callids which get
  3255. added to any log messages produced by those threads. Log messages can now be
  3256. easily identified as involved with a certain call by looking at their call id.
  3257. Call ids may also be attached to log messages for just about any case where
  3258. it can be determined to be related to a particular call.
  3259. * Each logging destination and console now have an independent notion of the
  3260. current verbosity level. Logger.conf now allows an optional argument to
  3261. the 'verbose' specifier, indicating the level of verbosity sent to that
  3262. particular logging destination. Additionally, remote consoles now each
  3263. have their own verbosity level. The command 'core set verbose' will now set
  3264. a separate level for each remote console without affecting any other
  3265. console.
  3266. Music On Hold
  3267. -------------------
  3268. * Added 'announcement' option which will play at the start of MOH and between
  3269. songs in modes of MOH that can detect transitions between songs (eg.
  3270. files, mp3, etc).
  3271. Parking
  3272. -------------------
  3273. * New per parking lot options: comebackcontext and comebackdialtime. See
  3274. configs/features.conf.sample for more details.
  3275. * Channel variable PARKER is now set when comebacktoorigin is disabled in
  3276. a parking lot.
  3277. * Channel variable PARKEDCALL is now set with the name of the parking lot
  3278. when a timeout occurs.
  3279. CDRs
  3280. -------------------
  3281. CDR Postgresql Driver
  3282. -------------------
  3283. * Added command "cdr show pgsql status" to check connection status
  3284. CDR Adaptive ODBC Driver
  3285. -------------------
  3286. * Added schema option for databases that support specifying a schema.
  3287. Resource Modules
  3288. -------------------
  3289. Calendars
  3290. -------------------
  3291. * A CALENDAR_SUCCESS=1/0 channel variable is now set to show whether or not
  3292. CALENDAR_WRITE has completed successfully.
  3293. res_rtp_asterisk
  3294. -------------------
  3295. * A new option, 'probation' has been added to rtp.conf
  3296. RTP in strictrtp mode can now require more than 1 packet to exit learning
  3297. mode with a new source (and by default requires 4). The probation option
  3298. allows the user to change the required number of packets in sequence to any
  3299. desired value. Use a value of 1 to essentially restore the old behavior.
  3300. Also, with strictrtp on, Asterisk will now drop all packets until learning
  3301. mode has successfully exited. These changes are based on how pjmedia handles
  3302. media sources and source changes.
  3303. * Add support for ICE/STUN/TURN in res_rtp_asterisk. This option can be
  3304. enabled or disabled using the icesupport setting. A variety of other
  3305. settings have been introduced to configure STUN/TURN connections.
  3306. res_corosync
  3307. -------------------
  3308. * A new module, res_corosync, has been introduced. This module uses the
  3309. Corosync cluster enginer (http://www.corosync.org) to allow a local cluster
  3310. of Asterisk servers to both Message Waiting Indication (MWI) and/or
  3311. Device State (presence) information. This module is very similar to, and
  3312. is a replacement for the res_ais module that was in previous releases of
  3313. Asterisk.
  3314. res_xmpp
  3315. -------------------
  3316. * This module adds a cleaned up, drop-in replacement for res_jabber called
  3317. res_xmpp. This provides the same externally facing functionality but is
  3318. implemented differently internally. res_jabber has been deprecated in favor
  3319. of res_xmpp; please see the UPGRADE.txt file for more information.
  3320. Scripts
  3321. -------------------
  3322. * The safe_asterisk script has been updated to allow several of its parameters
  3323. to be set from environment variables. This also enables a custom run
  3324. directory of Asterisk to be specified, instead of defaulting to /tmp.
  3325. * The live_ast script will now look for the LIVE_AST_BASE_DIR variable and use
  3326. its value to determine the directory to assume is the top-level directory of
  3327. the source tree. If the variable is not set, it defaults to the current
  3328. behavior and uses the current working directory.
  3329. ------------------------------------------------------------------------------
  3330. --- Functionality changes from Asterisk 1.8 to Asterisk 10 -------------------
  3331. ------------------------------------------------------------------------------
  3332. Text Messaging
  3333. --------------
  3334. * Asterisk now has protocol independent support for processing text messages
  3335. outside of a call. Messages are routed through the Asterisk dialplan.
  3336. SIP MESSAGE and XMPP are currently supported. There are options in
  3337. jabber.conf and sip.conf to allow enabling these features.
  3338. -> jabber.conf: see the "sendtodialplan" and "context" options.
  3339. -> sip.conf: see the "accept_outofcall_message", "auth_message_requests"
  3340. and "outofcall_message_context" options.
  3341. The MESSAGE() dialplan function and MessageSend() application have been
  3342. added to go along with this functionality. More detailed usage information
  3343. can be found on the Asterisk wiki (http://wiki.asterisk.org/).
  3344. * If real-time text support (T.140) is negotiated, it will be preferred for
  3345. sending text via the SendText application. For example, via SIP, messages
  3346. that were once sent via the SIP MESSAGE request would be sent via RTP if
  3347. T.140 text is negotiated for a call.
  3348. Parking
  3349. -------
  3350. * parkedmusicclass can now be set for non-default parking lots.
  3351. Asterisk Manager Interface
  3352. --------------------------
  3353. * PeerStatus now includes Address and Port.
  3354. * Added Hold events for when the remote party puts the call on and off hold
  3355. for chan_dahdi ISDN channels.
  3356. * Added new action MeetmeListRooms to list active conferences (shows same
  3357. data as "meetme list" at the CLI).
  3358. * DAHDIShowChannels, SIPshowpeer, SIPpeers, and IAXpeers now contains a
  3359. Description field that is set by 'description' in the channel configuration
  3360. file.
  3361. * Added Uniqueid header to UserEvent.
  3362. * Added new action FilterAdd to control event filters for the current session.
  3363. This requires the system permission and uses the same filter syntax as
  3364. filters that can be defined in manager.conf
  3365. * The Unlink event is now a Bridge event with Bridgestatus: Unlink. Previous
  3366. versions had some instances of the event converted, but others were left
  3367. as-is. All Unlink events should now be converted to Bridge events. The AMI
  3368. protocol version number was incremented to 1.2 as a result of this change.
  3369. Asterisk HTTP Server
  3370. --------------------------
  3371. * The HTTP Server can bind to IPv6 addresses.
  3372. chan_dahdi
  3373. --------------------------
  3374. * Busy tone patterns featuring 2 silence and 2 tone lengths can now be used
  3375. with busydetect. usage example: busypattern=200,200,200,600
  3376. CLI Changes
  3377. --------------------------
  3378. * New 'gtalk show settings' command showing the current settings loaded from
  3379. gtalk.conf.
  3380. * The 'logger reload' command now supports an optional argument, specifying an
  3381. alternate configuration file to use.
  3382. * 'dialplan add extension' command will now automatically create a context if
  3383. the specified context does not exist with a message indicated it did so.
  3384. * 'sip show peers', 'iax show peers', and 'dahdi show peers' now contains a
  3385. Description field which can be populated with 'description' in the channel
  3386. configuration files (sip.conf, iax2.conf, and chan_dahdi.conf).
  3387. CDR
  3388. --------------------------
  3389. * The filter option in cdr_adaptive_odbc now supports negating the argument,
  3390. thus allowing records which do NOT match the specified filter.
  3391. * Added ability to log CONGESTION calls to CDR
  3392. CODECS
  3393. --------------------------
  3394. * Ability to define custom SILK formats in codecs.conf.
  3395. * Addition of speex32 audio format with translation.
  3396. * CELT codec pass-through support and ability to define
  3397. custom CELT formats in codecs.conf.
  3398. * Ability to read raw signed linear files with sample rates
  3399. ranging from 8khz - 192khz. The new file extensions introduced
  3400. are .sln12, .sln24, .sln32, .sln44, .sln48, .sln96, .sln192.
  3401. * Due to protocol limitations, channel drivers other than SIP (eg. IAX2, MGCP,
  3402. Skinny, H.323, etc) can still only support the following codecs:
  3403. Audio: ulaw, alaw, slin, slin16, g719, g722, g723, g726, g726aal2, g729, gsm,
  3404. siren7, siren14, speex, speex16, ilbc, lpc10, adpcm
  3405. Video: h261, h263, h263p, h264, mpeg4
  3406. Image: jpeg, png
  3407. Text: red, t140
  3408. ConfBridge
  3409. --------------------------
  3410. * New highly optimized and customizable ConfBridge application capable of
  3411. mixing audio at sample rates ranging from 8khz-96khz.
  3412. * CONFBRIDGE dialplan function capable of creating dynamic ConfBridge user
  3413. and bridge profiles on a channel.
  3414. * CONFBRIDGE_INFO dialplan function capable of retrieving information
  3415. about a conference such as locked status and number of parties, admins,
  3416. and marked users.
  3417. * Addition of video_mode option in confbridge.conf for adding video support
  3418. into a bridge profile.
  3419. * Addition of the follow_talker video_mode in confbridge.conf. This video
  3420. mode dynamically switches the video feed to always display the loudest talker
  3421. supplying video in the conference.
  3422. Dialplan Variables
  3423. ------------------
  3424. * Added ASTETCDIR, ASTMODDIR, ASTVARLIBDIR, ASTDBDIR, ASTKEYDIR, ASTDATADIR,
  3425. ASTAGIDIR, ASTSPOOLDIR, ASTRUNDIR, ASTLOGDIR which hold the equivalent
  3426. variables from asterisk.conf.
  3427. Dialplan Functions
  3428. ------------------
  3429. * Addition of the JITTERBUFFER dialplan function. This function allows
  3430. for jitterbuffering to occur on the read side of a channel. By using
  3431. this function conference applications such as ConfBridge and MeetMe can
  3432. have the rx streams jitterbuffered before conference mixing occurs.
  3433. * Added DB_KEYS, which lists the next set of keys in the Asterisk database
  3434. hierarchy.
  3435. * Added STRREPLACE function. This function let's the user search a variable
  3436. for a given string to replace with another string as many times as the
  3437. user specifies or just throughout the whole string.
  3438. * Added option to CHANNEL(pickupgroup) allow reading and setting the pickupgroup of channel.
  3439. * Mark VALID_EXTEN() deprecated in favor of DIALPLAN_EXISTS()
  3440. * Added extensions to chan_ooh323 in function CHANNEL()
  3441. libpri channel driver (chan_dahdi) DAHDI changes
  3442. --------------------------
  3443. * Added moh_signaling option to specify what to do when the channel's bridged
  3444. peer puts the ISDN channel on hold.
  3445. * Added display_send and display_receive options to control how the display ie
  3446. is handled. To send display text from the dialplan use the SendText()
  3447. application when the option is enabled.
  3448. * Added mcid_send option to allow sending a MCID request on a span.
  3449. Calendaring
  3450. --------------------------
  3451. * Added setvar option to calendar.conf to allow setting channel variables on
  3452. notification channels.
  3453. * Added "calendar show types" CLI command to list registered calendar
  3454. connectors.
  3455. MixMonitor
  3456. --------------------------
  3457. * Added two new options, r and t with file name arguments to record
  3458. single direction (unmixed) audio recording separate from the bidirectional
  3459. (mixed) recording. The mixed file name argument is optional now as long
  3460. as at least one recording option is used.
  3461. FollowMe
  3462. --------------------------
  3463. * Added a new option, l, which will disable local call optimization for
  3464. channels involved with the FollowMe thread. Use this option to improve
  3465. compatability for a FollowMe call with certain dialplan apps, options, and
  3466. functions.
  3467. Meetme
  3468. --------------------------
  3469. * Added option "k" that will automatically close the conference when there's
  3470. only one person left when a user exits the conference.
  3471. CEL
  3472. --------------------------
  3473. * cel_pgsql now supports the 'extra' column for data added using the
  3474. CELGenUserEvent() application.
  3475. pbx_lua
  3476. --------------------------
  3477. * Support for defining hints has been added to pbx_lua. See the 'hints' table
  3478. in the sample extensions.lua file for syntax details.
  3479. * Applications that perform jumps in the dialplan such as Goto will now
  3480. execute properly. When pbx_lua detects that the context, extension, or
  3481. priority we are executing on has changed it will immediately return control
  3482. to the asterisk PBX engine. Currently the engine cannot detect a Goto to
  3483. the priority after the currently executing priority.
  3484. * An autoservice is now started by default for pbx_lua channels. It can be
  3485. stopped and restarted using the autoservice_stop() and autoservice_start()
  3486. functions.
  3487. res_fax
  3488. --------------------------
  3489. * The ReceiveFAXStatus and SendFAXStatus manager events have been consolidated
  3490. into a FAXStatus event with an 'Operation' header that will be either
  3491. 'send', 'receive', and 'gateway'.
  3492. * T.38 gateway functionality has been added to res_fax (and res_fax_spandsp).
  3493. Set FAXOPT(gateway)=yes to enable this functionality on a channel. This
  3494. feature will handle converting a fax call between an audio T.30 fax terminal
  3495. and an IFP T.38 fax terminal.
  3496. SIP Changes
  3497. -----------
  3498. * Add T38 support for REJECTED state where T.38 Negotiation is explicitly rejected.
  3499. * Add option encryption_taglen to set auth taglen only 32 and 80 are supported currently.
  3500. * SIP now generates security events using the Security Events Framework for REGISTER and INVITE.
  3501. Queue changes
  3502. -------------
  3503. * Added general option negative_penalty_invalid default off. when set
  3504. members are seen as invalid/logged out when there penalty is negative.
  3505. for realtime members when set remove from queue will set penalty to -1.
  3506. * Added queue option autopausedelay when autopause is enabled it will be
  3507. delayed for this number of seconds since last successful call if there
  3508. was no prior call the agent will be autopaused immediately.
  3509. * Added member option ignorebusy this when set and ringinuse is not
  3510. will allow per member control of multiple calls as ringinuse does for
  3511. the Queue.
  3512. Applications
  3513. ------------
  3514. * Added 'v' option to MeetMe to play voicemail greetings when a user joins/leaves
  3515. a MeetMe conference
  3516. * Added 'k' option to MeetMe to automatically kill the conference when there's only
  3517. one participant left (much like a normal call bridge)
  3518. * Added extra argument to Originate to set timeout.
  3519. Asterisk Database
  3520. -----------------
  3521. * The internal Asterisk database has been switched from Berkeley DB 1.86 to
  3522. SQLite 3. An existing Berkeley astdb file can be converted with the astdb2sqlite3
  3523. utility in the UTILS section of menuselect. If an existing astdb is found and no
  3524. astdb.sqlite3 exists, astdb2sqlite3 will be compiled automatically. Asterisk will
  3525. convert an existing astdb to the SQLite3 version automatically at runtime.
  3526. Asterisk Modules
  3527. ----------------
  3528. * Modules marked as deprecated are no longer marked as building by default. Enabling
  3529. these modules is still available via menuselect.
  3530. IAX2 Changes
  3531. ------------
  3532. * authdebug is now disabled by default. To enable this functionaility again
  3533. set authdebug = yes in iax.conf.
  3534. RTP Changes
  3535. -----------
  3536. * The rtp.conf setting "strictrtp" is now enabled by default. In previous
  3537. releases it was disabled.
  3538. PBX Core
  3539. --------
  3540. * The PBX core previously made a call with a non-existing extension test for
  3541. extension s@default and jump there if the extension existed.
  3542. This was a bad default behaviour and violated the principle of least surprise.
  3543. It has therefore been changed in this release. It may affect some
  3544. applications and configurations that rely on this behaviour. Most channel
  3545. drivers have avoided this for many releases by testing whether the extension
  3546. called exists before starting the PBX and generating a local error.
  3547. This behaviour still exists and works as before.
  3548. Extension "s" is used when no extension is given in a channel driver,
  3549. like immediate answer in DAHDI or calling to a domain with no user part
  3550. in a SIP uri.
  3551. ------------------------------------------------------------------------------
  3552. --- Functionality changes from Asterisk 1.6.2 to Asterisk 1.8 ----------------
  3553. ------------------------------------------------------------------------------
  3554. SIP Changes
  3555. -----------
  3556. * Due to potential username discovery vulnerabilities, the 'nat' setting in sip.conf
  3557. now defaults to force_rport. It is very important that phones requiring nat=no be
  3558. specifically set as such instead of relying on the default setting. If at all
  3559. possible, all devices should have nat settings configured in the general section as
  3560. opposed to configuring nat per-device.
  3561. * Added preferred_codec_only option in sip.conf. This feature limits the joint
  3562. codecs sent in response to an INVITE to the single most preferred codec.
  3563. * Added SIP_CODEC_OUTBOUND dialplan variable which can be used to set the codec
  3564. to be used for the outgoing call. It must be one of the codecs configured
  3565. for the device.
  3566. * Added tlsprivatekey option to sip.conf. This allows a separate .pem file
  3567. to be used for holding a private key. If tlsprivatekey is not specified,
  3568. tlscertfile is searched for both public and private key.
  3569. * Added tlsclientmethod option to sip.conf. This allows the protocol for
  3570. outbound client connections to be specified.
  3571. * The sendrpid parameter has been expanded to include the options
  3572. 'rpid' and 'pai'. Setting sendrpid to 'rpid' will cause Remote-Party-ID
  3573. header to be sent (equivalent to setting sendrpid=yes) and setting
  3574. sendrpid to 'pai' will cause P-Asserted-Identity header to be sent.
  3575. * The 'ignoresdpversion' behavior has been made automatic when the SDP received
  3576. is in response to a T.38 re-INVITE that Asterisk initiated. In this situation,
  3577. since the call will fail if Asterisk does not process the incoming SDP, Asterisk
  3578. will accept the SDP even if the SDP version number is not properly incremented,
  3579. but will generate a warning in the log indicating that the SIP peer that sent
  3580. the SDP should have the 'ignoresdpversion' option set.
  3581. * The 'nat' option has now been been changed to have yes, no, force_rport, and
  3582. comedia as valid values. Setting it to yes forces RFC 3581 behavior and enables
  3583. symmetric RTP support. Setting it to no only enables RFC 3581 behavior if the
  3584. remote side requests it and disables symmetric RTP support. Setting it to
  3585. force_rport forces RFC 3581 behavior and disables symmetric RTP support.
  3586. Setting it to comedia enables RFC 3581 behavior if the remote side requests it
  3587. and enables symmetric RTP support.
  3588. * Slave SIP channels now set HASH(SIP_CAUSE,<slave-channel-name>) on each
  3589. response. This permits the master channel to know how each channel dialled
  3590. in a multi-channel setup resolved in an individual way. This carries a
  3591. performance penalty and can be disabled in sip.conf using the
  3592. 'storesipcause' option.
  3593. * Added 'externtcpport' and 'externtlsport' options to allow custom port
  3594. configuration for the externip and externhost options when tcp or tls is used.
  3595. * Added support for message body (stored in content variable) to SIP NOTIFY message
  3596. accessible via AMI and CLI.
  3597. * Added 'media_address' configuration option which can be used to explicitly specify
  3598. the IP address to use in the SDP for media (audio, video, and text) streams.
  3599. * Added 'unsolicited_mailbox' configuration option which specifies the virtual mailbox
  3600. that the new/old count should be stored on if an unsolicited MWI NOTIFY message is
  3601. received.
  3602. * Added 'use_q850_reason' configuration option for generating and parsing
  3603. if available Reason: Q.850;cause=<cause code> header. It is implemented
  3604. in some gateways for better passing PRI/SS7 cause codes via SIP.
  3605. * When dialing SIP peers, a new component may be added to the end of the dialstring
  3606. to indicate that a specific remote IP address or host should be used when dialing
  3607. the particular peer. The dialstring format is SIP/peer/exten/host_or_IP.
  3608. * SRTP SDES support for encrypting calls to/from Asterisk over SIP. The
  3609. ability to selectively force bridged channels to also be encrypted is also
  3610. implemented. Branching in the dialplan can be done based on whether or not
  3611. a channel has secure media and/or signaling.
  3612. * Added directmediapermit/directmediadeny to limit which peers can send direct media
  3613. to each other
  3614. * Added the 'snom_aoc_enabled' option to turn on support for sending Advice of
  3615. Charge messages to snom phones.
  3616. * Added support for G.719 media streams.
  3617. * Added support for 16khz signed linear media streams.
  3618. * SIP is now able to bind to and communicate with IPv6 addresses. In addition,
  3619. RTP has been outfitted with the same abilities.
  3620. * Added support for setting the Max-Forwards: header in SIP requests. Setting is
  3621. available in device configurations as well as in the dial plan.
  3622. * Addition of the 'subscribe_network_change' option for turning on and off
  3623. res_stun_monitor module support in chan_sip.
  3624. * Addition of the 'auth_options_requests' option for turning on and off
  3625. authentication for OPTIONS requests in chan_sip.
  3626. Configuration files
  3627. -------------------
  3628. * Add #tryinclude statement for config files. This provides the same
  3629. functionality as the #include statement however an asterisk module will
  3630. still load if the filename does not exist. Using the #include statement
  3631. Asterisk will not allow the module to load.
  3632. IAX2 Changes
  3633. -----------
  3634. * Added rtsavesysname option into iax.conf to allow the systname to be saved
  3635. on realtime updates.
  3636. * Added the ability for chan_iax2 to inform the dialplan whether or not
  3637. encryption is being used. This interoperates with the SIP SRTP implementation
  3638. so that a secure SIP call can be bridged to a secure IAX call when the
  3639. dialplan requires bridged channels to be "secure".
  3640. * Addition of the 'subscribe_network_change' option for turning on and off
  3641. res_stun_monitor module support in chan_iax.
  3642. MGCP Changes
  3643. ------------
  3644. * Added ability to preset channel variables on indicated lines with the setvar
  3645. configuration option. Also, clearvars=all resets the list of variables back
  3646. to none.
  3647. * PacketCable NCS 1.0 support has been added for Docsis/Eurodocsis Networks.
  3648. See configs/res_pktccops.conf for more information.
  3649. XMPP Google Talk/Jingle changes
  3650. -------------------------------
  3651. * Added the externip option to gtalk.conf.
  3652. * Added the stunaddr option to gtalk.conf which allows for the automatic
  3653. retrieval of the external ip from a stun server.
  3654. Applications
  3655. ------------
  3656. * Added 'p' option to PickupChan() to allow for picking up channel by the first
  3657. match to a partial channel name.
  3658. * Added .m3u support for Mp3Player application.
  3659. * Added progress option to the app_dial D() option. When progress DTMF is
  3660. present, those values are sent immediately upon receiving a PROGRESS message
  3661. regardless if the call has been answered or not.
  3662. * Added functionality to the app_dial F() option to continue with execution
  3663. at the current location when no parameters are provided.
  3664. * Added the 'a' option to app_dial to answer the calling channel before any
  3665. announcements or macros are executed.
  3666. * Modified app_dial to set answertime when the called channel answers even if
  3667. the called channel hangs up during playback of an announcement.
  3668. * Modified app_dial 'r' option to support an additional parameter to play an
  3669. indication tone from indications.conf
  3670. * Added c() option to app_chanspy. This option allows custom DTMF to be set
  3671. to cycle through the next available channel. By default this is still '*'.
  3672. * Added x() option to app_chanspy. This option allows DTMF to be set to
  3673. exit the application.
  3674. * The Voicemail application has been improved to automatically ignore messages
  3675. that only contain silence.
  3676. * If you set maxmsg to 0 in voicemail.conf, Voicemail will consider the
  3677. associated mailbox(es) to be greetings-only.
  3678. * The ChanSpy application now has the 'S' option, which makes the application
  3679. automatically exit once it hits a point where no more channels are available
  3680. to spy on.
  3681. * The ChanSpy application also now has the 'E' option, which spies on a single
  3682. channel and exits when that channel hangs up.
  3683. * The MeetMe application now turns on the DENOISE() function by default, for
  3684. each participant. In our tests, this has significantly decreased background
  3685. noise (especially noisy data centers).
  3686. * Voicemail now permits storage of secrets in a separate file, located in the
  3687. spool directory of each individual user. The control for this is located in
  3688. the "passwordlocation" option in voicemail.conf. Please see the sample
  3689. configuration for more information.
  3690. * The ChanIsAvail application now exposes the returned cause code using a separate
  3691. variable, AVAILCAUSECODE, instead of overwriting the device state in AVAILSTATUS.
  3692. * Added 'd' option to app_followme. This option disables the "Please hold"
  3693. announcement.
  3694. * Added 'y' option to app_record. This option enables a mode where any DTMF digit
  3695. received will terminate recording.
  3696. * Voicemail now supports per mailbox settings for folders when using IMAP storage.
  3697. Previously the folder could only be set per context, but has now been extended
  3698. using the imapfolder option.
  3699. * Voicemail now supports per mailbox settings for nextaftercmd and minsecs.
  3700. * Voicemail now allows the pager date format to be specified separately from the
  3701. email date format.
  3702. * New applications JabberJoin, JabberLeave, and JabberSendGroup have been added
  3703. to allow joining, leaving, and sending text to group chats.
  3704. * MeetMe has a new option 'G' to play an announcement before joining a conference.
  3705. * Page has a new option 'A(x)' which will playback an announcement simultaneously
  3706. to all paged phones (and optionally excluding the caller's one using the new
  3707. option 'n') before the call is bridged.
  3708. * The 'f' option to Dial has been augmented to take an optional argument. If no
  3709. argument is provided, the 'f' option works as it always has. If an argument is
  3710. provided, then the connected party information of all outgoing channels created
  3711. during the Dial will be set to the argument passed to the 'f' option.
  3712. * Dial now inherits the GOSUB_RETVAL from the peer, when the U() option runs a
  3713. Gosub on the peer.
  3714. * The OSP lookup application adds in/outbound network ID, optional security,
  3715. number portability, QoS reporting, destination IP port, custom info and service
  3716. type features.
  3717. * Added new application VMSayName that will play the recorded name of the voicemail
  3718. user if it exists, otherwise will play the mailbox number.
  3719. * Added custom device states to ConfBridge bridges. Use 'confbridge:<name>' to
  3720. retrieve state for a particular bridge, where <name> is the conference name
  3721. * app_directory now allows exiting at any time using the operator or pound key.
  3722. * Voicemail now supports setting a locale per-mailbox.
  3723. * Two new applications are provided for declining counting phrases in multiple
  3724. languages. See the application notes for SayCountedNoun and SayCountedAdj for
  3725. more information.
  3726. * Voicemail now runs the externnotify script when pollmailboxes is activated and
  3727. notices a change.
  3728. * Voicemail now includes rdnis within msgXXXX.txt file.
  3729. * ExternalIVR now supports IPv6 addresses.
  3730. * Added 'D' command to ExternalIVR. Details are available on the Asterisk wiki
  3731. at https://wiki.asterisk.org/wiki/x/oQBB
  3732. * ParkedCall and Park can now specify the parking lot to use.
  3733. Dialplan Functions
  3734. ------------------
  3735. * SRVQUERY and SRVRESULT functions added. This can be used to query and iterate
  3736. over SRV records associated with a specific service. From the CLI, type
  3737. 'core show function SRVQUERY' and 'core show function SRVRESULT' for more
  3738. details on how these may be used.
  3739. * PITCH_SHIFT dialplan function added. This function can be used to modify the
  3740. pitch of a channel's tx and rx audio streams.
  3741. * Added new dialplan functions CONNECTEDLINE and REDIRECTING which permits
  3742. setting various connected line and redirecting party information.
  3743. * CALLERID and CONNECTEDLINE dialplan functions have been extended to
  3744. support ISDN subaddressing.
  3745. * The CHANNEL() function now supports the "name" and "checkhangup" options.
  3746. * For DAHDI channels, the CHANNEL() dialplan function now allows
  3747. the dialplan to request changes in the configuration of the active
  3748. echo canceller on the channel (if any), for the current call only.
  3749. The syntax is:
  3750. exten => s,n,Set(CHANNEL(echocan_mode)=off)
  3751. The possible values are:
  3752. on - normal mode (the echo canceller is actually reinitialized)
  3753. off - disabled
  3754. fax - FAX/data mode (NLP disabled if possible, otherwise completely
  3755. disabled)
  3756. voice - voice mode (returns from FAX mode, reverting the changes that
  3757. were made when FAX mode was requested)
  3758. * Added new dialplan function MASTER_CHANNEL(), which permits retrieving
  3759. and setting variables on the channel which created the current channel.
  3760. Administrators should take care to avoid naming conflicts, when multiple
  3761. channels are dialled at once, especially when used with the Local channel
  3762. construct (which all could set variables on the master channel). Usage
  3763. of the HASH() dialplan function, with the key set to the name of the slave
  3764. channel, is one approach that will avoid conflicts.
  3765. * Added new dialplan function MUTEAUDIO() for muting inbound and/or outbound
  3766. audio in a channel.
  3767. * func_odbc now allows multiple row results to be retrieved without using
  3768. mode=multirow. If rowlimit is set, then additional rows may be retrieved
  3769. from the same query by using the name of the function which retrieved the
  3770. first row as an argument to ODBC_FETCH().
  3771. * Added JABBER_RECEIVE, which permits receiving XMPP messages from the
  3772. dialplan. This function returns the content of the received message.
  3773. * Added REPLACE, which searches a given variable name for a set of characters,
  3774. then either replaces them with a single character or deletes them.
  3775. * Added PASSTHRU, which literally passes the same argument back as its return
  3776. value. The intent is to be able to use a literal string argument to
  3777. functions that currently require a variable name as an argument.
  3778. * HASH-associated variables now can be inherited across channel creation, by
  3779. prefixing the name of the hash at assignment with the appropriate number of
  3780. underscores, just like variables.
  3781. * GROUP_MATCH_COUNT has been improved to allow regex matching on category
  3782. * CHANNEL(secure_bridge_signaling) and CHANNEL(secure_bridge_media) to set/get
  3783. whether or not channels that are bridged to the current channel will be
  3784. required to have secure signaling and/or media.
  3785. * CHANNEL(secure_signaling) and CHANNEL(secure_media) to get whether or not
  3786. the current channel has secure signaling and/or media.
  3787. * For DAHDI/ISDN channels, the CHANNEL() dialplan function now supports the
  3788. "no_media_path" option.
  3789. Returns "0" if there is a B channel associated with the call.
  3790. Returns "1" if no B channel is associated with the call. The call is either
  3791. on hold or is a call waiting call.
  3792. * Added option to dialplan function CDR(), the 'f' option
  3793. allows for high resolution times for billsec and duration fields.
  3794. * FILE() now supports line-mode and writing.
  3795. * Added FIELDNUM(), which returns the 1-based offset of a field in a list.
  3796. * FRAME_TRACE(), for tracking internal ast_frames on a channel.
  3797. Dialplan Variables
  3798. ------------------
  3799. * Added DYNAMIC_FEATURENAME which holds the last triggered dynamic feature.
  3800. * Added DYNAMIC_PEERNAME which holds the unique channel name on the other side
  3801. and is set when a dynamic feature is triggered.
  3802. * Added PARKINGLOT which can be used with parkeddynamic feature.conf option
  3803. to dynamically create a new parking lot matching the value this varible is
  3804. set to.
  3805. * Added PARKINGDYNAMIC which represents the template parkinglot defined in
  3806. features.conf that should be the base for dynamic parkinglots.
  3807. * Added PARKINGDYNCONTEXT which tells what context a newly created dynamic
  3808. parkinglot should have.
  3809. * Added PARKINGDYNEXTEN which tells what parking exten a newly created dynamic
  3810. parkinglot should have.
  3811. * Added PARKINGDYNPOS which holds what parking positions a dynamic parkinglot
  3812. should have.
  3813. Queue changes
  3814. -------------
  3815. * Added "ready" option to QUEUE_MEMBER counting to count free agents whose wrap-up
  3816. timeout has expired.
  3817. * Added 'R' option to app_queue. This option stops moh and indicates ringing
  3818. to the caller when an Agent's phone is ringing. This can be used to indicate
  3819. to the caller that their call is about to be picked up, which is nice when
  3820. one has been on hold for an extened period of time.
  3821. * A new config option, penaltymemberslimit, has been added to queues.conf.
  3822. When set this option will disregard penalty settings when a queue has too
  3823. few members.
  3824. * A new option, 'I' has been added to both app_queue and app_dial.
  3825. By setting this option, Asterisk will not update the caller with
  3826. connected line changes or redirecting party changes when they occur.
  3827. * A 'relative-periodic-announce' option has been added to queues.conf. When
  3828. enabled, this option will cause periodic announce times to be calculated
  3829. from the end of announcements rather than from the beginning.
  3830. * The autopause option in queues.conf can be passed a new value, "all." The
  3831. result is that if a member becomes auto-paused, he will be paused in all
  3832. queues for which he is a member, not just the queue that failed to reach
  3833. the member.
  3834. * Added dialplan function QUEUE_EXISTS to check if a queue exists
  3835. * The queue logger now allows events to optionally propagate to a file,
  3836. even when realtime logging is turned on. Additionally, realtime logging
  3837. supports sending the event arguments to 5 individual fields, although it
  3838. will fallback to the previous data definition, if the new table layout is
  3839. not found.
  3840. mISDN channel driver (chan_misdn) changes
  3841. ----------------------------------------
  3842. * Added display_connected parameter to misdn.conf to put a display string
  3843. in the CONNECT message containing the connected name and/or number if
  3844. the presentation setting permits it.
  3845. * Added display_setup parameter to misdn.conf to put a display string
  3846. in the SETUP message containing the caller name and/or number if the
  3847. presentation setting permits it.
  3848. * Made misdn.conf parameters localdialplan and cpndialplan take a -1 to
  3849. indicate the dialplan settings are to be obtained from the asterisk
  3850. channel.
  3851. * Made misdn.conf parameter callerid accept the "name" <number> format
  3852. used by the rest of the system.
  3853. * Made use the nationalprefix and internationalprefix misdn.conf
  3854. parameters to prefix any received number from the ISDN link if that
  3855. number has the corresponding Type-Of-Number. NOTE: This includes
  3856. comparing the incoming call's dialed number against the MSN list.
  3857. * Added the following new parameters: unknownprefix, netspecificprefix,
  3858. subscriberprefix, and abbreviatedprefix in misdn.conf to prefix any
  3859. received number from the ISDN link if that number has the corresponding
  3860. Type-Of-Number.
  3861. * Added new dialplan application misdn_command which permits controlling
  3862. the CCBS/CCNR functionality.
  3863. * Added new dialplan function mISDN_CC which permits retrieval of various
  3864. values from an active call completion record.
  3865. * For PTP, you should manually send the COLR of the redirected-to party
  3866. for an incomming redirected call if the incoming call could experience
  3867. further redirects. Just set the REDIRECTING(to-num,i) = ${EXTEN} and
  3868. set the REDIRECTING(to-pres) to the COLR. A call has been redirected
  3869. if the REDIRECTING(from-num) is not empty.
  3870. * For outgoing PTP redirected calls, you now need to use the inhibit(i)
  3871. option on all of the REDIRECTING statements before dialing the
  3872. redirected-to party. You still have to set the REDIRECTING(to-xxx,i)
  3873. and the REDIRECTING(from-xxx,i) values. The PTP call will update the
  3874. redirecting-to presentation (COLR) when it becomes available.
  3875. * Added outgoing_colp parameter to misdn.conf to filter outgoing COLP
  3876. information.
  3877. thirdparty mISDN enhancements
  3878. -----------------------------
  3879. mISDN has been modified by Digium, Inc. to greatly expand facility message
  3880. support to allow:
  3881. * Enhanced COLP support for call diversion and transfer.
  3882. * CCBS/CCNR support.
  3883. The latest modified mISDN v1.1.x based version is available at:
  3884. http://svn.digium.com/svn/thirdparty/mISDN/trunk
  3885. http://svn.digium.com/svn/thirdparty/mISDNuser/trunk
  3886. Tagged versions of the modified mISDN code are available under:
  3887. http://svn.digium.com/svn/thirdparty/mISDN/tags
  3888. http://svn.digium.com/svn/thirdparty/mISDNuser/tags
  3889. libpri channel driver (chan_dahdi) DAHDI changes
  3890. -------------------------------------------
  3891. * The channel variable PRIREDIRECTREASON is now just a status variable
  3892. and it is also deprecated. Use the REDIRECTING(reason) dialplan function
  3893. to read and alter the reason.
  3894. * For Q.SIG and ETSI PRI/BRI-PTP, you should manually send the COLR of the
  3895. redirected-to party for an incomming redirected call if the incoming call
  3896. could experience further redirects. Just set the
  3897. REDIRECTING(to-num,i) = CALLERID(dnid) and set the REDIRECTING(to-pres)
  3898. to the COLR. A call has been redirected if the REDIRECTING(count) is not
  3899. zero.
  3900. * For outgoing Q.SIG and ETSI PRI/BRI-PTP redirected calls, you need to
  3901. use the inhibit(i) option on all of the REDIRECTING statements before
  3902. dialing the redirected-to party. You still have to set the
  3903. REDIRECTING(to-xxx,i) and the REDIRECTING(from-xxx,i) values. The call
  3904. will update the redirecting-to presentation (COLR) when it becomes available.
  3905. * Added the ability to ignore calls that are not in a Multiple Subscriber
  3906. Number (MSN) list for PTMP CPE interfaces.
  3907. * Added dynamic range compression support for dahdi channels. It is
  3908. configured via the rxdrc and txdrc parameters in chan_dahdi.conf.
  3909. * Added support for ISDN calling and called subaddress with partial support
  3910. for connected line subaddress.
  3911. * Added support for BRI PTMP NT mode. (Requires latest LibPRI.)
  3912. * Added handling of received HOLD/RETRIEVE messages and the optional ability
  3913. to transfer a held call on disconnect similar to an analog phone.
  3914. * Added CallRerouting/CallDeflection support for Q.SIG, ETSI PTP, ETSI PTMP.
  3915. Will reroute/deflect an outgoing call when receive the message.
  3916. Can use the DAHDISendCallreroutingFacility to send the message for the
  3917. supported switches.
  3918. * Added standard location to add options to chan_dahdi dialing:
  3919. Dial(DAHDI/g1[/extension[/options]])
  3920. Current options:
  3921. K(<keypad_digits>)
  3922. R Reverse charging indication
  3923. * Added Reverse Charging Indication (Collect calls) send/receive option.
  3924. Send reverse charging in SETUP message with the chan_dahdi R dialing option.
  3925. Dial(DAHDI/g1/extension/R)
  3926. Access received reverse charge in SETUP message by: ${CHANNEL(reversecharge)}
  3927. (requires latest LibPRI)
  3928. * Added ability to send/receive keypad digits in the SETUP message.
  3929. Send keypad digits in SETUP message with the chan_dahdi K(<keypad_digits>)
  3930. dialing option. Dial(DAHDI/g1/[extension]/K(<keypad_digits>))
  3931. Access any received keypad digits in SETUP message by: ${CHANNEL(keypad_digits)}
  3932. (requires latest LibPRI)
  3933. * Added ability to send and receive ETSI Explicit Call Transfer (ECT) messages
  3934. to eliminate tromboned calls. A tromboned call goes out an interface and comes
  3935. back into the same interface. Tromboned calls happen because of call routing,
  3936. call deflection, call forwarding, and call transfer.
  3937. * Added the ability to send and receive ETSI Advice-Of-Charge messages.
  3938. * Added the ability to support call waiting calls. (The SETUP has no B channel
  3939. assigned.)
  3940. * Added Malicious Call ID (MCID) event to the AMI call event class.
  3941. * Added Message Waiting Indication (MWI) support for ISDN PTMP endpoints (phones).
  3942. Asterisk Manager Interface
  3943. --------------------------
  3944. * The Hangup action now accepts a Cause header which may be used to
  3945. set the channel's hangup cause.
  3946. * sslprivatekey option added to manager.conf and http.conf. Adds the ability
  3947. to specify a separate .pem file to hold a private key. By default sslcert
  3948. is used to hold both the public and private key.
  3949. * Options in manager.conf and http.conf with the 'ssl' prefix have been replaced
  3950. for options containing the 'tls' prefix. For example, 'sslenable' is now
  3951. 'tlsenable'. This has been done in effort to keep ssl and tls options consistent
  3952. across all .conf files. All affected sample.conf files have been modified to
  3953. reflect this change. Previous options such as 'sslenable' still work,
  3954. but options with the 'tls' prefix are preferred.
  3955. * Added a MuteAudio AMI action for muting inbound and/or outbound audio
  3956. in a channel. (res_mutestream.so)
  3957. * The configuration file manager.conf now supports a channelvars option, which
  3958. specifies a list of channel variables to include in each channel-oriented
  3959. event.
  3960. * The redirect command now has new parameters ExtraContext, ExtraExtension,
  3961. and ExtraPriority to allow redirecting the second channel to a different
  3962. location than the first.
  3963. * Added new event "JabberStatus" in the Jabber module to monitor buddies
  3964. status.
  3965. * Added a "MixMonitorMute" AMI action for muting inbound and/or outbound audio
  3966. in a MixMonitor recording.
  3967. * The 'iax2 show peers' output is now similar to the expected output of
  3968. 'sip show peers'.
  3969. * Added Advice-Of-Charge events (AOC-S, AOC-D, and AOC-E) in the new
  3970. aoc event class.
  3971. * Added Advice-Of-Charge manager action, AOCMessage, for generating AOC-D and
  3972. AOC-E messages on a channel.
  3973. * A DBGetComplete event now follows a DBGetResponse, to make the DBGet action
  3974. conform more closely to similar events.
  3975. * Added a new eventfilter option per user to allow whitelisting and blacklisting
  3976. of events.
  3977. * Added optional parkinglot variable for park command.
  3978. * Added ConnectedLineNum and ConnectedLineName headers to AMI events/responses
  3979. if CallerIDNum and CallerIDName headers are also present.
  3980. Channel Event Logging
  3981. ---------------------
  3982. * A new interface, CEL, is introduced here. CEL logs single events, much like
  3983. the AMI, but it differs from the AMI in that it logs to db backends much
  3984. like CDR does; is based on the event subsystem introduced by Russell, and
  3985. can share in all its benefits; allows multiple backends to operate like CDR;
  3986. is specialized to event data that would be of concern to billing sytems,
  3987. like CDR. Backends for logging and accounting calls have been produced,
  3988. but a new CDR backend is still in development.
  3989. CDR
  3990. ---
  3991. * 'linkedid' and 'peeraccount' are new CDR fields available to CDR aficionados.
  3992. linkedid is based on uniqueID, but spreads to other channels as transfers, dials,
  3993. etc are performed. Thus the pieces of CDR can be grouped into multilegged sets.
  3994. * Multiple files and formats can now be specified in cdr_custom.conf.
  3995. * cdr_syslog has been added which allows CDRs to be written directly to syslog.
  3996. See configs/cdr_syslog.conf.sample for more information.
  3997. * A 'sequence' field has been added to CDRs which can be combined with
  3998. linkedid or uniqueid to uniquely identify a CDR.
  3999. * Handling of billsec and duration field has changed. If your table definition
  4000. specifies those fields as float,double or similar they will now be logged with
  4001. microsecond accuracy instead of a whole integer.
  4002. Calendaring for Asterisk
  4003. ------------------------
  4004. * A new set of modules were added supporing calendar integration with Asterisk.
  4005. Dialplan functions for reading from and writing to calendars are included,
  4006. as well as the ability to execute dialplan logic upon calendar event notifications.
  4007. iCalendar, CalDAV, and Exchange Server calendars (via res_calendar_exchange for
  4008. Exchange Server 2003 with no write or attendee support, and res_calendar_ews for
  4009. Exchange Server 2007+ with full write and attendee support) are supported (Exchange
  4010. 2003 support does not support forms-based authentication).
  4011. Call Completion Supplementary Services for Asterisk
  4012. ---------------------------------------------------
  4013. * Call completion support has been added for SIP, DAHDI/ISDN, and DAHDI/analog.
  4014. DAHDI/ISDN supports call completion for the following switch types:
  4015. EuroIsdn(ETSI) for PTP and PTMP modes, and Qsig.
  4016. See https://wiki.asterisk.org/wiki/x/2ABQ for details.
  4017. Multicast RTP Support
  4018. ---------------------
  4019. * A new RTP engine and channel driver have been added which supports Multicast RTP.
  4020. The channel driver can be used with the Page application to perform multicast RTP
  4021. paging. The dial string format is: MulticastRTP/<type>/<destination>/<control address>
  4022. Type can be either basic or linksys.
  4023. Destination is the IP address and port for the RTP packets.
  4024. Control address is specific to the linksys type and is used for sending the control
  4025. packets unique to them.
  4026. Security Events Framework
  4027. -------------------------
  4028. * Asterisk has a new C API for reporting security events. The module res_security_log
  4029. sends these events to the "security" logger level. Currently, AMI is the only
  4030. Asterisk component that reports security events. However, SIP support will be
  4031. coming soon. For more information on the security events framework, see the
  4032. "Asterisk Security Framework" section of the Asterisk wiki at
  4033. https://wiki.asterisk.org/wiki/x/wgBQ
  4034. * SIP support was added in Asterisk 10
  4035. * This API now supports IPv6 addresses
  4036. Fax
  4037. ---
  4038. * A technology independent fax frontend (res_fax) has been added to Asterisk.
  4039. * A spandsp based fax backend (res_fax_spandsp) has been added.
  4040. * The app_fax module has been deprecated in favor of the res_fax module and
  4041. the new res_fax_spandsp backend.
  4042. * The SendFAX and ReceiveFAX applications now send their log messages to a
  4043. 'fax' logger level, instead of to the generic logger levels. To see these
  4044. messages, the system's logger.conf file will need to direct the 'fax' logger
  4045. level to one or more destinations; the logger.conf.sample file includes an
  4046. example of how to do this. Note that if the 'fax' logger level is *not*
  4047. directed to at least one destination, log messages generated by these
  4048. applications will be lost, and that if the 'fax' logger level is directed to
  4049. the console, the 'core set verbose' and 'core set debug' CLI commands will
  4050. have no effect on whether the messages appear on the console or not.
  4051. Miscellaneous
  4052. -------------
  4053. * The transmit_silence_during_record option in asterisk.conf.sample has been removed.
  4054. Now, in order to enable transmitting silence during record the transmit_silence
  4055. option should be used. transmit_silence_during_record remains a valid option, but
  4056. defaults to the behavior of the transmit_silence option.
  4057. * Addition of the Unit Test Framework API for managing registration and execution
  4058. of unit tests with the purpose of verifying the operation of C functions.
  4059. * SendText is now implemented in chan_gtalk and chan_jingle. It will simply send
  4060. XMPP text messages to the remote JID.
  4061. * Modules.conf has a new option - "require" - that marks a module as critical for
  4062. the execution of Asterisk.
  4063. If one of the required modules fail to load, Asterisk will exit with a return
  4064. code set to 2.
  4065. * An 'X' option has been added to the asterisk application which enables #exec support.
  4066. This allows #exec to be used in asterisk.conf.
  4067. * jabber.conf supports a new option auth_policy that toggles auto user registration.
  4068. * A new lockconfdir option has been added to asterisk.conf to protect the
  4069. configuration directory (/etc/asterisk by default) during reloads.
  4070. * The parkeddynamic option has been added to features.conf to enable the creation
  4071. of dynamic parkinglots.
  4072. * chan_dahdi now supports reporting alarms over AMI either by channel or span via
  4073. the reportalarms config option.
  4074. * chan_dahdi supports dialing configuring and dialing by device file name.
  4075. DAHDI/span-name!local!1 will use /dev/dahdi/span-name/local/1 . Likewise
  4076. it may appear in chan_dahdi.conf as 'channel => span-name!local!1'.
  4077. * A new options for chan_dahdi.conf: 'ignore_failed_channels'. Boolean.
  4078. False by default. If set, chan_dahdi will ignore failed 'channel' entries.
  4079. Handy for the above name-based syntax as it does not depend on
  4080. initialization order.
  4081. * The Realtime dialplan switch now caches entries for 1 second. This provides a
  4082. significant increase in performance (about 3X) for installations using this switchtype.
  4083. * Distributed devicestate now supports the use of the XMPP protocol, in addition to
  4084. AIS. For more information, please see the Distributed Device State section of the
  4085. Asterisk wiki at https://wiki.asterisk.org/wiki/x/jw4iAQ
  4086. * The addition of G.719 pass-through support.
  4087. * Added support for 16khz Speex audio. This can be enabled by using 'allow=speex16'
  4088. during device configuration.
  4089. * The UNISTIM channel driver (chan_unistim) has been updated to support devices that
  4090. have less than 3 lines on the LCD.
  4091. * Realtime now supports database failover. See the sample extconfig.conf for details.
  4092. * The addition of improved translation path building for wideband codecs. Sample
  4093. rate changes during translation are now avoided unless absolutely necessary.
  4094. * The addition of the res_stun_monitor module for monitoring and reacting to network
  4095. changes while behind a NAT.
  4096. * DTMF: Normal and Reverse Twist acceptance values can be set in dsp.conf.
  4097. DTMF Valid/Invalid number of hits/misses can be set in dsp.conf.
  4098. These allow support for any Administration. Default is AT&T values.
  4099. CLI Changes
  4100. -----------
  4101. * The 'core set debug' and 'core set verbose' commands, in previous versions, could
  4102. optionally accept a filename, to apply the setting only to the code generated from
  4103. that source file when Asterisk was built. However, there are some modules in Asterisk
  4104. that are composed of multiple source files, so this did not result in the behavior
  4105. that users expected. In this version, 'core set debug' and 'core set verbose'
  4106. can optionally accept *module* names instead (with or without the .so extension),
  4107. which applies the setting to the entire module specified, regardless of which source
  4108. files it was built from.
  4109. * New 'manager show settings' command showing the current settings loaded from
  4110. manager.conf.
  4111. * Added 'all' keyword to the CLI command "channel request hangup" so that you can send
  4112. the channel hangup request to all channels.
  4113. * Added a "core reload" CLI command that executes a global reload of Asterisk.
  4114. ------------------------------------------------------------------------------
  4115. --- Functionality changes from Asterisk 1.6.1 to Asterisk 1.6.2 -------------
  4116. ------------------------------------------------------------------------------
  4117. SIP Changes
  4118. -----------
  4119. * Added support for SUBSCRIBE/NOTIFY with dialog-info based call pickups.
  4120. Snom phones use this for call pickup of extensions that the phone is
  4121. subscribed to.
  4122. * Added support for setting the domain in the URI for caller of an
  4123. outbound call by using the SIPFROMDOMAIN channel variable.
  4124. * Added a new configuration option "remotesecret" for authentication to
  4125. remote services. For backwards compatibility, "secret" still has the
  4126. same function as before, but now you can configure both a remote secret and a
  4127. local secret for mutual authentication.
  4128. * If the channel variable ATTENDED_TRANSFER_COMPLETE_SOUND is set,
  4129. the sound will be played to the target of an attended transfer
  4130. * Added two new configuration options, "qualifygap" and "qualifypeers", which allow
  4131. finer control over how many peers Asterisk will qualify and the gap between them
  4132. when all peers need to be qualified at the same time.
  4133. * Added a new 'ignoresdpversion' option to sip.conf. When this is enabled
  4134. (either globally or for a specific peer), chan_sip will treat any SDP data
  4135. it receives as new data and update the media stream accordingly. By
  4136. default, Asterisk will only modify the media stream if the SDP session
  4137. version received is different from the current SDP session version. This
  4138. option is required to interoperate with devices that have non-standard SDP
  4139. session version implementations (observed with Microsoft OCS). This option
  4140. is disabled by default.
  4141. * The parsing of register => lines in sip.conf has been modified to allow a port
  4142. to be present in the "user" portion. Please see the sip.conf.sample file for more
  4143. information
  4144. * Added support for subscribing to MWI on a remote server and making the status available
  4145. as a mailbox. Please see the sip.conf.sample file for more information.
  4146. * Added a function to remove SIP headers added in the dialplan before the
  4147. first INVITE is generated - SIPRemoveHeader()
  4148. * Channel variables set with setvar= in a device configuration is now
  4149. set both for inbound and outbound calls.
  4150. * Added support for ITU G.722.1 and G.722.1C (Siren7 and Siren14) media streams.
  4151. IAX2 changes
  4152. ------------
  4153. * Added immediate option to iax.conf
  4154. * Added forceencryption option to iax.conf
  4155. * Added Encryption and Trunk status to manager command "iaxpeers"
  4156. Skinny Changes
  4157. --------------
  4158. * The configuration file now holds separate sections for devices and lines.
  4159. Please have a look at configs/skinny.conf.sample and change your skinny.conf
  4160. accordingly.
  4161. DAHDI Changes
  4162. -------------
  4163. * chan_dahdi now supports MFC/R2 signaling when Asterisk is compiled with
  4164. support for LibOpenR2. http://www.libopenr2.org/
  4165. * The UK option waitfordialtone has been added for use with BT analog
  4166. lines.
  4167. * Added a 'faxbuffers' configuration option to chan_dahdi.conf. This option
  4168. is used in conjunction with the 'faxdetect' configuration option. When
  4169. 'faxbuffers' is used and fax tones are detected, the channel will dynamically
  4170. switch to the configured faxbuffers policy. For example, to use 6 buffers
  4171. and a 'full' buffer policy for a fax transmission, add:
  4172. faxbuffers=>6,full
  4173. The faxbuffers configuration will be in affect until the call is torn down.
  4174. * Added service message support for 4ESS/5ESS switches.
  4175. Dialplan Functions
  4176. ------------------
  4177. * For DAHDI channels, the CHANNEL() dialplan function now
  4178. supports changing the channel's buffer policy (for the current
  4179. call only), using this syntax:
  4180. exten => s,n,Set(CHANNEL(buffers)=6,full)
  4181. This would change the channel to the 'full' buffer policy and
  4182. 6 (six) buffers. Possible options for this setting are the same
  4183. as those in chan_dahdi.conf.
  4184. * Added a new dialplan function, CURLOPT, which permits setting various
  4185. options that may be useful with the CURL dialplan function, such as
  4186. cookies, proxies, connection timeouts, passwords, etc.
  4187. * Permit the syntax and synopsis fields of the corresponding dialplan
  4188. functions to be individually set from func_odbc.conf.
  4189. * Added debugging CLI functions to func_odbc, 'odbc read' and 'odbc write'.
  4190. * func_odbc now may specify an insert query to execute, when the write query
  4191. affects 0 rows (usually indicating that no such row exists).
  4192. * Added a new dialplan function, LISTFILTER, which permits removing elements
  4193. from a set list, by name. Uses the same general syntax as the existing CUT
  4194. and FIELDQTY dialplan functions, which also manage lists.
  4195. * Added REALTIME_FIELD and REALTIME_HASH, which should aid users in better
  4196. obtaining realtime data from the dialplan.
  4197. * Added LOCAL_PEEK, which allows access to variables in any stack frame within
  4198. a subroutine when using the GoSub() and Return() applications.
  4199. * Added AUDIOHOOK_INHERIT. For information on its use, please see the output
  4200. of "core show function AUDIOHOOK_INHERIT" from the CLI
  4201. * Added AES_ENCRYPT. For information on its use, please see the output
  4202. of "core show function AES_ENCRYPT" from the CLI
  4203. * Added AES_DECRYPT. For information on its use, please see the output
  4204. of "core show function AES_DECRYPT" from the CLI
  4205. * func_odbc now supports database transactions across multiple queries.
  4206. Applications
  4207. ------------
  4208. * Scheduled meetme conferences may now have their end times extended by
  4209. using MeetMeAdmin.
  4210. * app_authenticate now gives the ability to select a prompt other than
  4211. the default.
  4212. * app_directory now pays attention to the searchcontexts setting in
  4213. voicemail.conf and will look through all contexts, if no context is
  4214. specified in the initial argument.
  4215. * A new application, Originate, has been introduced, that allows asynchronous
  4216. call origination from the dialplan.
  4217. * Voicemail now permits setting the emailsubject and emailbody per mailbox,
  4218. in addition to the setting in the "general" context.
  4219. * Added ConfBridge dialplan application which does conference bridges without
  4220. DAHDI. For information on its use, please see the output of
  4221. "core show application ConfBridge" from the CLI.
  4222. Miscellaneous
  4223. -------------
  4224. * The Asterisk CLI has a new command, "channel redirect", which is similar in
  4225. operation to the AMI Redirect action.
  4226. * extensions.conf now allows you to use keyword "same" to define an extension
  4227. without actually specifying an extension. It uses exactly the same pattern
  4228. as previously used on the last "exten" line. For example:
  4229. exten => 123,1,NoOp(something)
  4230. same => n,SomethingElse()
  4231. * musiconhold.conf classes of type 'files' can now use relative directory paths,
  4232. which are interpreted as relative to the astvarlibdir setting in asterisk.conf.
  4233. * All deprecated CLI commands are removed from the sourcecode. They are now handled
  4234. by the new clialiases module. See cli_aliases.conf.sample file.
  4235. * Times within timespecs are now accurate down to the minute. This is a change
  4236. from historical Asterisk, which only provided timespecs rounded to the nearest
  4237. even (read: evenly divisible by 2) minute mark.
  4238. * The realtime switch now supports an option flag, 'p', which disables searches for
  4239. pattern matches.
  4240. * In addition to a time range and date range, timespecs now accept a 5th optional
  4241. argument, timezone. This allows you to perform time checks on alternate
  4242. timezones, especially if those daylight savings time ranges vary from your
  4243. machine's native timezone. See GotoIfTime, ExecIfTime, IFTIME(), and timed
  4244. includes.
  4245. * The contrib/scripts/ directory now has a script called sip_nat_settings that will
  4246. give you the correct output for an asterisk box behind nat. It will give you the
  4247. externhost and localnet settings.
  4248. * The Asterisk core now supports ITU G.722.1 and G.722.1C media streams, and
  4249. can connect calls in passthrough mode, as well as record and play back files.
  4250. * Successful and unsuccessful call pickup can now be alerted through sounds, by
  4251. using pickupsound and pickupfailsound in features.conf.
  4252. * ASTVARRUNDIR is now set to $(localstatedir)/run/asterisk by default.
  4253. This means the asterisk pid file will now be in /var/run/asterisk/asterisk.pid on LINUX
  4254. instead of the /var/run/asterisk.pid where it used to be. This will make
  4255. installs as non-root easier to manage.
  4256. CDR
  4257. ---
  4258. * The cdr.conf file must exist and be correctly programmed in order for CDR records to
  4259. be written; they will no longer be explicitly written.
  4260. Asterisk Manager Interface
  4261. --------------------------
  4262. * When using the AMI over HTTP, you can now include a 'SuppressEvents' header (with
  4263. a non-empty value) in your request. If you do this, any pending AMI events will
  4264. *not* be included in the response to your request as they would normally, but
  4265. will be left in the event queue for the next request you make to retrieve. For
  4266. some applications, this will allow you to guarantee that you will only see
  4267. events in responses to 'WaitEvent' actions, and can better know when to expect them.
  4268. To know whether the Asterisk server supports this header or not, your client can
  4269. inspect the first response back from the server to see if it includes this header:
  4270. Pragma: SuppressEvents
  4271. If this is included, the server supports event suppression.
  4272. * Added 4 new Actions to list skinny device(s) and line(s)
  4273. SKINNYdevices
  4274. SKINNYshowdevice
  4275. SKINNYlines
  4276. SKINNYshowline
  4277. LDAP Schema File Additions
  4278. --------------------------
  4279. * Added AsteriskDialplan, AsteriskAccount and AsteriskMailbox objectClasses
  4280. to allow standalone dialplan, account and mailbox entries (STRUCTURAL)
  4281. * Added new Fields:
  4282. - AstAccountLanguage, AstAccountTransport, AstAccountPromiscRedir,
  4283. - AstAccountAccountCode, AstAccountSetVar, AstAccountAllowOverlap,
  4284. - AstAccountVideoSupport, AstAccountIgnoreSDPVersion
  4285. * Removed redundant IPaddr (there's already IPAddress)
  4286. - Gives more configuration Flags for SIP-Users available (tested)
  4287. - Allows to create Asterisk Attributes in defined Asterisk ObjectClasses
  4288. without extensibleObject (which really should be the last resort); gives
  4289. also additional possibilities for LDAP-filter
  4290. ------------------------------------------------------------------------------
  4291. --- Functionality changes from Asterisk 1.6.0 to Asterisk 1.6.1 -------------
  4292. ------------------------------------------------------------------------------
  4293. Device State Handling
  4294. ---------------------
  4295. * The event infrastructure in Asterisk got another big update to help support
  4296. distributed events. It currently supports distributed device state and
  4297. distributed Voicemail MWI (Message Waiting Indication). A new module has
  4298. been merged, res_ais, which facilitates communicating events between servers.
  4299. It uses the SAForum AIS (Service Availability Forum Application Interface
  4300. Specification) CLM (Cluster Management) and EVT (Event) services to maintain
  4301. a cluster of Asterisk servers, and to share events between them. For more
  4302. information on setting this up, refer to the Distributed Device State section
  4303. of the Asterisk wiki at https://wiki.asterisk.org/wiki/x/jw4iAQ
  4304. Dialplan Functions
  4305. ------------------
  4306. * Added a new dialplan function, AST_CONFIG(), which allows you to access
  4307. variables from an Asterisk configuration file.
  4308. * The JACK_HOOK function now has a c() option to supply a custom client name.
  4309. * Added two new dialplan functions from libspeex for audio gain control and
  4310. denoise, AGC() and DENOISE(). Both functions can be applied to the tx and
  4311. rx directions of a channel from the dialplan.
  4312. * The SMDI_MSG_RETRIEVE function now has the ability to search for SMDI messages
  4313. based on other parameters. The default is still to search based on the
  4314. forwarding station ID. However, there are new options that allow you to search
  4315. based on the message desk terminal ID, or the message desk number.
  4316. * TIMEOUT() has been modified to be accurate down to the millisecond.
  4317. * ENUM*() functions now include the following new options:
  4318. - 'u' returns the full URI and does not strip off the URI-scheme.
  4319. - 's' triggers ISN specific rewriting
  4320. - 'i' looks for branches into an Infrastructure ENUM tree
  4321. - 'd' for a direct DNS lookup without any flipping of digits.
  4322. * TXCIDNAME() has a new zone-suffix parameter (which defaults to 'e164.arpa')
  4323. * CHANNEL() now has options for the maximum, minimum, and standard or normal
  4324. deviation of jitter, rtt, and loss for a call using chan_sip.
  4325. DAHDI channel driver (chan_dahdi) Changes
  4326. ----------------------------------------
  4327. * Channels can now be configured using named sections in chan_dahdi.conf, just
  4328. like other channel drivers, including the use of templates.
  4329. * The default for pridialplan has changed from 'national' to 'unknown'.
  4330. PBX Changes
  4331. -----------
  4332. * It is now possible to specify a pattern match as a hint. Once a phone subscribes
  4333. to something that matches the pattern a hint will be created using the contents
  4334. and variables evaluated.
  4335. * Dialplan matching has been extended to allow an extension to return to the
  4336. PBX core to wait for more digits. This is done by using the new dialplan
  4337. application called "Incomplete". This will permit a whole new level of
  4338. extension control, by giving the administrator more control over early
  4339. matches employing one of the short-circuit pattern match operators. Note
  4340. that custom applications can trigger this same behavior by returning the
  4341. special value AST_PBX_INCOMPLETE.
  4342. Application Changes
  4343. -------------------
  4344. * Directory now permits both first and last names to be matched at the same
  4345. time. In addition, the number of digits to enter of the name can be set in
  4346. the arguments to Directory; previously, you could enter only 3, regardless
  4347. of how many names are in your company. For large companies, this should be
  4348. quite helpful.
  4349. * Voicemail now permits a mailbox setting to wrap around from first to last
  4350. messages, if the "messagewrap" option is set to a true value.
  4351. * Voicemail now permits an external script to be run, for password validation.
  4352. The script should output "VALID" or "INVALID" on stdout, depending upon the
  4353. wish to validate or invalidate the password given. Arguments are:
  4354. "mailbox" "context" "oldpass" "newpass". See the sample voicemail.conf for
  4355. more details
  4356. * Dial has a new option: F(context^extension^pri), which permits a callee to
  4357. continue in the dialplan, at the specified label, if the caller hangs up.
  4358. * ChanSpy and ExtenSpy have a new option, 's' which suppresses speaking the
  4359. technology name (e.g. SIP, IAX, etc) of the channel being spied on.
  4360. * The Jack application now has a c() option to supply a custom client name.
  4361. * Chanspy has a new option, 'B', which can be used to "barge" on a call. This is
  4362. like the pre-existing whisper mode, except that the spy can also talk to the
  4363. participant on the bridged channel as well.
  4364. * Chanspy has a new option, 'n', which will allow for the spied-on party's name
  4365. to be spoken instead of the channel name or number. For more information on the
  4366. use of this option, issue the command "core show application ChanSpy" from the
  4367. Asterisk CLI.
  4368. * Chanspy has a new option, 'd', which allows the spy to use DTMF to swap between
  4369. spy modes. Use of this feature overrides the typical use of numeric DTMF. In other
  4370. words, if using the 'd' option, it is not possible to enter a number to append to
  4371. the first argument to Chanspy(). Pressing 4 will change to spy mode, pressing 5 will
  4372. change to whisper mode, and pressing 6 will change to barge mode.
  4373. * ExternalIVR now takes several options that affect the way it performs, as
  4374. well as having several new commands. Please see the External IVR page on the Asterisk
  4375. wiki for complete documentation: https://wiki.asterisk.org/wiki/x/oQBB
  4376. * Added ability to communicate over a TCP socket instead of forking a child process for the
  4377. ExternalIVR application.
  4378. * ChanIsAvail has a new option, 'a', which will return all available channels instead
  4379. of just the first one if you give the function more then one channel to check.
  4380. * PrivacyManager now takes an option where you can specify a context where the
  4381. given number will be matched. This way you have more control over who is allowed
  4382. and it stops the people who blindly enter 10 digits.
  4383. * ForkCDR has new options: 'a' updates the answer time on the new CDR; 'A' locks
  4384. answer times, disposition, on orig CDR against updates; 'D' Copies the disposition
  4385. from the orig CDR to the new CDR after reset; 'e' sets the 'end' time on the
  4386. original CDR; 'R' prevents the new CDR from being reset; 's(var=val)' adds/changes
  4387. the 'var' variable on the original CDR; 'T' forces ast_cdr_end(), ast_cdr_answer(),
  4388. obey the LOCKED flag on cdr's in the chain, and also the ast_cdr_setvar() func.
  4389. * The Dial() application no longer copies the language used by the caller to the callee's
  4390. channel. If you desire for the caller's channel's language to be used for file playback
  4391. to the callee, then the file specified may be prepended with "${CHANNEL(language)}/" .
  4392. * SendImage() no longer hangs up the channel on error; instead, it sets the
  4393. status variable SENDIMAGESTATUS to one of 'SUCCESS', 'FAILURE', or
  4394. 'UNSUPPORTED'. This change makes SendImage() more consistent with other
  4395. applications.
  4396. * Park has a new option, 's', which silences the announcement of the parking space number.
  4397. * A non-numeric, zero, or negative timeout specified to Dial() will now be interpreted as
  4398. invalid input and will be assumed to mean that no timeout is desired.
  4399. SIP Changes
  4400. -----------
  4401. * Added DNS manager support to registrations for peers referencing peer entries.
  4402. DNS manager runs in the background which allows DNS lookups to be run asynchronously
  4403. as well as periodically updating the IP address. These properties allow for
  4404. better performance as well as recovery in the event of an IP change.
  4405. * Performance improvements via using hash tables (astobj2) and doubly-linked lists to improve
  4406. load/reload of large numbers of peers/users by ~40x (for large lists of peers).
  4407. These changes also provide performance improvements for call setup and tear down.
  4408. * Added ability to specify registration expiry time on a per registration basis in
  4409. the register line.
  4410. * Added support for T140 RED - redundancy in T.140 to prevent text loss due to
  4411. lost packets.
  4412. * Added t38pt_usertpsource option. See sip.conf.sample for details.
  4413. * Added SIPnotify AMI command, for sending arbitrary SIP notify commands.
  4414. * 'sip show peers' and 'sip show users' display their entries sorted in
  4415. alphabetical order, as opposed to the order they were in, in the config
  4416. file or database.
  4417. * Videosupport now supports an additional option, "always", which always sets
  4418. up video RTP ports, even on clients that don't support it. This helps with
  4419. callfiles and certain transfers to ensure that if two video phones are
  4420. connected, they will always share video feeds.
  4421. IAX Changes
  4422. -----------
  4423. * Existing DNS manager lookups extended to check for SRV records.
  4424. * IAX2 encryption support has been improved to support periodic key rotation
  4425. within a call for enhanced security. The option "keyrotate" has been
  4426. provided to disable this functionality to preserve backwards compatibility
  4427. with older versions of IAX2 that do not support key rotation.
  4428. CLI Changes
  4429. -----------
  4430. * New CLI command, "data get <path> [<search> [<filter>]]" which retrieves the
  4431. data tree based on the given <path>.
  4432. * New CLI command "data show providers" that will display all the registered
  4433. callbacks.
  4434. * New CLI command, "config reload <file.conf>" which reloads any module that
  4435. references that particular configuration file. Also added "config list"
  4436. which shows which configuration files are in use.
  4437. * New CLI commands, "pri show version" and "ss7 show version" that will
  4438. display which version of libpri and libss7 are being used, respectively.
  4439. A new API call was added so trunk will now have to be compiled against
  4440. a versions of libpri and libss7 that have them or it will not know that
  4441. these libraries exist.
  4442. * The commands "core show globals", "core set global" and "core set chanvar" has
  4443. been deprecated in favor of the more semanticly correct "dialplan show globals",
  4444. "dialplan set chanvar" and "dialplan set global".
  4445. * New CLI command "dialplan show chanvar" to list all variables associated
  4446. with a given channel.
  4447. DNS manager changes
  4448. -------------------
  4449. * Addresses managed by DNS manager now can check to see if there is a DNS
  4450. SRV record for a given domain and will use that hostname/port if present.
  4451. AMI - The manager (TCP/TLS/HTTP)
  4452. --------------------------------
  4453. * The Status command now takes an optional list of variables to display
  4454. along with channel status.
  4455. * The QueueEntry event now also includes the channel's uniqueid
  4456. ODBC Changes
  4457. ------------
  4458. * res_odbc no longer has a limit of 1023 total possible unshared connections,
  4459. as some people were running into this limit. This limit has been increased
  4460. to 4.2 billion.
  4461. Queue changes
  4462. -------------
  4463. * The TRANSFER queue log entry now includes the the caller's original
  4464. position in the transferred-from queue.
  4465. * A new configuration option, "timeoutpriority" has been added. Please see the section labeled
  4466. "QUEUE TIMING OPTIONS" in configs/queues.conf.sample for a detailed explanation of the option
  4467. as well as an explanation about timeout options in general
  4468. * Added a new option - C - for forcing the "answered elsewhere" flag on
  4469. cancellation of calls in to members of the queue. This is to avoid the
  4470. call to a member of a queue having the call listed as a "missed call".
  4471. Realtime changes
  4472. ----------------
  4473. * Several (ODBC, Postgres, MySQL, SQLite) realtime drivers have been given
  4474. adaptive capabilities. What this means in practical terms is that if your
  4475. realtime table lacks critical fields, Asterisk will now emit warnings to
  4476. that effect. Also, some of the realtime drivers have the ability (if
  4477. configured) to automatically add those columns to the table with the
  4478. correct type and length.
  4479. Miscellaneous
  4480. -------------
  4481. * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND can now be set using
  4482. the 'setvar' option to cause a given audio file to be played upon completion
  4483. of an attended transfer. Currently it works for DAHDI, IAX2, SIP, and
  4484. Skinny channels only.
  4485. * You can now compile Asterisk against the Hoard Memory Allocator, see the
  4486. Hoard page on the Asterisk wiki for more information:
  4487. https://wiki.asterisk.org/wiki/x/pQBB
  4488. * Config file variables may now be appended to, by using the '+=' append
  4489. operator. This is most helpful when working with long SQL queries in
  4490. func_odbc.conf, as the queries no longer need to be specified on a single
  4491. line.
  4492. * CDR config file, cdr.conf, has an added option, "initiatedseconds",
  4493. which will add a second to the billsec when the ending
  4494. time is set, if the number in the microseconds field of the end time is
  4495. greater than the number of microseconds in the answer time. This allows
  4496. users to count the 'initiated' seconds in their billing records.
  4497. ------------------------------------------------------------------------------
  4498. --- Functionality changes from Asterisk 1.4.X to Asterisk 1.6.0 -------------
  4499. ------------------------------------------------------------------------------
  4500. AMI - The manager (TCP/TLS/HTTP)
  4501. --------------------------------
  4502. * Manager has undergone a lot of changes, all of them documented
  4503. on the Asterisk wiki at https://wiki.asterisk.org/wiki/x/tQBB
  4504. * Manager version has changed to 1.1
  4505. * Added a new action 'CoreShowChannels' to list currently defined channels
  4506. and some information about them.
  4507. * Added a new action 'SIPshowregistry' to list SIP registrations.
  4508. * Added TLS support for the manager interface and HTTP server
  4509. * Added the URI redirect option for the built-in HTTP server
  4510. * The output of CallerID in Manager events is now more consistent.
  4511. CallerIDNum is used for number and CallerIDName for name.
  4512. * Enable https support for builtin web server.
  4513. See configs/http.conf.sample for details.
  4514. * Added a new action, GetConfigJSON, which can return the contents of an
  4515. Asterisk configuration file in JSON format. This is intended to help
  4516. improve the performance of AJAX applications using the manager interface
  4517. over HTTP.
  4518. * SIP and IAX manager events now use "ChannelType" in all cases where we
  4519. indicate channel driver. Previously, we used a mixture of "Channel"
  4520. and "ChannelDriver" headers.
  4521. * Added a "Bridge" action which allows you to bridge any two channels that
  4522. are currently active on the system.
  4523. * Added a "ListAllVoicemailUsers" action that allows you to get a list of all
  4524. the voicemail users setup.
  4525. * Added 'DBDel' and 'DBDelTree' manager commands.
  4526. * cdr_manager now reports events via the "cdr" level, separating it from
  4527. the very verbose "call" level.
  4528. * Manager users are now stored in memory. If you change the manager account
  4529. list (delete or add accounts) you need to reload manager.
  4530. * Added Masquerade manager event for when a masquerade happens between
  4531. two channels.
  4532. * Added "manager reload" command for the CLI
  4533. * Lots of commands that only provided information are now allowed under the
  4534. Reporting privilege, instead of only under Call or System.
  4535. * The IAX* commands now require either System or Reporting privilege, to
  4536. mirror the privileges of the SIP* commands.
  4537. * Added ability to retrieve list of categories in a config file.
  4538. * Added ability to retrieve the content of a particular category.
  4539. * Added ability to empty a context.
  4540. * Created new action to create a new file.
  4541. * Updated delete action to allow deletion by line number with respect to category.
  4542. * Added new action insert to add new variable to category at specified line.
  4543. * Updated action newcat to allow new category to be inserted in file above another
  4544. existing category.
  4545. * Added new event "JitterBufStats" in the IAX2 channel
  4546. * Originate now requires the Originate privilege and, if you want to call out
  4547. to a subshell, it requires the System privilege, as well. This was done to
  4548. enhance manager security.
  4549. * Originate now accepts codec settings with "Codecs: alaw, ulaw, h264"
  4550. * New command: Atxfer. See https://wiki.asterisk.org/wiki/x/uABB for more details
  4551. or manager show command Atxfer from the CLI
  4552. * New command: IAXregistry. See https://wiki.asterisk.org/wiki/x/uABB for more
  4553. details or manager show command IAXregistry from the CLI
  4554. Dialplan functions
  4555. ------------------
  4556. * Added the DEVICE_STATE() dialplan function which allows retrieving any device
  4557. state in the dialplan, as well as creating custom device states that are
  4558. controllable from the dialplan.
  4559. * Extend CALLERID() function with "pres" and "ton" parameters to
  4560. fetch string representation of calling number presentation indicator
  4561. and numeric representation of type of calling number value.
  4562. * MailboxExists converted to dialplan function
  4563. * A new option to Dial() for telling IP phones not to count the call
  4564. as "missed" when dial times out and cancels.
  4565. * Added LOCK(), TRYLOCK(), and UNLOCK(), which provide a single level dialplan
  4566. mutex. No deadlocks are possible, as LOCK() only allows a single lock to be
  4567. held for any given channel. Also, locks are automatically freed when a
  4568. channel is hung up.
  4569. * Added HINT() dialplan function that allows retrieving hint information.
  4570. Hints are mappings between extensions and devices for the sake of
  4571. determining the state of an extension. This function can retrieve the list
  4572. of devices or the name associated with a hint.
  4573. * Added EXTENSION_STATE() dialplan function which allows retrieving the state
  4574. of any extension.
  4575. * Added SYSINFO() dialplan function which allows retrieval of system information
  4576. * Added a new dialplan function, DIALPLAN_EXISTS(), which allows you to check for
  4577. the existence of a dialplan target.
  4578. * Added two new dialplan functions, TOUPPER and TOLOWER, which convert a string to
  4579. upper and lower case, respectively.
  4580. * When bridging, Asterisk sets the BRIDGEPVTCALLID to the channel drivers unique
  4581. ID for the call (not the Asterisk call ID or unique ID), provided that the
  4582. channel driver supports this. For SIP, you get the SIP call-ID for the
  4583. bridged channel which you can store in the CDR with a custom field.
  4584. CLI Changes
  4585. -----------
  4586. * Added CLI permissions, config file: cli_permissions.conf
  4587. default is to allow all commands for every local user/group.
  4588. Also this new feature added three new CLI commands:
  4589. - cli check permissions {<username>|@<groupname>|<username>@<groupname>} [<command>]
  4590. - cli reload permissions
  4591. - cli show permissions
  4592. * New CLI command "core show hint" (usage: core show hint <exten>)
  4593. * New CLI command "core show settings"
  4594. * Added 'core show channels count' CLI command.
  4595. * Added the ability to set the core debug and verbose values on a per-file basis.
  4596. * Added 'queue pause member' and 'queue unpause member' CLI commands
  4597. * Ability to set process limits ("ulimit") without restarting Asterisk
  4598. * Enhanced "agi debug" to print the channel name as a prefix to the debug
  4599. output to make debugging on busy systems much easier.
  4600. * New CLI commands "dialplan set extenpatternmatching true/false"
  4601. * New CLI command: "core set chanvar" to set a channel variable from the CLI.
  4602. * Added an easy way to execute Asterisk CLI commands at startup. Any commands
  4603. listed in the startup_commands section of cli.conf will get executed.
  4604. * Added a CLI command, "devstate change", which allows you to set custom device
  4605. states from the func_devstate module that provides the DEVICE_STATE() function
  4606. and handling of the "Custom:" devices.
  4607. * New CLI command: "sip show sched" which shows all ast_sched entries for sip,
  4608. sorted into the different possible callbacks, with the number of entries
  4609. currently scheduled for each. Gives you a feel for how busy the sip channel
  4610. driver is.
  4611. * Added 'skinny show lines verbose' CLI command. This will show the subs for every channel.
  4612. * Cleanup another bunch of CLI commands. Now all modules follow the same schema.
  4613. (Done by lmadsen, junky and mvanbaak during the devcon 2008)
  4614. SIP changes
  4615. -----------
  4616. * Added a new 'faxdetect=yes|no' configuration option to sip.conf. When this
  4617. option is enabled, Asterisk will watch for a CNG tone in the incoming audio
  4618. for a received call. If it is detected, the channel will jump to the
  4619. 'fax' extension in the dialplan.
  4620. * The default SIP useragent= identifier now includes the Asterisk version
  4621. * A new option, match_auth_username in sip.conf changes the matching of incoming requests.
  4622. If set, and the incoming request carries authentication info,
  4623. the username to match in the users list is taken from the Digest header
  4624. rather than from the From: field. This feature is considered experimental.
  4625. * The "musiconhold" and "musicclass" settings in sip.conf are now removed,
  4626. since they where replaced by "mohsuggest" and "mohinterpret" in version 1.4
  4627. * The "localmask" setting was removed in version 1.2 and the reminder about it
  4628. being removed is now also removed.
  4629. * A new option "busylevel" for setting a level of calls where asterisk reports
  4630. a device as busy, to separate it from call-limit. This value is also added
  4631. to the SIP_PEER dialplan function.
  4632. * A new realtime family called "sipregs" is now supported to store SIP registration
  4633. data. If this family is defined, "sippeers" will be used for configuration and
  4634. "sipregs" for registrations. If it's not defined, "sippeers" will be used for
  4635. registration data, as before.
  4636. * The SIPPEER function have new options for port address, call and pickup groups
  4637. * Added support for T.140 realtime text in SIP/RTP
  4638. * The "checkmwi" option has been removed from sip.conf, as it is no longer
  4639. required due to the restructuring of how MWI is handled. See the descriptions
  4640. in this file of the "pollmailboxes" and "pollfreq" options to voicemail.conf
  4641. for more information.
  4642. * Added rtpdest option to CHANNEL() dialplan function.
  4643. * Added SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables which are set when a transfer takes place.
  4644. * SIP now adds a header to the CANCEL if the call was answered by another phone
  4645. in the same dial command, or if the new c option in dial() is used.
  4646. * The new default is that 100 Trying is not sent on REGISTER attempts as the RFC specifically
  4647. states it is not needed. For phones, however, that do require it the "registertrying" option
  4648. has been added so it can be enabled.
  4649. * A new option called "callcounter" (global/peer/user level) enables call counters needed
  4650. for better status reports needed for queues and SIP subscriptions. (Call-Limit was previously
  4651. used to enable this functionality).
  4652. * New settings for timer T1 and timer B on a global level or per device. This makes it
  4653. possible to force timeout faster on non-responsive SIP servers. These settings are
  4654. considered advanced, so don't use them unless you have a problem.
  4655. * Added a dial string option to be able to set the To: header in an INVITE to any
  4656. SIP uri.
  4657. * Added a new global and per-peer option, qualifyfreq, which allows you to configure
  4658. the qualify frequency.
  4659. * Added SIP Session Timers support (RFC 4028). This prevents stuck SIP sessions that
  4660. were not properly torn down due to network or endpoint failures during an established
  4661. SIP session.
  4662. * Added experimental TCP and TLS support for SIP. See https://wiki.asterisk.org/wiki/x/ygBB
  4663. and configs/sip.conf.sample for more information on how it is used.
  4664. * Added a new configuration option "authfailureevents" that enables manager events when
  4665. a peer can't authenticate properly.
  4666. * Added DNS manager support to registrations for peers not referencing a peer entry.
  4667. IAX2 changes
  4668. ------------
  4669. * Added the trunkmaxsize configuration option to chan_iax2.
  4670. * Added the srvlookup option to iax.conf
  4671. * Added support for OSP. The token is set and retrieved through the CHANNEL()
  4672. dialplan function.
  4673. XMPP Google Talk/Jingle changes
  4674. -------------------------------
  4675. * Added the bindaddr option to gtalk.conf.
  4676. Skinny changes
  4677. -------------
  4678. * Added skinny show device, skinny show line, and skinny show settings CLI commands.
  4679. * Proper codec support in chan_skinny.
  4680. * Added settings for IP and Ethernet QoS requests
  4681. MGCP changes
  4682. ------------
  4683. * Added separate settings for media QoS in mgcp.conf
  4684. Console Channel Driver changes
  4685. ------------------------------
  4686. * Added experimental support for video send & receive to chan_oss.
  4687. This requires SDL and ffmpeg/avcodec, plus Video4Linux or X11 to act as
  4688. a video source.
  4689. Phone channel changes (chan_phone)
  4690. ----------------------------------
  4691. * Added G729 passthrough support to chan_phone for Sigma Designs boards.
  4692. H.323 channel Changes
  4693. ---------------------
  4694. * H323 remote hold notification support added (by NOTIFY message
  4695. and/or H.450 supplementary service)
  4696. Local channel changes
  4697. ---------------------
  4698. * The device state functionality in the Local channel driver has been updated
  4699. to indicate INUSE or NOT_INUSE when a Local channel is being used as opposed
  4700. to just UNKNOWN if the extension exists.
  4701. * Added jitterbuffer support for chan_local. This allows you to use the
  4702. generic jitterbuffer on incoming calls going to Asterisk applications.
  4703. For example, this would allow you to use a jitterbuffer for an incoming
  4704. SIP call to Voicemail by putting a Local channel in the middle. This
  4705. feature is enabled by using the 'j' option in the Dial string to the Local
  4706. channel in conjunction with the existing 'n' option for local channels.
  4707. * A 'b' option has been added which causes chan_local to return the actual channel
  4708. that is behind it when queried. This is useful for transfer scenarios as the
  4709. actual channel will be transferred, not the Local channel.
  4710. Agent channel changes
  4711. ----------------------
  4712. * The ackcall and endcall options are now supplemented with options acceptdtmf
  4713. and enddtmf. These allow for the DTMF keypress to be configurable. The options
  4714. default to their old hard-coded values ('#' and '*' respectively) so this should
  4715. not break any existing agent installations.
  4716. DAHDI channel driver (chan_dahdi) Changes
  4717. ----------------------------------------
  4718. * SS7 support (via libss7 library)
  4719. * In India, some carriers transmit CID via dtmf. Some code has been added
  4720. that will handle some situations. The cidstart=polarity_IN choice has been added for
  4721. those carriers that transmit CID via dtmf after a polarity change.
  4722. * CID matching information is now shown when doing 'dialplan show'.
  4723. * Added dahdi show version CLI command.
  4724. * Added setvar support to chan_dahdi.conf channel entries.
  4725. * Added two new options: mwimonitor and mwimonitornotify. These options allow
  4726. you to enable MWI monitoring on FXO lines. When the MWI state changes,
  4727. the script specified in the mwimonitornotify option is executed. An internal
  4728. event indicating the new state of the mailbox is also generated, so that
  4729. the normal MWI facilities in Asterisk work as usual.
  4730. * Added signalling type 'auto', which attempts to use the same signalling type
  4731. for a channel as configured in DAHDI. This is primarily designed for analog
  4732. ports, but will also work for digital ports that are configured for FXS or FXO
  4733. signalling types. This mode is also the default now, so if your chan_dahdi.conf
  4734. does not specify signalling for a channel (which is unlikely as the sample
  4735. configuration file has always recommended specifying it for every channel) then
  4736. the 'auto' mode will be used for that channel if possible.
  4737. * Added a 'dahdi set dnd' command to allow CLI control of the Do-Not-Disturb
  4738. state for a channel; also ensured that the DNDState Manager event is
  4739. emitted no matter how the DND state is set or cleared.
  4740. New Channel Drivers
  4741. -------------------
  4742. * Added a new channel driver, chan_unistim. See the Asterisk wiki at
  4743. https://wiki.asterisk.org/wiki/x/vgsiAQ and configs/unistim.conf.sample
  4744. for details. This new channel driver allows you to use Nortel i2002,
  4745. i2004, and i2050 phones with Asterisk.
  4746. * Added a new channel driver, chan_console, which uses portaudio as a cross
  4747. platform audio interface. It was written as a channel driver that would
  4748. work with Mac CoreAudio, but portaudio supports a number of other audio
  4749. interfaces, as well. Note that this channel driver requires v19 or higher
  4750. of portaudio; older versions have a different API.
  4751. DUNDi changes
  4752. -------------
  4753. * Added the ability to specify arguments to the Dial application when using
  4754. the DUNDi switch in the dialplan.
  4755. * Added the ability to set weights for responses dynamically. This can be
  4756. done using a global variable or a dialplan function. Using the SHELL()
  4757. function would allow you to have an external script set the weight for
  4758. each response.
  4759. * Added two new dialplan functions, DUNDIQUERY and DUNDIRESULT. These
  4760. functions will allow you to initiate a DUNDi query from the dialplan,
  4761. find out how many results there are, and access each one.
  4762. * Added the ability to specifiy a port for a dundi peer.
  4763. ENUM changes
  4764. ------------
  4765. * Added two new dialplan functions, ENUMQUERY and ENUMRESULT. These
  4766. functions will allow you to initiate an ENUM lookup from the dialplan,
  4767. and Asterisk will cache the results. ENUMRESULT can be used to access
  4768. the results without doing multiple DNS queries.
  4769. Voicemail Changes
  4770. -----------------
  4771. * Added the ability to customize which sound files are used for some of the
  4772. prompts within the Voicemail application by changing them in voicemail.conf
  4773. * Added the ability for the "voicemail show users" CLI command to show users
  4774. configured by the dynamic realtime configuration method.
  4775. * MWI (Message Waiting Indication) handling has been significantly
  4776. restructured internally to Asterisk. It is now totally event based
  4777. instead of polling based. The voicemail application will notify other
  4778. modules that have subscribed to MWI events when something in the mailbox
  4779. changes.
  4780. This also means that if any other entity outside of Asterisk is changing
  4781. the contents of mailboxes, then the voicemail application still needs to
  4782. poll for changes. Examples of situations that would require this option
  4783. are web interfaces to voicemail or an email client in the case of using
  4784. IMAP storage. So, two new options have been added to voicemail.conf
  4785. to account for this: "pollmailboxes" and "pollfreq". See the sample
  4786. configuration file for details.
  4787. * Added "tw" language support
  4788. * Added support for storage of greetings using an IMAP server
  4789. * Added ability to customize forward, reverse, stop, and pause keys for message playback
  4790. * SMDI is now enabled in voicemail using the smdienable option.
  4791. * A "lockmode" option has been added to asterisk.conf to configure the file
  4792. locking method used for voicemail, and potentially other things in the
  4793. future. The default is the old behavior, lockfile. However, there is a
  4794. new method, "flock", that uses a different method for situations where the
  4795. lockfile will not work, such as on SMB/CIFS mounts.
  4796. * Added the ability to backup deleted messages, to ease recovery in the case
  4797. that a user accidentally deletes a message, and discovers that they need it.
  4798. * Reworked the SMDI interface in Asterisk. The new way to access SMDI information
  4799. is through the new functions, SMDI_MSG_RETRIEVE() and SMDI_MSG(). The file
  4800. smdi.conf can now be configured with options to map SMDI station IDs to Asterisk
  4801. voicemail boxes. The SMDI interface can also poll for MWI changes when some
  4802. outside entity is modifying the state of the mailbox (such as IMAP storage or
  4803. a web interface of some kind).
  4804. * Added the support for marking messages as "urgent." There are two methods to accomplish
  4805. this. One is to pass the 'U' option to VoiceMail(). Another way to mark a message as urgent
  4806. is to specify "review=yes" in voicemail.conf. Doing this will cause allow the user to mark
  4807. the message as urgent after he has recorded a voicemail by following the voice instructions.
  4808. When listening to voicemails using VoiceMailMain urgent messages will be presented before other
  4809. messages
  4810. Queue changes
  4811. -------------
  4812. * Added the general option 'shared_lastcall' so that member's wrapuptime may be
  4813. used across multiple queues.
  4814. * Added QUEUE_VARIABLES function to set queue variables added setqueuevar and
  4815. setqueueentryvar options for each queue, see queues.conf.sample for details.
  4816. * Added keepstats option to queues.conf which will keep queue
  4817. statistics during a reload.
  4818. * setinterfacevar option in queues.conf also now sets a variable
  4819. called MEMBERNAME which contains the member's name.
  4820. * Added 'Strategy' field to manager event QueueParams which represents
  4821. the queue strategy in use.
  4822. * Added option to run macro when a queue member is connected to a caller,
  4823. see queues.conf.sample for details.
  4824. * app_queue now has a 'loose' option which is almost exactly like 'strict' except it
  4825. does not count paused queue members as unavailable.
  4826. * Added min-announce-frequency option to queues.conf which allows you to control the
  4827. minimum amount of time between queue announcements for use when the caller's queue
  4828. position changes frequently.
  4829. * Added additional information to EXITWITHTIMEOUT and EXITWITHKEY events in the
  4830. queue log.
  4831. * Added ability for non-realtime queues to have realtime members
  4832. * Added the "linear" strategy to queues.
  4833. * Added the "wrandom" strategy to queues.
  4834. * Added new channel variable QUEUE_MIN_PENALTY
  4835. * QUEUE_MAX_PENALTY and QUEUE_MIN_PENALTY may be adjusted in mid-call by defining
  4836. rules in queuerules.conf. See configs/queuerules.conf.sample for details
  4837. * Added a new parameter for member definition, called state_interface. This may be
  4838. used so that a member may be called via one interface but have a different interface's
  4839. device state reported.
  4840. * Added new CLI and Manager commands relating to reloading queues. From the CLI, see
  4841. "queue reload", "queue reset stats". Also see "manager show command QueueReload" and
  4842. "manager show command QueueReset."
  4843. * New configuration option: randomperiodicannounce. If a list of periodic announcements is
  4844. specified by the periodic-announce option, then one will be chosen randomly when it is time
  4845. to play a periodic announcment
  4846. * New configuration options: announce-position now takes two more values in addition to "yes" and
  4847. "no." Two new options, "limit" and "more," are allowed. These are tied to another option,
  4848. announce-position-limit. By setting announce-position to "limit" callers will only have their
  4849. position announced if their position is less than what is specified by announce-position-limit.
  4850. If announce-position is set to "more" then callers beyond the position specified by announce-position-limit
  4851. will be told that their are more than announce-position-limit callers waiting.
  4852. * Two new queue log events have been added. An ADDMEMBER event will be logged
  4853. when a realtime queue member is added and a REMOVEMEMBER event will be logged
  4854. when a realtime queue member is removed. Since there is no calling channel associated
  4855. with these events, the string "REALTIME" is placed where the channel's unique id
  4856. is typically placed.
  4857. * The configuration method for the "joinempty" and "leavewhenempty" options has
  4858. changed to a comma-separated list of methods of determining member availability
  4859. instead of vague terms such as "yes," "loose," "no," and "strict." These old four
  4860. values are still accepted for backwards-compatibility, though.
  4861. * The average talktime is now calculated on queues. This information is reported via the
  4862. CLI commands "queue show" and "queues show"; through the AMI events AgentComplete, QueueSummary,
  4863. and QueueParams; and through the channelvariable QUEUETALKTIME if setinterfacevar=yes is set for
  4864. the queue.
  4865. MeetMe Changes
  4866. --------------
  4867. * The 'o' option to provide an optimization has been removed and its functionality
  4868. has been enabled by default.
  4869. * When a conference is created, the UNIQUEID of the channel that caused it to be
  4870. created is stored. Then, every channel that joins the conference will have the
  4871. MEETMEUNIQUEID channel variable set with this ID. This can be used to relate
  4872. callers that come and go from long standing conferences.
  4873. * Added a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
  4874. except it does operations on a channel by name, instead of number in a conference.
  4875. This is a very useful feature in combination with the 'X' option to ChanSpy.
  4876. * Added 'C' option to Meetme which causes a caller to continue in the dialplan
  4877. when kicked out.
  4878. * Added new RealTime functionality to provide support for scheduled conferencing.
  4879. This includes optional messages to the caller if they attempt to join before
  4880. the schedule start time, or to allow the caller to join the conference early.
  4881. Also included is optional support for limiting the number of callers per
  4882. RealTime conference.
  4883. * Added the S() and L() options to the MeetMe application. These are pretty
  4884. much identical to the S() and L() options to Dial(). They let you set
  4885. timeouts for the conference, as well as have warning sounds played to
  4886. let the caller know how much time is left, and when it is running out.
  4887. * Added the ability to do "meetme concise" with the "meetme" CLI command.
  4888. This extends the concise capabilities of this CLI command to include
  4889. listing all conferences, instead of an addition to the other sub commands
  4890. for the "meetme" command.
  4891. * Added the ability to specify the music on hold class used to play into the
  4892. conference when there is only one member and the M option is used.
  4893. * Added MEETME_INFO dialplan function which provides a way to query
  4894. various properties of a Meetme conference.
  4895. * Added new admin features: *81: Roll call, *82: eject all, *83: mute all,
  4896. and *84: record in-conf
  4897. Other Dialplan Application Changes
  4898. ----------------------------------
  4899. * Argument support for Gosub application
  4900. * From the to-do lists: straighten out the app timeout args:
  4901. Wait() app now really does 0.3 seconds- was truncating arg to an int.
  4902. WaitExten() same as Wait().
  4903. Congestion() - Now takes floating pt. argument.
  4904. Busy() - now takes floating pt. argument.
  4905. Read() - timeout now can be floating pt.
  4906. WaitForRing() now takes floating pt timeout arg.
  4907. SpeechBackground() -- clarified in the docstrings that the timeout is an integer seconds.
  4908. * Added 's' option to Page application.
  4909. * Added an optional timeout argument to the Page application.
  4910. * Added 'E', 'V', and 'P' commands to ExternalIVR.
  4911. * Added 'o' and 'X' options to Chanspy.
  4912. * Added a new dialplan application, Bridge, which allows you to bridge the
  4913. calling channel to any other active channel on the system.
  4914. * Added the ability to specify a music on hold class to play instead of ringing
  4915. for the SLATrunk application.
  4916. * The Read application no longer exits the dialplan on error. Instead, it sets
  4917. READSTATUS to ERROR, which you can catch and handle separately.
  4918. * Added 'm' option to Directory, which lists out names, 8 at a time, instead
  4919. of asking for verification of each name, one at a time.
  4920. * Privacy() no longer uses privacy.conf, as all options are specifyable as
  4921. direct options to the app.
  4922. * AMD() has a new "maximum word length" option. "show application AMD" from the CLI
  4923. for more details
  4924. * GotoIfTime() now may branch based on a "false" condition, like other Goto-related applications
  4925. * The ChannelRedirect application no longer exits the dialplan if the given channel
  4926. does not exist. It will now set the CHANNELREDIRECT_STATUS variable to SUCCESS upon success
  4927. or NOCHANNEL if the given channel was not found.
  4928. * The silencethreshold setting that was previously configurable in multiple
  4929. applications is now settable globally via dsp.conf.
  4930. Music On Hold Changes
  4931. ---------------------
  4932. * A new option, "digit", has been added for music on hold classes in
  4933. musiconhold.conf. If this is set for a music on hold class, a caller
  4934. listening to music on hold can press this digit to switch to listening
  4935. to this music on hold class.
  4936. * Support for realtime music on hold has been added.
  4937. * In conjunction with the realtime music on hold, a general section has
  4938. been added to musiconhold.conf, its sole variable is cachertclasses. If this
  4939. is set, then music on hold classes found in realtime will be cached in memory.
  4940. AEL Changes
  4941. -----------
  4942. * AEL upgraded to use the Gosub with Arguments instead
  4943. of Macro application, to hopefully reduce the problems
  4944. seen with the artificially low stack ceiling that
  4945. Macro bumps into. Macros can only call other Macros
  4946. to a depth of 7. Tests run using gosub, show depths
  4947. limited only by virtual memory. A small test demonstrated
  4948. recursive call depths of 100,000 without problems.
  4949. -- in addition to this, all apps that allowed a macro
  4950. to be called, as in Dial, queues, etc, are now allowing
  4951. a gosub call in similar fashion.
  4952. * AEL now generates LOCAL(argname) declarations when it
  4953. Set()'s the each arg name to the value of ${ARG1}, ${ARG2),
  4954. etc. That makes the arguments local in scope. The user
  4955. can define their own local variables in macros, now,
  4956. by saying "local myvar=someval;" or using Set() in this
  4957. fashion: Set(LOCAL(myvar)=someval); ("local" is now
  4958. an AEL keyword).
  4959. * utils/conf2ael introduced. Will convert an extensions.conf
  4960. file into extensions.ael. Very crude and unfinished, but
  4961. will be improved as time goes by. Should be useful for a
  4962. first pass at conversion.
  4963. * aelparse will now read extensions.conf to see if a referenced
  4964. macro or context is there before issueing a warning.
  4965. * AEL parser sets a local channel variable ~~EXTEN~~, to
  4966. preserve the value of ${EXTEN} thru switch statements.
  4967. * New operator in $[...] expressions: the ~~ operator serves
  4968. as a concatenation operator. AT THE MOMENT, it is really only
  4969. necessary and useful in AEL, especially in if() expressions.
  4970. Operation: ${a} ~~ ${b| with force both a and b to strings, strip
  4971. any enclosing double-quotes, and evaluate to the value of a
  4972. concatenated with the value of b. For example if a is set to
  4973. "xyz" and b has the value "abc", then ${a} ~~ ${b| would
  4974. evaluate to xyzabc .
  4975. Call Features (res_features) Changes
  4976. ------------------------------------
  4977. * Added the parkedcalltransfers option to features.conf
  4978. * Added parkedcallparking option to control one touch parking w/ parking
  4979. pickup
  4980. * Added parkedcallhangup option to control disconnect feature w/ parking
  4981. pickup
  4982. * Added parkedcallrecording option to control one-touch record w/ parking
  4983. pickup
  4984. * Added parkedcallparking, parkedcallhangup, parkedcallrecording, and
  4985. parkedcalltransfers option support for multiple parking lots.
  4986. * Added BRIDGE_FEATURES variable to set available features for a channel
  4987. * The built-in method for doing attended transfers has been updated to
  4988. include some new options that allow you to have the transferee sent
  4989. back to the person that did the transfer if the transfer is not successful.
  4990. See the options "atxferdropcall", "atxferloopdelay", and "atxfercallbackretries"
  4991. in features.conf.sample.
  4992. * Added support for configuring named groups of custom call features in
  4993. features.conf. This means that features can be written a single time, and
  4994. then mapped into groups of features for different key mappings or easier
  4995. access control.
  4996. * Updated the ParkedCall application to allow you to not specify a parking
  4997. extension. If you don't specify a parking space to pick up, it will grab
  4998. the first one available.
  4999. * Added cli command 'features reload' to reload call features from features.conf
  5000. * Moved into core asterisk binary.
  5001. * Changed the default setting for featuredigittimeout to 2000 ms from 500 ms.
  5002. * Added the ability for custom parking lots to be configured with their own
  5003. parking extension with the parkext option.
  5004. Language Support Changes
  5005. ------------------------
  5006. * Brazilian Portuguese (pt-BR) in VM, and say.c was added
  5007. * Added support for the Hungarian language for saying numbers, dates, and times.
  5008. AGI Changes
  5009. -----------
  5010. * Added SPEECH commands for speech recognition. A complete listing can be found
  5011. using agi show.
  5012. * If app_stack is loaded, GOSUB is a native AGI command that may be used to
  5013. invoke subroutines in the dialplan. Note that calling EXEC with Gosub
  5014. does not behave as expected; the native command needs to be used, instead.
  5015. * Added the ability to perform SRV lookups on fast AGI calls. To use this
  5016. feature, simply use hagi: instead of agi: as the protocol portion
  5017. of the URI parameter to the AGI function call in your dial plan. Also note
  5018. that specifying a port number in the AGI URI will disable SRV lookups,
  5019. even if you use the hagi: protocol.
  5020. * No longer support MSG_OOB flag on HANGUP.
  5021. Logger changes
  5022. --------------
  5023. * Added rotatestrategy option to logger.conf, along with two new options:
  5024. "timestamp" which will use the time to name the logger files instead of
  5025. sequence number; and "rotate", which rotates the names of the log files,
  5026. similar to the way syslog rotates files.
  5027. * Added exec_after_rotate option to logger.conf, which allows a system
  5028. command to be run after rotation. This is primarily useful with
  5029. rotatestrategy=rotate, to allow a limit on the number of log files kept
  5030. and to ensure that the oldest log file gets deleted.
  5031. * Added realtime support for the queue log
  5032. Call Detail Records
  5033. -------------------
  5034. * The cdr_manager module has a [mappings] feature, like cdr_custom,
  5035. to add fields to the manager event from the CDR variables.
  5036. * Added cdr_adaptive_odbc, a new module that adapts to the structure of your
  5037. backend database CDR table. Specifically, additional, non-standard
  5038. columns are supported, merely by setting the corresponding CDR variable in
  5039. your dialplan. In addition, you may alias any column to another name (for
  5040. example, if you want the 'src' CDR variable to be column 'ANI' in the DB,
  5041. simply "alias src => ANI" in the configuration file). Records may be
  5042. posted to more than one backend, simply by specifying multiple categories
  5043. in the configuration file. And finally, you may filter which CDRs get
  5044. posted to each backend, by specifying a filter (which the record must
  5045. match) for the particular category. Filters are additive (meaning all
  5046. rules must match to post that CDR).
  5047. * The Postgres CDR module now supports some features of the cdr_adaptive_odbc
  5048. module. Specifically, you may add additional columns into the table and
  5049. they will be set, if you set the corresponding CDR variable name. Also,
  5050. if you omit columns in your database table, they will be silently skipped
  5051. (but a record will still be inserted, based on what columns remain). Note
  5052. that the other two features from cdr_adaptive_odbc (alias and filter) are
  5053. not currently supported.
  5054. * The ResetCDR application now has an 'e' option that re-enables a CDR if it
  5055. has been disabled using the NoCDR application.
  5056. Miscellaneous New Modules
  5057. -------------------------
  5058. * Added a new CDR module, cdr_sqlite3_custom.
  5059. * Added a new realtime configuration module, res_config_sqlite
  5060. * Added a new codec translation module, codec_resample, which re-samples
  5061. signed linear audio between 8 kHz and 16 kHz to help support wideband
  5062. codecs.
  5063. * Added a new module, res_phoneprov, which allows auto-provisioning of phones
  5064. based on configuration templates that use Asterisk dialplan function and
  5065. variable substitution. It should be possible to create phone profiles and
  5066. templates that work for the majority of phones provisioned over http. It
  5067. is currently only intended to provision a single user account per phone.
  5068. An example profile and set of templates for Polycom phones is provided.
  5069. NOTE: Polycom firmware is not included, but should be placed in
  5070. AST_DATA_DIR/phoneprov/configs to match up with the included templates.
  5071. * Added a new module, app_jack, which provides interfaces to JACK, the Jack
  5072. Audio Connection Kit (http://www.jackaudio.org/). Two interfaces are
  5073. provided; there is a JACK() application, and a JACK_HOOK() function. Both
  5074. interfaces create an input and output JACK port. The application makes
  5075. these ports the endpoint of the call. The audio coming from the channel
  5076. goes out the output port and whatever comes back in on the input port is
  5077. what gets sent to the channel. The JACK_HOOK() function turns on a JACK
  5078. audiohook on the channel. This lets you run the audio coming from a
  5079. channel through JACK, and whatever comes back in is what gets forwarded
  5080. on as the channel's audio. This is very useful for building custom
  5081. vocoders or doing recording or analysis of the channel's audio in another
  5082. application.
  5083. * Added a new module, res_config_curl, which permits using a HTTP POST url
  5084. to retrieve, create, update, and delete realtime information from a remote
  5085. web server. Note that this module requires func_curl.so to be loaded for
  5086. backend functionality.
  5087. * Added a new module, res_config_ldap, which permits the use of an LDAP
  5088. server for realtime data access.
  5089. * Added support for writing and running your dialplan in lua using the pbx_lua
  5090. module. See configs/extensions.lua.sample for examples of how to do this.
  5091. Miscellaneous
  5092. -------------
  5093. * Ability to use libcap to set high ToS bits when non-root
  5094. on Linux. If configure is unable to find libcap then you
  5095. can use --with-cap to specify the path.
  5096. * Added maxfiles option to options section of asterisk.conf which allows you to specify
  5097. what Asterisk should set as the maximum number of open files when it loads.
  5098. * Added the jittertargetextra configuration option.
  5099. * Added support for setting the CoS for VLAN traffic (802.1p). See the sample
  5100. configuration files for the IP channel drivers. The new option is "cos".
  5101. This information is also documented on the Asterisk wiki at
  5102. https://wiki.asterisk.org/wiki/x/EYBG
  5103. * When originating a call using AMI or pbx_spool that fails the reason for failure
  5104. will now be available in the failed extension using the REASON dialplan variable.
  5105. * Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
  5106. It allows you to configure a prefix for auto-monitor recordings.
  5107. * A new extension pattern matching algorithm, based on a trie, is introduced
  5108. here, that could noticeably speed up mid-sized to large dialplans.
  5109. It is NOT used by default, as duplicating the behaviour of the old pattern
  5110. matcher is still under development. A config file option, in extensions.conf,
  5111. in the [general] section, called "extenpatternmatchingnew", is by default
  5112. set to false; setting that to true will force the use of the new algorithm.
  5113. Also, the cli commands "dialplan set extenpatternmatchingnew true/false" can
  5114. be used to switch the algorithms at run time.
  5115. * A new option when starting a remote asterisk (rasterisk, asterisk -r) for
  5116. specifying which socket to use to connect to the running Asterisk daemon
  5117. (-s)
  5118. * Performance enhancements to the sched facility, which is used in
  5119. the channel drivers, etc. Added hashtabs and doubly-linked lists
  5120. to speed up deletion; start at the beginning or end of list to
  5121. speed up insertion.
  5122. * Added Doubly-linked lists after the fashion of linkedlists.h. They are in
  5123. dlinkedlists.h. Doubly-linked lists feature fast deletion times.
  5124. Added regression tests to the tests/ dir, also.
  5125. * Added a refcount trace feature to astobj2 for those trying to balance
  5126. object creation, deletion; work, play; space and time. See the
  5127. notes in astobj2.h. Also, see utils/refcounter as well, as a
  5128. quick way to find unbalanced refcounts in what could be a sea
  5129. of objects that were balanced.
  5130. * Added logging to 'make update' command. See update.log
  5131. * Added strictrtp option to rtp.conf. If enabled this will drop RTP packets that
  5132. do not come from the remote party.
  5133. * Added the 'n' option to the SpeechBackground application to tell it to not
  5134. answer the channel if it has not already been answered.
  5135. * Added a compiler flag, CHANNEL_TRACE, which permits channel tracing to be
  5136. turned on, via the CHANNEL(trace) dialplan function. Could be useful for
  5137. dialplan debugging.
  5138. * iLBC source code no longer included (see UPGRADE.txt for details)
  5139. * If compiled with DETECT_DEADLOCKS enabled and if you have glibc, then if
  5140. deadlock is detected, a backtrace of the stack which led to the lock calls
  5141. will be output to the CLI.
  5142. * If compiled with DEBUG_THREADS enabled and if you have glibc, then issuing
  5143. the "core show locks" CLI command will give lock information output as well
  5144. as a backtrace of the stack which led to the lock calls.
  5145. * users.conf now sports an optional alternateexts property, which permits
  5146. allocation of additional extensions which will reach the specified user.
  5147. * A new option for the configure script, --enable-internal-poll, has been added
  5148. for use with systems which may have a buggy implementation of the poll system
  5149. call. If you notice odd behavior such as the CLI being unresponsive on remote
  5150. consoles, you may want to try using this option. This option is enabled by default
  5151. on Darwin systems since it is known that the Darwin poll() implementation has
  5152. odd issues.
  5153. Timer Changes
  5154. --------------------
  5155. * In addition to timing from DAHDI, there is a new timing module called
  5156. res_timing_timerfd. In order to use this, you must be running Linux with
  5157. a kernel version 2.6.25 or newer as well as glibc 2.8 or newer. The configure
  5158. script will be able to tell if you have the requirements. From menuselect, select
  5159. res_timing_timerfd from the Resource Modules menu.