[Freeswitch-users] Current timestamp variable in dialplan?
piotr at dataandsignal.com
Sat Nov 5 20:46:39 UTC 2022
This sounds like a job for a module, especially that you mentioned you
would like to upload/send it somewhere and combine it with data from other
You create a module that exports one or more applications, you can call
them from dialplan.
M: (+44) 07483 866 525 L: (+44) 01256 597 470 www: dataandsignal.com
On Fri, Nov 4, 2022 at 7:30 PM Antony Stone <
Antony.Stone at freeswitch.open.source.it> wrote:
> On Friday 04 November 2022 at 19:13:27, Brian West wrote:
> > Antony,
> > Maybe you can come to our next office hours?
> Er, what? Where are you?
> > On Fri, Nov 4, 2022 at 1:05 PM Antony Stone wrote:
> > > On Friday 04 November 2022 at 18:25:21, Brian West wrote:
> > >
> > > > I'd not recommend doing that, because every time you do a get var,
> > > > cause a pool allocation and doing this in a loop will make your
> > > > pool swell at the rate of whatever you're calling get_var on. Doing
> > > > anything at all inline with the dialplan is not the right approach.
> > > > your logic and info should be all external, keying off events either
> > > > on ESL or custom modules you wrote.
> > >
> > > Hm, this sounds like an interesting and important conceptual aspect of
> > > the way FreeSwitch works which I suspect I haven't fully "got".
> > >
> > > Can you point me at the documentation which explains this, for people
> > > are more used to procedural programming, and show how we should be
> > > thinking about FreeSwitch dialplans instead?
> > >
> > > I'm certainly keen on using FreeSwitch in as efficient a manner as
> > > possible :)
> "Black holes are where God divided by zero."
> - Steven Wright
> Please reply to the
> please *don't* CC
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time
> Professional FreeSWITCH Services
> sales at freeswitch.com
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users