[Asterisk-Users] Forcing to exec an app into an extension , even if user hangs up

Areski areski at e-group.org
Thu Dec 11 03:00:22 MST 2003


WHY NOT use an AGI script and create a callback function !
That work fine for me!
-Areski

On Thu, 2003-12-11 at 10:49, Alexandru Coseru wrote:
> Hello..
> 
> I'm having another problem right now...
> 
> There is a way to force the execution of an application into an extension ,
> even if the user hangs up before reaching it ?
> 
> 
> For instance:
> 
> exten => 500,1,Answer
> exten=>500,2,Play(prompt1)
> exten=>500,3,Play(prompt2)
> exten=>500,4,Play(prompt3)
> exten=>500,5,MyOwnApp
> exten=>500,6,Hangup
> 
> 
> Now , if the user sits back and doesn't touch the phone , it's all ok...
> But...
> If the user hangs up after the first prompt., how can I still exec myOwnApp
> ?
> let's say that is some kind of billing function , and I cannot use the
> cdr's....
> 
> 
> Thanks a lot
>     Alex
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list