<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt"><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;">It's a known problem.<br><br>If you call Background() in a macro, then Asterisk will look for the extensions to jump to in the CALLING Macro/context and NOT the Macro that the Background() app was called in.<br><br>Eg:<br><br>[macro-DoSomething]<br>exten => s,1,Background(Prompt)<br>exten => 1,1,NoOP()<br><br>[context1]<br>exten => s,1,Macro(DoSomething)<br><br>If you press 1, Asterisk will look for an extension '1' in the context 'context1', NOT the 'DoSomething' macro.<br><br>Doug.<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Al Baker <bwentdg@pipeline.com><br>To: Asterisk Users Mailing List -
Non-Commercial Discussion <asterisk-users@lists.digium.com><br>Sent: Thursday, July 10, 2008 4:50:19 PM<br>Subject: Re: [asterisk-users] Asterisk as an IVR solution<br><br>
Why can't you call Background() from a MACRO ?<br>Isn't is just an Application like any other ?<br>Curious minds want to know !<br><br>Quote "There's also the fact that you can't<br> > call Backgound() in a macro,"<br><br>Douglas Garstang wrote:<br>> Don't know about Asterisk 1.4, but in Asterisk 1.2 it expects the <br>> input in seconds. If you try and use 0, it seems to drop back to a <br>> default of 5s.<br>><br>> ----- Original Message ----<br>> From: MFH <<a ymailto="mailto:asterisk-admin@hulber.com" href="mailto:asterisk-admin@hulber.com">asterisk-admin@hulber.com</a>><br>> To: Asterisk Users Mailing List - Non-Commercial Discussion <br>> <<a ymailto="mailto:asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>> Sent: Thursday, July 10, 2008 12:37:31 PM<br>> Subject: Re: [asterisk-users] Asterisk as an IVR solution<br>><br>> From
what I can tell Read allows for a floating point input which uses<br>> ast_waitfordigit that accepts milliseconds as input.<br>><br>> Douglas Garstang wrote:<br>> > Admittedly I have not used the ExternalIVR app. Is it any good?<br>> ><br>> > I'm not sure I agree that Asterisk is GOOD for building IVR's. Sure,<br>> > it can do it, but boy it is UGLY. There's also the fact that you can't<br>> > call Backgound() in a macro, which forces you to use Read() which<br>> > won't accept a timeout of <1s. There's no DTMF background detection<br>> > while playing SayDigits so you have to roll your own by calling an<br>> > external AGI and concatenating sound files. Yuck. By the time you code<br>> > in logic for handling timeouts and incorrect responses to menu's with<br>> > all the gotos and what-not, it turns into a god aweful mess.<br>> ><br>> > Sure, you can do it.<br>>
><br>> > Doug.<br>> ><br>> ><br>> ><br>> > ----- Original Message ----<br>> > From: Steve Totaro <<a ymailto="mailto:stotaro@totarotechnologies.com" href="mailto:stotaro@totarotechnologies.com">stotaro@totarotechnologies.com</a> <br>> <mailto:<a ymailto="mailto:stotaro@totarotechnologies.com" href="mailto:stotaro@totarotechnologies.com">stotaro@totarotechnologies.com</a>>><br>> > To: Asterisk Users Mailing List - Non-Commercial Discussion<br>> > <<a ymailto="mailto:asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a> <br>> <mailto:<a ymailto="mailto:asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>>><br>> > Sent: Thursday, July 10, 2008 10:37:55 AM<br>> > Subject: Re: [asterisk-users] Asterisk as an IVR solution<br>> ><br>>
><br>> ><br>> > On Thu, Jul 10, 2008 at 1:25 PM, Mark Carpenter <<a ymailto="mailto:mark@sixvoices.com" href="mailto:mark@sixvoices.com">mark@sixvoices.com</a> <br>> <mailto:<a ymailto="mailto:mark@sixvoices.com" href="mailto:mark@sixvoices.com">mark@sixvoices.com</a>><br>> > <mailto:<a ymailto="mailto:mark@sixvoices.com" href="mailto:mark@sixvoices.com">mark@sixvoices.com</a> <mailto:<a ymailto="mailto:mark@sixvoices.com" href="mailto:mark@sixvoices.com">mark@sixvoices.com</a>>>> wrote:<br>> ><br>> > Hi.<br>> ><br>> > We are building an application that will provide users with the<br>> > ability to call in and report an absence. The caller will have to<br>> > validate themselves and the call tree will be dynamic, based on<br>> > data in a MySQL database. We will have many customers, each<br>>
> calling a separate phone number, each having a different call<br>> > tree. New customers will be added regularly and we do not want a<br>> > solution that requires extensive programming each time (the call<br>> > trees are different in subtle ways from each other).<br>> ><br>> > Is Asterisk a great solution for this? If not do you know what<br>> > would? If so, we need someone to help us set it up, can you<br>> > suggest someone?<br>> ><br>> > Thanks in advance. Best.<br>> ><br>> > Mark<br>> ><br>> ><br>> > Asterisk certainly is a great solution for this. If you find you need<br>> > or want extra flexibility, the external IVR app. <br>> > <a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ExternalIVR"
target="_blank">http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ExternalIVR</a><br>> ><br>> > Thanks,<br>> > Steve Totaro<br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>> ><br>> > AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>> > Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>> ><br>> > asterisk-users mailing list<br>> > To UNSUBSCRIBE or update options visit:<br>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br>>
_______________________________________________<br>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>><br>> AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>><br>> AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br><br>AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></div></div><br>
</body></html>