Martin Tirsel
2008-Dec-10 17:21 UTC
[asterisk-users] Execute AGI after answered Dial() has ended
Hello, I am googling for a while but google seems to be broken today, no solution yet :D I have a PHP script which needs to be started after Dial() has ended. If there is no answer, busy, etc., it is not a problem, because dialplan continues after the Dial() application, but when the call is established (i call macro in Dial() with AGI execution, working ok) and after the call ends, dialplan execution stops on the Dial(). But I need dialplan to continue after call end and execute the AGI script. Is there any way how to do it? Thanks for help, mt
Carlos Chavez
2008-Dec-10 17:32 UTC
[asterisk-users] Execute AGI after answered Dial() has ended
Use the "h" extension and execute DeadAGI. On Wed, 2008-12-10 at 18:21 +0100, Martin Tirsel wrote:> Hello, > > I am googling for a while but google seems to be broken today, no > solution yet :D I have a PHP script which needs to be started after > Dial() has ended. If there is no answer, busy, etc., it is not a > problem, because dialplan continues after the Dial() application, but > when the call is established (i call macro in Dial() with AGI execution, > working ok) and after the call ends, dialplan execution stops on the > Dial(). But I need dialplan to continue after call end and execute the > AGI script. > > Is there any way how to do it? > > Thanks for help, > mt > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20081210/3bd8200f/attachment.pgp
Geraint Lee
2008-Dec-10 17:32 UTC
[asterisk-users] Execute AGI after answered Dial() has ended
use deadagi on the h extension maybe? Cheers Geraint 2008/12/10 Martin Tirsel <ak at blackpage.eu>> Hello, > > I am googling for a while but google seems to be broken today, no > solution yet :D I have a PHP script which needs to be started after > Dial() has ended. If there is no answer, busy, etc., it is not a > problem, because dialplan continues after the Dial() application, but > when the call is established (i call macro in Dial() with AGI execution, > working ok) and after the call ends, dialplan execution stops on the > Dial(). But I need dialplan to continue after call end and execute the > AGI script. > > Is there any way how to do it? > > Thanks for help, > mt > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081210/61a1436a/attachment.htm
David fire
2008-Dec-10 18:03 UTC
[asterisk-users] Execute AGI after answered Dial() has ended
2008/12/10 Martin Tirsel <ak at blackpage.eu>> Hello, > > I am googling for a while but google seems to be broken today, no > solution yet :D I have a PHP script which needs to be started after > Dial() has ended. If there is no answer, busy, etc., it is not a > problem, because dialplan continues after the Dial() application, but > when the call is established (i call macro in Dial() with AGI execution, > working ok) and after the call ends, dialplan execution stops on the > Dial(). But I need dialplan to continue after call end and execute the > AGI script. > > Is there any way how to do it? > > Thanks for help, > mt > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >you can try whit the "g" option to dial. David -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081210/970bdfac/attachment.htm
Martin Tirsel
2008-Dec-11 22:53 UTC
[asterisk-users] Execute AGI after answered Dial() has ended [SOLVED]
Carlos Chavez wrote:> Use the "h" extension and execute DeadAGI.Seems to be working. I have access to variables too. David fire wrote: > > > you can try whit the "g" option to dial. > David This works only when the called side hungs up, but not the when caller