| String c_SIP_Behavior = "Behavior_SIP"; | |
| // Events | |
| String c_SIP_eventName_INVITE = "INVITE"; | |
| String c_SIP_eventName_CANCEL = "CANCEL"; | |
| String c_SIP_eventName_ACK = "ACK"; | |
| String c_SIP_eventName_BYE = "BYE"; | |
| String c_SIP_eventName_RetransmittedRequest = "Retransmitted request"; | |
| // TestSteps | |
| String c_SIP_stepFunction_createResponse = "SIPAppLib: StepFunction_createResponse"; | |
| String c_SIP_stepFunction_createBYE = "SIPAppLib: StepFunction_createBYE"; | |
| String c_SIP_stepFunction_init = "SIPAppLib: StepFunction_init"; | |
| String c_SIP_stepFunction_handleINVITE = "SIPAppLib: StepFunction_handleINVITE"; | |
| // Methods | |
| int c_SIP_Method_CANCEL = 2; | |
| int c_SIP_Method_INVITE = 4; | |
| int f_EPTF_SIP_mapAnswerCode2SipTemplateCode(int p_answerCode) | |
| { | |
| if (p_answerCode == 180) | |
| return 1; | |
| else if (p_answerCode == 486) | |
| return 37; | |
| else if (p_answerCode == 200) | |
| return 5; | |
| else if (p_answerCode == 487) | |
| return 38; | |
| } |