[asterisk-users] Any way of creating a file to write to from the dialplan, or must I use AGI?

Jonathan H lardconcepts at gmail.com
Fri Nov 4 16:40:48 CDT 2016


Yes, that would also work (thanks!).

It just seems a bit hacky - STAT...GotoIf... System..,Return...FILE....

Has there been any previous discussion as to why FILE can't/won't
create a file and write to it in one shot?

If so, what was the outcome? Should I suggest it?

Thanks!

On 4 November 2016 at 21:32, John Covici <covici at ccs.covici.com> wrote:
> Won't the system command do it?
>
> On Fri, 04 Nov 2016 17:26:13 -0400,
> Jonathan H wrote:
>>
>> Seems I can write to an existing file, but is there really no way of
>> creating a new file to log some data to, without reverting to AGI?
>> (will be different for each caller ID)
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at: https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>          John Covici
>          covici at ccs.covici.com
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list