Hello @matthewljensen,
If you have problems using the Asterisk server for doing that (AMI, REST etc.),
You can always use an action url directly from your phone (Yealink, Grandstream etc.).
You can develop a web service that will accept the parameters that the ip phone will send it after answering the call.
Thank you,
Daniel Friedman