Answer the question
In order to leave comments, you need to log in
What variable does asterisk have when determining the caller's number?
There is a macro in asterisk,
exten => 123456,1,Set(fname=${STRFTIME(${EPOCH},,%H%M)}-${CALLERID(number)}-${EXTEN})
Answer the question
In order to leave comments, you need to log in
You need to study this in your extensions.conf, because, apparently, after that, the number gets somewhere, where the internal number is already selected by $ {EXTEN}, which means that at the time the recording starts, this number is naturally unknown.
here it is described how to get the number from the headers
https://tech.iprock.com/?p=17039
here${CUT(CUT(SIP_HEADER(To),@,1),:,2)}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question