Just for laughs, I copied the [macro-pinsets] context from extensions_additional.conf, edited it replacing Progress with Answer() and put the modified version in extensions_override_freepbx.conf.
It works, but there are a few unwanted side effects:
- On answered calls, the CDR shows duration starting from the PIN prompt.
- Calls abandoned before completely entering the PIN show as answered with app Read.
- The calling device shows all calls as answered.
(1) could be fixed by resetting the CDR after accepting the PIN.
Possibly this workaround or something similar would be useful.
How is the PIN used? Unless it’s identifying the client on whose behalf the call is made, e.g. in a law firm, there may be an automated way to get the information, improving productivity in addition to solving the present technical issue. For example, some companies use a PIN to allocate phone charges to a specific department. But if the call costs less than 1% of the cost of the person making it, this is counterproductive.