All of this is already present in the XML CDR, each action, every step all time stamped down to microseconds and more accurate than setting variables. Did you happen to load xml_cdr and do a call and see the information? /b On Wed, Nov 9, 2022 at 10:08 AM Antony Stone < Antony.Stone@freeswitch.open.source.it> wrote:
On Wednesday 09 November 2022 at 15:49:04, Gregor Nanger wrote:
What does ${regex(${system date '+%F %T.%6N'}|(.+)|%1)} returns? If I try it in CLI I don't get anything.
I haven't tried it in the CLI - I need it in the dialplan.
The log output of that shows me:
[2022-11-09 14:00:23.682026] helen eac89f23-fd7b-4514-b473-a3effb857b84 2022-11-09 14:00:23.663775 89.47% [INFO] switch_core_session.c:2897 EXECUTE [depth=0] sofia/trunk/0x3x1x2x0x0@195.51.100.56 set(now=2022-11-09 14:00:23.679399)
I then have a variable ${now} which I can use later.
Antony.
-- "Life is just a lot better if you feel you're having 10 [small] wins a day rather than a [big] win every 10 years or so."
- Chris Hadfield, former skiing (and ski racing) instructor
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>