From: [email protected]
[mailto:[email protected]] 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 the MACRO reachs the Hangup...dont
worry for the purpose of the macro, if the macro reachs the hangup the Agi
should stop working, but it continues with his job... :(

Does the AGI have a SIG(HUP) = IGNORE (pardon the syntax since I don't know
if it's PERL/PHP/whatever)?  If so, the AGI is "indestructible" (will finish
or have to be "killed")  You could have the macro set a variable at hangup
and kill the AGI when it returned

AGI runs

Macro runs

Macro gets hangup

Set xx=yes

Returns to AGI

If (xx=yes exit)

 

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

Reply via email to