How to capture SIP Response code on hangup like 4XX ane 5XX SIP Response code along with the text SIP Reason key in ARI?
We are using Node ARI client. We do receive cause code and cause text which represents the Q.850 cause code. We also wish to capture the SIP Response code on channel hangup.
Kindly suggest how can we do the same once the channel is hanged up?