Call custom API for Incoming Trigger Hang Up Event on Custom Telephony Integration

Call custom API for Incoming Trigger Hang Up Event on Custom Telephony Integration

Hi,
I want to integate SDP to custom telephony server. Make call API and pick up API is okay, but Hang up API not  work and get error:
  1. {
        "response_status": {
            "status_code": 4000,
            "messages": [
                {
                    "status_code": 4004,
                    "type": "failed",
                    "message": "Internal Error"
                }
            ],
            "status": "failed"
        }
    }

I check serverout0.txt and get attached error.


What should I do?