<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Anthony, would strftime [format_string] do the job? </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 5 Nov 2022 at 21:48, Piotr Gregor <<a href="mailto:piotr@dataandsignal.com">piotr@dataandsignal.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Antony,<div><br></div><div>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 services.</div><div>You create a module that exports one or more applications, you can call them from dialplan.</div><div><br></div><div>best,</div><div><br></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font style="background-color:rgb(255,255,255)" size="4" face="arial, helvetica, sans-serif"><img width="96" height="49" src="https://ci3.googleusercontent.com/mail-sig/AIorK4wE8rSMg277YOGBrgEQayYWXH2G53bMgBu7uf-k-vU6x5SD1T6YWorVfbkDegPbnXcFyHwBODg"><br></font></div><div><font style="background-color:rgb(255,255,255)" size="4" face="arial, helvetica, sans-serif"><br></font></div><div><font style="background-color:rgb(255,255,255)" size="4" face="arial, helvetica, sans-serif">Piotr Gregor</font></div><div><span style="background-color:rgb(255,255,255)"><font size="2" face="arial, helvetica, sans-serif">Software Engineer</font></span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:x-small"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:x-small">M: (+44) 07483 866 525     </span><span style="font-family:arial,helvetica,sans-serif;font-size:x-small">L: (+44) 01256 597 470     </span><span style="font-family:arial,helvetica,sans-serif;font-size:x-small">www: </span><a href="http://dataandsignal.com" style="font-family:arial,helvetica,sans-serif;font-size:x-small" target="_blank">dataandsignal.com</a></div><div><br></div><div><br><br><br></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 4, 2022 at 7:30 PM Antony Stone <<a href="mailto:Antony.Stone@freeswitch.open.source.it" target="_blank">Antony.Stone@freeswitch.open.source.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Friday 04 November 2022 at 19:13:27, Brian West wrote:<br>
<br>
> Antony,<br>
> <br>
> Maybe you can come to our next office hours?<br>
<br>
Er, what?  Where are you?<br>
<br>
> On Fri, Nov 4, 2022 at 1:05 PM Antony Stone wrote:<br>
> > On Friday 04 November 2022 at 18:25:21, Brian West wrote:<br>
> ><br>
> > > I'd not recommend doing that, because every time you do a get var, you<br>
> > > cause a pool allocation and doing this in a loop will make your session<br>
> > > pool swell at the rate of whatever you're calling get_var on.  Doing<br>
> > > anything at all inline with the dialplan is not the right approach. <br>
> > > your logic and info should be all external, keying off events either<br>
> > > on ESL or custom modules you wrote.<br>
> > <br>
> > Hm, this sounds like an interesting and important conceptual aspect of<br>
> > the way FreeSwitch works which I suspect I haven't fully "got".<br>
> > <br>
> > Can you point me at the documentation which explains this, for people who<br>
> > are more used to procedural programming, and show how we should be<br>
> > thinking about FreeSwitch dialplans instead?<br>
> > <br>
> > I'm certainly keen on using FreeSwitch in as efficient a manner as<br>
> > possible :)<br>
<br>
<br>
Antony.<br>
<br>
-- <br>
"Black holes are where God divided by zero."<br>
<br>
 - Steven Wright<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
<br>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><div><br></div><div dir="ltr" class="gmail_signature"></div></div>