Good day!
This is a very small note, but the question is simple. Simple, but not so simple, sorry for X.
FreePBX has an excellent
Callback module. The system resets the call and calls back, connecting with the specified number. But at the same time CallerID is lost, and in the softphones a wonderful “Unknown” is highlighted.
Now I will tell you how to fix it from the webmord in a minute.
We will need a module
Set Caller ID . Install it if it is missing.
The chain looks like this:
Inbound Routes -> Callback. The call arrives at the created callback, a terminate call occurs, and the callback calls back to the client.
Further:
Callback Destination -> Set Caller ID -> Our destination. That is, in the Destination of our Callback, we indicate not the end point where to receive the call, but the element of the Set Caller ID module, which already has our destination. The module becomes a layer between the Callback and the destination.
')


Well, now the most important thing: setting the fields of the Set Caller ID module:
Caller id name: CALLBACK ${CUT(CUT(CHANNEL,@,1),/,2)}
Caller id num: ${CUT(CUT(CHANNEL,@,1),/,2)}
Result: normal display of the caller's number in CDR and softphones.
Good luck!