Antony, Maybe you can come to our next office hours? On Fri, Nov 4, 2022 at 1:05 PM Antony Stone < Antony.Stone@freeswitch.open.source.it> wrote:
On Friday 04 November 2022 at 18:25:21, Brian West wrote:
I'm currently using cdr_odbc - do you see any problem in using both?
No issue at all, cdr_odbc gives you a fraction of the info that xml_cdr does.
Okay, thanks.
Also, just for a definitive answer, do I take it that there is no variable which the dialplan can reference in order to get the current timestamp?
I'd not recommend doing that, because every time you do a get var, you cause a pool allocation and doing this in a loop will make your session 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 who 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 :)
Thanks,
Antony.
-- In the Beginning there was nothing, which exploded.
- Terry Pratchett
Please reply to the list; please *don't* CC me.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>