Re: [Asterisk-Users] MeetMe with AGI scripts
Andy Powell wrote: On 13/05/2004 at 14:57 Paul Crick wrote: I've had a quick look through the mail list and wiki but haven't yet resorted to looking at the meetme source code.. I see references to a background agi script that can run if you're using Zap channels. Am I right in saying that that script runs for each channel in the conference? Or is it a one time deal, running when the conference is created? I should point out that you don;t actually have to be *using* a ZAP channel for the background agi to work. The script starts when the first person enters, once the conference is over it;s upto the script to realize this and exit (otherwise you'll end up with lots of processes laying about) ...so are you telling us that the background AGI needs a Zaptel Timer? If not, please explain what we require to run the background stuff again, so we can document it in a better way. /O ___ 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
Re: [Asterisk-Users] MeetMe with AGI scripts
On 14/05/2004 at 09:00 Olle E. Johansson wrote: Andy Powell wrote: I should point out that you don;t actually have to be *using* a ZAP channel for the background agi to work. The script starts when the first person enters, once the conference is over it;s upto the script to realize this and exit (otherwise you'll end up with lots of processes laying about) ...so are you telling us that the background AGI needs a Zaptel Timer? If not, please explain what we require to run the background stuff again, so we can document it in a better way. Yes ...it works fine on my system which has and x100p and tdm20b from sip phones analog phones, iax phones.. - and I don't think I'm particularly blessed.. Andy ___ 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] MeetMe with AGI scripts
I've had a quick look through the mail list and wiki but haven't yet resorted to looking at the meetme source code.. I see references to a background agi script that can run if you're using Zap channels. Am I right in saying that that script runs for each channel in the conference? Or is it a one time deal, running when the conference is created? The backgrounder behind my question is that I have an IVR app where the caller will dial in to the system and interact. At some point I'll want them to zero-out to a call center operator, but once that conversation is finished, return them back to the IVR system to complete their transaction. I'm thinking I have to use a meetme conference to do this (as I want the original inbound IVR call to continue after the operator conversation)? A related question: What about letting 2 Zap channels talk online then continue with IVR, like in a chatline type application? I'm thinking I can't do this from within the AGI script spawned when the call arrives and have to use the manager interface to push calls around? Thanks in advance Paul ___ 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
Re: [Asterisk-Users] MeetMe with AGI scripts
On 13/05/2004 at 14:57 Paul Crick wrote: I've had a quick look through the mail list and wiki but haven't yet resorted to looking at the meetme source code.. I see references to a background agi script that can run if you're using Zap channels. Am I right in saying that that script runs for each channel in the conference? Or is it a one time deal, running when the conference is created? I should point out that you don;t actually have to be *using* a ZAP channel for the background agi to work. The script starts when the first person enters, once the conference is over it;s upto the script to realize this and exit (otherwise you'll end up with lots of processes laying about) The backgrounder behind my question is that I have an IVR app where the caller will dial in to the system and interact. At some point I'll want them to zero-out to a call center operator, but once that conversation is finished, return them back to the IVR system to complete their transaction. I'm thinking I have to use a meetme conference to do this (as I want the original inbound IVR call to continue after the operator conversation)? Ok, here's my quick thoughts on this. When the caller calls, put them into a conference with the background agi running. When they need to talk to an operator, get them to press 0 (for example). When they do this, generate a call file that rings an operator which when they answer puts them in the same conference. When the operator is finished they just hang up. Use MeetMeCount to determine if the operator has left A related question: What about letting 2 Zap channels talk online then continue with IVR, like in a chatline type application? I'm thinking I can't do this from within the AGI script spawned when the call arrives and have to use the manager interface to push calls around? I think you can apply the same principle outlined above for this.. HTH Andy ___ 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
RE: [Asterisk-Users] MeetMe with AGI scripts
Quoting Andy Powell: I should point out that you don;t actually have to be *using* a ZAP channel for the background agi to work. The script starts when the first person enters, once the conference is over it;s upto the script to realize this and exit Ah.. right.. this makes sense, I *think*.. so is the AGI script able to interact with the caller? like respond to DTMFs and get files to play using stream file etc? Is it like the AGI is another person in the conference? If so, your comment about putting the caller in the conference immediately then generating a call file for the zero out to operator part makes sense. For the major part of the call, it's a conference with the caller and the AGI script interacting.. then we zero out, monitor participant count, and once that's reduced after the successful interaction with the operator, the AGI call flow continues? I'm not sure how that would work in a chat line type environment though? Person A is in conference 1, talking to the AGI.. Person B is in conference 2 doing the same thing.. they now need to talk to each other.. Would I use the manager interface to put person B in to person A's conference? Or just exec the meetme app with the other person's room number? Person B's AGI would need to do some monitoring to see if Person B hangs up? (or is it covered by the Zap channel handler?) What about DTMF detection in that case - I'd need to know who pressed the key to exit the live chat session.. Doable? Sorry for the million questions - I know what I want to do it, and how it would work in a Dialogic environment (having done this all already) but I'm still trying to get to grips with the way Asterisk works with resources, channels etc. . Thanks again Paul ___ 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