A
A
Artem Kravchenko2015-07-14 15:19:27
FreeSWITCH
Artem Kravchenko, 2015-07-14 15:19:27

What is the best way to get a unique call ID?

We have a self-written CRM that allows you to call from the site. There is FreeSwitch, which includes call recording. The problem is that I need to somehow find out the name of the call recording file that FreeSwitch makes in CRM. Now the file name is given like this: call_records/${caller_id_number}/${destination_number}/${strftime(%Y-%m-%d-%H-%M-%S)}.wav
Is there any variable , which contains some unique call identifier so that it is also in the SIP stack, and can it be used in the file name when recording a conversation?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2015-07-14
@rostel

uuid
is not present in SIP, but can be added as an additional header

T
TerakadoOtsu, 2015-07-14
@TerakadoOtsu

Callid can be used for this. It is, in fact, a unique call identifier.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question