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

Alexandru Coseru alex_spam at distinctgroup.net
Thu Dec 11 03:26:14 MST 2003


I thought that this is the best solution..
I've already made some small apps for * , and it is not so hard indeed...

The question was asked as a general thing , not related to playing
prompts....  I could have some voicemail apps there or any other
application...

Thanks a lot
    Alex
----- Original Message ----- 
From: "Steven Critchfield" <critch at basesys.com>
To: <asterisk-users at lists.digium.com>
Sent: Thursday, December 11, 2003 12:08 PM
Subject: Re: [Asterisk-Users] Forcing to exec an app into an extension ,even
if user hangs up


> On Thu, 2003-12-11 at 03: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....
>
> Why don't you play the prompts from within your own app? Then you could
> do any number of more interesting reporting things. Playing a file from
> within a app isn't difficult.
> -- 
> Steven Critchfield <critch at basesys.com>
>
> _______________________________________________
> 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