Skip to content
Snippets Groups Projects

passing dtmf rpt-event packet directly for 2-way call.

Merged Wenpeng Song requested to merge RFC4733 into devel
2 unresolved threads

Add a new frame type AST_FRAME_DTMF_BYPASS that used by chan-voicemngr which will forward the dtmf rtp-event packet directly for 2-way call when dtmf_mode is rfc4733.

for MR: asterisk-chan-voicemngr!70 (merged)

Edited by Wenpeng Song

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Yalu Zhang
  • Yalu Zhang
  • Yalu Zhang
  • Yalu Zhang
  • Yalu Zhang
  • Wenpeng Song added 1 commit

    added 1 commit

    Compare with previous version

  • Yalu Zhang resolved all threads

    resolved all threads

  • 529 529 AST_SIP_100REL_REQUIRED,
    530 530 };
    531 531
    532 #ifndef _ast_sip_dtmf_mode_
    533 #define _ast_sip_dtmf_mode_
  • Yalu Zhang
    Yalu Zhang @Yalu started a thread on the diff
  • 210 210 AST_BRIDGE_RETRY = -3,
    211 211 };
    212 212
    213 #ifndef _ast_sip_dtmf_mode_
    214 #define _ast_sip_dtmf_mode_
    215 /*!
    216 * \brief DTMF modes for SIP endpoints
    217 */
    218 enum ast_sip_dtmf_mode {
    • Why not just include res_pjsip.h as other samples but redefining it here? Duplication of code is not a good practice and shall be avoided as possible as we can.

      ~/git/voip/asterisk$ grep -rsn "res_pjsip.h"|grep "#include"
      channels/chan_pjsip.c:67:#include "asterisk/res_pjsip.h"
      channels/pjsip/dialplan_functions.c:604:#include "asterisk/res_pjsip.h"
      channels/pjsip/cli_commands.c:36:#include "asterisk/res_pjsip.h"
      funcs/func_pjsip_aor.c:44:#include "asterisk/res_pjsip.h"
      funcs/func_pjsip_endpoint.c:45:#include "asterisk/res_pjsip.h"
      funcs/func_pjsip_contact.c:44:#include "asterisk/res_pjsip.h"
      ...
    • Please register or sign in to reply
  • Wenpeng Song added 1 commit

    added 1 commit

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading