Re: [asterisk-users] How to finish an AGI

2010-09-04 Thread Edwin Quijada
*---* Date: Fri, 3 Sep 2010 10:29:02 +0200 From: ing.diasda...@gmail.com To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] How to finish an AGI Any particular reason you don't want to put the logic of the macro in your AGI? Yes...i've no idea how to do it...it's

Re: [asterisk-users] How to finish an AGI

2010-09-03 Thread Danny Dias
Any particular reason you don't want to put the logic of the macro in your AGI? Yes...i've no idea how to do it...it's a PERL script, i'm already checking how to do this...but it will be a little complicated :( 2010/9/3 Steve Edwards asterisk@sedwards.com On Thu, 2 Sep 2010, Danny Dias

[asterisk-users] How to finish an AGI

2010-09-02 Thread Danny Dias
Hello community, I need to finish an AGI script when it invokes a macro from dialplan, how can i do that? it's quite confusing...the macro is making a hangup but the script continues Thanks -- Salu2 -- _ -- Bandwidth and

Re: [asterisk-users] How to finish an AGI

2010-09-02 Thread Steve Edwards
On Thu, 2 Sep 2010, Danny Dias wrote: I need to finish an AGI script when it invokes a macro from dialplan, how can i do that? it's quite confusing...the macro is making a hangup but the script continues I don't understand your question, but I'm guessing it has something to do with:

Re: [asterisk-users] How to finish an AGI

2010-09-02 Thread Danny Dias
Hello Steven... Sorry for my poor explanation...what i'm trying to do is to invoke a Macro from my AGI, like this: $agi-exec(Macro,check-call-limit); If the Macro checks that the group_name is bigger than a number specified for every peer with setvar it should Hangup the call (frobidden,1 in

Re: [asterisk-users] How to finish an AGI

2010-09-02 Thread Danny Dias
What should i do to finish the macro if this macro reachs the Hangup? I tried to say: What should i do to finish the *AGI* if this macro reachs the Hangup? 2010/9/2 Danny Dias ing.diasda...@gmail.com Hello Steven... Sorry for my poor explanation...what i'm trying to do is to invoke a Macro

Re: [asterisk-users] How to finish an AGI

2010-09-02 Thread Danny Nicholas
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Dias Subject: Re: [asterisk-users] How to finish an AGI snip This isn't really a task for AGI since it is by nature single-call specific. As I interpret what I read, you

Re: [asterisk-users] How to finish an AGI

2010-09-02 Thread Danny Dias
Nicholas da...@debsinc.com *From:* asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] *On Behalf Of *Danny Dias *Subject:* Re: [asterisk-users] How to finish an AGI snip This isn’t really a task for AGI since it is by nature single-call specific

Re: [asterisk-users] How to finish an AGI

2010-09-02 Thread Danny Nicholas
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Dias Subject: Re: [asterisk-users] How to finish an AGI No nicolas...that's not what i want...by the way sound very complicated :( What i need is to FINISH THE AGI when

Re: [asterisk-users] How to finish an AGI

2010-09-02 Thread Danny Dias
*Subject:* Re: [asterisk-users] How to finish an AGI No nicolas...that's not what i want...by the way sound very complicated :( What i need is to FINISH THE AGI when the MACRO reachs the Hangup...dont worry for the purpose of the macro, if the macro reachs the hangup the Agi should stop working

Re: [asterisk-users] How to finish an AGI

2010-09-02 Thread Steve Edwards
On Thu, 2 Sep 2010, Danny Dias wrote: Sorry for my poor explanation...what i'm trying to do is to invoke a Macro from my AGI, like this: $agi-exec(Macro,check-call-limit); If the Macro checks that the group_name is bigger than a number specified for every peer with setvar it should Hangup