[Asterisk-Users] Difficulty evaluating the return value of PlayBack (or any other extensions.conf command

Andreas Sikkema andreas.sikkema at ritstele.com
Mon Aug 9 00:52:32 MST 2004



> > I just started to "play" with Asterisk today and while I'm 
> > writing some IVR-like functionality in extensions.conf I 
> > would like to take a decision based on whether playing a file 
> > succeeds:
> Use AGI() to either check for the file presence, or to determine
> the rest of the dialplan logic (for example by setting a variable).

That's like using an elephant to kill a mouse. Why does the documentation of Playback suggests the return value can be used intelligently when there's no obvious (documented?) way of using it?

Is there a way to use it?

-- 
Andreas Sikkema
(on webmail so html post, sorry)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3266 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040809/0583e22e/attachment.bin


More information about the asterisk-users mailing list