2012/10/5 Joseph Mastrogiulio
<address@hidden>
Hi Aymeric,
What event gets generated when an INVITE is finalized with a 6xx or 4xx final response? That is, if i issue an INVITE request to an endpoint, and the endpoint issues a non-200 final response (i.e. 3xx, 4xx, 5xx, 6xx), what exOsip event is generated (CALL_GLOBALFAILURE or CALL_RELEASED)?
The events are detailled in file eXosip2\eXosip.h:
EXOSIP_CALL_NOANSWER, /**< announce no answer within the timeout */
-> this is when you don't receive any final answer
EXOSIP_CALL_PROCEEDING, /**< announce processing by a remote app */
-> this is when receiving 100
EXOSIP_CALL_RINGING, /**< announce ringback */
-> this is when receiving 1xx
EXOSIP_CALL_ANSWERED, /**< announce start of call */
-> this is when receiving 2xx
EXOSIP_CALL_REDIRECTED, /**< announce a redirection */
-> this is when receiving 3xx
EXOSIP_CALL_REQUESTFAILURE, /**< announce a request failure */
-> this is when receiving 4xx
EXOSIP_CALL_SERVERFAILURE, /**< announce a server failure */
-> this is when receiving 5xx
EXOSIP_CALL_GLOBALFAILURE, /**< announce a global failure */
-> this is when receiving 6xx
I'm doing my best to use the same wording as from the rfc3261!
EXOSIP_CALL_RELEASED will also be sent when the call context will be released: ie, if
you receive a 6xx, you will first receive EXOSIP_CALL_GLOBALFAILURE and then
a second event EXOSIP_CALL_RELEASED when all context can be enterely released.
(with various delay depending on sip timeout and implementation constraint)
Regards
Aymeric
_______________________________________________
osip-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/osip-dev