From e289ddf3d80c61ff5ec37ce4ca49a24997103a16 Mon Sep 17 00:00:00 2001 From: sauwming Date: Fri, 4 Oct 2024 12:57:47 +0800 Subject: [PATCH] Fixed doc for sending DTMF (#4099) --- pjsip/include/pjsua-lib/pjsua.h | 3 ++- pjsip/include/pjsua2/call.hpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index d0951b3cf..0bec35bd8 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -5623,7 +5623,8 @@ typedef struct pjsua_call_send_dtmf_param pjsua_dtmf_method method; /** - * The signal duration used for the DTMF. + * The signal duration used for the DTMF. This field is only used + * if the method is PJSUA_DTMF_METHOD_SIP_INFO. * * Default: PJSUA_CALL_SEND_DTMF_DURATION_DEFAULT */ diff --git a/pjsip/include/pjsua2/call.hpp b/pjsip/include/pjsua2/call.hpp index 743da677a..d37df81b0 100644 --- a/pjsip/include/pjsua2/call.hpp +++ b/pjsip/include/pjsua2/call.hpp @@ -1355,7 +1355,8 @@ struct CallSendDtmfParam pjsua_dtmf_method method; /** - * The signal duration used for the DTMF. + * The signal duration used for the DTMF. This field is only used + * if the method is PJSUA_DTMF_METHOD_SIP_INFO. * * Default: PJSUA_CALL_SEND_DTMF_DURATION_DEFAULT */