| CPC H04L 65/1104 (2022.05) [H04L 65/1016 (2013.01); H04L 69/22 (2013.01)] | 20 Claims |

|
1. A system for mapping a Session Initiation Protocol (SIP) response code with a cause code, the system comprising:
a Business Telephony Application Server (BTAS) (102), the BTAS (102) comprising:
a processor (202); and
a memory (204) coupled to the processor (202), wherein the memory (204) comprises processor-executable instructions, which on execution, cause the processor (202) to:
receive, in response to a SIP request message, a SIP response message, wherein the SIP response message corresponds to at least one of a provisional SIP response message and a final SIP response message;
determine at least one of a pre-defined cause code in a reason header field associated with said at least one of the provisional SIP response message and the final SIP response message, and an error response code in a reason header field associated with the final SIP response message;
in response to the determination of the pre-defined cause code in the final SIP response message, modify the pre-defined cause code in the reason header field associated with the final SIP response message based on the pre-defined cause code in the reason header field associated with the provisional SIP response message;
in response to the determination of the error response code in the final SIP response message, modify the error response code in the reason header field associated with the final SIP response message based on the pre-defined cause code in the reason header field associated with the provisional SIP response message;
map the pre-defined cause code in the final SIP response message with a corresponding SIP response code; and
provide the final SIP response message with the mapped SIP response code and a reason message associated with the SIP response code.
|