Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk13 don't execute h exten inside macros


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
alonso at planetfone.c...
Guest





PostPosted: Thu Nov 20, 2014 12:27 pm    Post subject: [asterisk-users] Asterisk13 don't execute h exten inside mac Reply with quote

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
alonso@planetfone.com.br







--
_____________________________________________________________________
-- 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
Back to top
johnkiniston at gmail.com
Guest





PostPosted: Thu Nov 20, 2014 12:41 pm    Post subject: [asterisk-users] Asterisk13 don't execute h exten inside mac Reply with quote

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


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 <alonso@planetfone.com.br (alonso@planetfone.com.br)> wrote:
Quote:
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
alonso@planetfone.com.br (alonso@planetfone.com.br)







--
_____________________________________________________________________
-- 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
Back to top
alonso at planetfone.c...
Guest





PostPosted: Fri Nov 21, 2014 5:36 am    Post subject: [asterisk-users] Asterisk13 don't execute h exten inside mac Reply with quote

----- Mensagem original -----

Quote:
De: "John Kiniston" <johnkiniston@gmail.com>
Para: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com>
Enviadas: Quinta-feira, 20 de novembro de 2014 15:41:29
Assunto: Re: [asterisk-users] Asterisk13 don't execute h exten inside macros

Quote:
Alonso,

Quote:
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.

Quote:
https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+13

Quote:
"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"

Quote:
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.


Quote:
They work anywhere because they are attached to the channel instead of being
dependent on where the call is inside your dialplan.

Quote:
On Thu, Nov 20, 2014 at 10:27 AM, Alonso Genis < alonso@planetfone.com.br >
wrote:

Quote:
Quote:
Hi,


Quote:
Quote:
We are try new Asterisk13 and was noted it don't execute h exten priorities
inside macros.


Quote:
Quote:
We have a macro where we make all our call processing, and we use h exten
inside it for billing (updating CDR(vars)).


Quote:
Quote:
If context where that macro is called have some h extens, asterisk execute
them. So, I wonder, h exten inside macros was deprecated?


Quote:
Quote:
Thanks in advance.


Quote:
Quote:
Atenciosamente,


Quote:
Quote:
Alonso Genis

Quote:
Analista de Desenvolvimento

Quote:
alonso@planetfone.com.br


Quote:
Quote:
--

Quote:
_____________________________________________________________________

Quote:
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Quote:
New to Asterisk? Join us for a live introductory webinar every Thurs:

Quote:
http://www.asterisk.org/hello


Quote:
Quote:
asterisk-users mailing list

Quote:
To UNSUBSCRIBE or update options visit:

Quote:
http://lists.digium.com/mailman/listinfo/asterisk-users


Quote:
--
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

Quote:
--
_____________________________________________________________________
-- 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

Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services