You have to use DeadAGI instead of AGI to call your script, for example:

exten => 77,1,Answer
exten => 77,2,DeadAGI(astcc.agi)
exten => 77,3,Hangup

Regards..

      Nahuel Ramos.


On Thu, 4 Nov 2004 13:14:56 -0400, Victor Cartes
<[EMAIL PROTECTED]> wrote:
> Does anybody know how to stop the AGI process after the user Hang-Up? 'Cause
> it stills running if the transaction is ended by the user.
> 
> Thanks
> 
> V�ctor
> 
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to