[SIPForum-discussion] All possible responses of various SIP requests

Partho Biswas partho.maple at gmail.com
Wed Nov 6 19:37:01 UTC 2013


I am writing a sip stack in C++. I need to know the all possible responses
of SIP requests(REGISTER, INVITE, OPTION etc) separately. So far i have got
the following...

:::::::::: All possible responses of REGISTER request ::::::::::
 The UAC may receive 2xx, 3xx(except 300, 380) or 4xx(except 402, 409, 480,
481, 486, 487, 488, 489, 491) responses excluding.



 :::::::::: All possible responses of INVITE request ::::::::::
 The UAC may receive 1xx, 2xx, 4xx(Except 409, 410, 433, 481, 487)
responses.



:::::::::: All possible responses of OPTION request ::::::::::
 A proxy never generates an OPTION request. A UAC or UAS responds to the
OPTION request as it would to an INVITE. It would respond with 4xx(Except
409, 410, 433, 481, 487) or 6xx responses.



:::::::::: All possible responses of ACK request ::::::::::
 ACKs are only used for INVITE. The UAC or UAS may send or receive, and ACK
in response to the 2xx responses and it is End-to-End. So, for 2xx, ACK is
end-to-end. And for non-2xx, ACK is hop-by-hop.



:::::::::: All possible responses of CANCEL request ::::::::::
 CANCELs are hop-by-hop request. A UA confirms the call CANCEL request with
2xx response and replies to the invite with 487 response.



:::::::::: All possible responses of BYE request ::::::::::
 A BYE is only used to terminate a established media sessions and is sent
only by UAs participation in a sessions, never by proxies or other 3rd
parties. For a BYE request we can get 481, 2xx responses.




I am sure that those are not all. Please indicate what else need to
change/add/delete. And also please indicate if i am wrong. Any help would
be highly appreciated...

Thanks,
Partho Biswas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20131107/47130e33/attachment-0002.html>


More information about the discussion mailing list