mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
generate roundtrip delay requests and responses
added response to roundtrip delay requests from opposite side added roundtrip delay request sending to opposite side after answer, added options for sending request (interval between request and count of unreplied requests before forced call hangup) (closes issue #16976) Reported by: vmikhelson Patches: rtdr-1.6.0-2.patch uploaded by may213 (license 454) Tested by: vmikhelson, may213 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@252277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2003,6 +2003,11 @@ int ooAcceptCall(OOH323CallData *call)
|
||||
/* memReset(&gH323ep.msgctxt); */
|
||||
memReset(call->msgctxt);
|
||||
|
||||
call->callState = OO_CALL_CONNECTED;
|
||||
|
||||
if (call->rtdrCount > 0 && call->rtdrInterval > 0) {
|
||||
return ooSendRoundTripDelayRequest(call);
|
||||
}
|
||||
return OO_OK;
|
||||
}
|
||||
|
||||
@@ -3669,7 +3674,9 @@ const char* ooGetMsgTypeText (int msgType)
|
||||
"OOUserInputIndication",
|
||||
"OORequestModeAck",
|
||||
"OORequestModeReject",
|
||||
"OORequestMode"
|
||||
"OORequestMode",
|
||||
"OORequestDelayResponse",
|
||||
"OORequestDelayRequest"
|
||||
};
|
||||
int idx = msgType - OO_MSGTYPE_MIN;
|
||||
return ooUtilsGetText (idx, msgTypeText, OONUMBEROF(msgTypeText));
|
||||
|
||||
Reference in New Issue
Block a user