Joshua C. Colp
2023-Jun-17 23:27 UTC
[asterisk-users] Expanding my answering-machine system
On Sat, Jun 17, 2023 at 7:48 PM Steve Matzura <sm at noisynotes.com> wrote:> OK, this is how I thought it's supposed to work. It just confounded me why > the book would say the Playback() and Background() syntax were the same, > then in the very next paragraph give an example that belied that claim. >The syntax is the same. They both take a filename. The example gave a filename of "enter-ext-of-person". You could pass that to Playback, though you would be unable to enter an extension. -- Joshua C. Colp Asterisk Project Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230617/dc4215b6/attachment.html>
Steve Matzura
2023-Jun-18 12:22 UTC
[asterisk-users] Expanding my answering-machine system
Sorry, Joshua, I don't understand. One's a filename, one's an extension number. How are they the same? In other words, why would 'enter-ext-of-person' be considered a filename? I would think 'enter-ext-of-person' would be an extension number. On 6/17/2023 7:27 PM, Joshua C. Colp wrote:> On Sat, Jun 17, 2023 at 7:48 PM Steve Matzura <sm at noisynotes.com> wrote: > > OK, this is how I thought it's supposed to work. It just > confounded me why the book would say the Playback() and > Background() syntax were the same, then in the very next paragraph > give an example that belied that claim. > > > The syntax is the same. They both take a filename. The example gave a > filename of "enter-ext-of-person". You could pass that to Playback, > though you would be unable to enter an extension. > > -- > Joshua C. Colp > Asterisk Project Lead > Sangoma Technologies > Check us out at www.sangoma.com <http://www.sangoma.com> and > www.asterisk.org <http://www.asterisk.org> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230618/59130cd1/attachment.html>