<div dir="ltr"><div>Alonso,<br><br></div><div>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.<br><br><a href="https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+13">https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+13</a><br><br>"The <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_cdr#Asterisk13Configuration_cdr-general_endbeforehexten" rel="nofollow"><code>endbeforehexten</code></a> setting now defaults to <code>yes</code>, instead of <code>no</code>. When set to <code>no</code>, this setting will cause a new CDR to be generated when a channel enters into hangup logic (either the <code>'h'</code>
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"</div><div><br>You may want to take a look at Hangup Handlers <a href="https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers">https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers</a><br><br></div>They work anywhere because they are attached to the channel instead of being dependent on where the call is inside your dialplan.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 20, 2014 at 10:27 AM, Alonso Genis <span dir="ltr"><<a href="mailto:alonso@planetfone.com.br" target="_blank">alonso@planetfone.com.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
We are try new Asterisk13 and was noted it don't execute h exten priorities inside macros.<br>
<br>
We have a macro where we make all our call processing, and we use h exten inside it for billing (updating CDR(vars)).<br>
<br>
If context where that macro is called have some h extens, asterisk execute them. So, I wonder, h exten inside macros was deprecated?<br>
<br>
Thanks in advance.<br>
<br>
<br>
<br>
<br>
<br>
<br>
Atenciosamente,<br>
<br>
<br>
Alonso Genis<br>
Analista de Desenvolvimento<br>
<a href="mailto:alonso@planetfone.com.br">alonso@planetfone.com.br</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">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.<br>---Heinlein</div>
</div>