Search code examples
sipsip-server

[SIP]Response on Receiving 488 (Not Acceptable Here)


I am facing an issue regrading the Sip call my flow is as below.

  1. A Party sends INVITE to SIP agent
  2. SIP Agent sends INVITE to B party
  3. B replies with 100 (Trying)
  4. B sends SIP 488 (Not Acceptable Here)
  5. Cal Disconected
  6. Sip Agent sends 488 (Not Acceptable Here) to A
  7. A Send ACK
  8. B sends SIP 488 (Not Acceptable Here)
  9. SIP Agent sends an INVITE
  10. B sends SIP 488 (Not Acceptable Here)
  11. SIP Agent sends an INVITE

in this flow at point 4 B party is sending 488 message, for this B party is expecting an ACK for this.. as we are not sending ACK B party is sending 488 again and again.

My Question.. is it mandatory that on receiving 488 Error case should we send ACK before disconnecting the call.. if we send ACK will there be any issue.


Solution

  • My Question.. is it mandatory that on receiving 488 Error case should we send ACK before disconnecting the call..

    You need to be really precise here, 488 (similar to 606 btw) can be received on an initial INVITE transaction or in a RE-INVITE transaction.

    In your case, it is an initial INVITE so yes the ACK is compulsory and the call is terminated.

    In case of RE-INVITE, the ACK is compulsory but the call is not terminated.

    if we send ACK will there be any issue.

    From a signaling standpoint there is no problem at all, the call setup has failed and the user may retry another call with a different codec for instance.