• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[asterisk-dev] Ideas on starting a background "autoservice"

 
   AsteriskGuru Archives Forum Index -> Asterisk-Dev
View previous topic :: View next topic  
Author Message
asterisk.org at sedwards.
Guest





PostPosted: Thu May 28, 2009 3:10 pm    Post subject: [asterisk-dev] Ideas on starting a background "autoservice"

On Thu, 28 May 2009, Stephen Davies wrote:

Quote:
I have an application where I need to be able to start a file playing back
on a channel, but be able to continue with execution in my agi-script /
dialplan whilst the file plays. I will then stop the playback later.

The idea is to start a "please wait" type message on the channel but be able
to continue routing the call in the meantime and be able to immediately
interrupt and cancel the playback when we have something to do. Kind of
like a "ringing" but using a generator that plays back a file.

I do this with a multi-threaded AGI that authorizes credit card
transactions. I create a thread to play "Please wait while..." and then
process the authorization in the "foreground."

By the time the prompt finishes I usually have my authorization response
so the process appears instantaneous to the caller.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Dev All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™