Doorbird: Ability to hangup SIP call

Hi,
currently I‘m switching from openhab to has.
In openhab there was a function in the doorbird binding which determined if the doorbird is currently ringing the phone and hangup the call.
I used this to hangup the call when the front door gets opened.
Is there a way to add this to has?

Thank you!

Oliver