----- Mensagem original ----- > De: "John Kiniston" <[email protected]> > Para: "Asterisk Users Mailing List - Non-Commercial Discussion" > <[email protected]> > Enviadas: Quinta-feira, 20 de novembro de 2014 15:41:29 > Assunto: Re: [asterisk-users] Asterisk13 don't execute h exten inside macros
> Alonso, > I can't answer if the 'h' extension inside macros was deprecated but I do see > a change to CDR processing in the Upgrade notes for 13. > https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+13 > "The endbeforehexten setting now defaults to yes , instead of no . When set > to no , this setting will cause a new CDR to be generated when a channel > enters into hangup logic (either the 'h' extension or a hangup handler > subroutine). In general, this is not the preferred default: this causes > extra CDRs to be generated for a channel in many common dialplans" > You may want to take a look at Hangup Handlers > https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers Thank you for your answer, i will try them. > They work anywhere because they are attached to the channel instead of being > dependent on where the call is inside your dialplan. > On Thu, Nov 20, 2014 at 10:27 AM, Alonso Genis < [email protected] > > wrote: > > Hi, > > > We are try new Asterisk13 and was noted it don't execute h exten priorities > > inside macros. > > > We have a macro where we make all our call processing, and we use h exten > > inside it for billing (updating CDR(vars)). > > > If context where that macro is called have some h extens, asterisk execute > > them. So, I wonder, h exten inside macros was deprecated? > > > Thanks in advance. > > > Atenciosamente, > > > Alonso Genis > > > Analista de Desenvolvimento > > > [email protected] > > > -- > > > _____________________________________________________________________ > > > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > > New to Asterisk? Join us for a live introductory webinar every Thurs: > > > http://www.asterisk.org/hello > > > asterisk-users mailing list > > > To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > -- > A human being should be able to change a diaper, plan an invasion, butcher a > hog, conn a ship, design a building, write a sonnet, balance accounts, build > a wall, set a bone, comfort the dying, take orders, give orders, cooperate, > act alone, solve equations, analyze a new problem, pitch manure, program a > computer, cook a tasty meal, fight efficiently, die gallantly. > Specialization is for insects. > ---Heinlein > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
