[asterisk-users] How to finish an AGI

Danny Dias ing.diasdanny at gmail.com
Thu Sep 2 16:58:49 CDT 2010


YES YES...that's what i want ;)

so simple but i was so tired :(

I will try it and let you know ;)

THANKS my friend

2010/9/2 Danny Nicholas <danny at debsinc.com>

>   *From:* asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at 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 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
>



-- 
Salu2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100902/3d36d67d/attachment.htm 


More information about the asterisk-users mailing list