Yeah that is what I ended up doing. I figured I could modify the source but I don't want to lose the ability to upgrade through Digium's yum repositories - that scenario (the inexistent file) is extremely unlikely anyways.
Thanks for your input, Moises - at least now I know I wasn't doing it wrong. Cheers, Juan On 10-10-30 1:49 PM, "Moises Silva" <[email protected]> wrote: >It seems this behaviour has been there since 1.2.0. Whether is a bug >or not is debatable, but indeed looks inconsistent. You can change >that behaviour quickly editing the C source code and may be proposing >a patch in issues.asterisk.org, but I guess most people has just >worked-around that behaviour by checking if the file is there first >:-) > >Moises Silva >Senior Software Engineer >Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON >L3R 9R6 Canada >t. 1 905 474 1990 x128 | e. [email protected] > > > >On Fri, Oct 29, 2010 at 11:40 AM, Juan Sicardi <[email protected]> >wrote: >> Hello folks, >> >> I'm wondering if anyone has used the CONTROL STREAM FILE command called >>from an AGI environment. For some reason if it tries to play an >>inexistent prompt it hangs up the channel instead of returning an error >>code (just like STREAM FILE does). >> >> Here's a quick and dirty PHPAGI script to better illustrate the >>scenario: http://pastebin.com/TVaYc5mQ >> >> Anyone knows if that's the expected behavior or should I file a bug >>report with Digium? >> >> Thanks, >> Juan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
