passing dtmf rpt-event packet directly for 2-way call.
2 unresolved threads
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.
Edited by Wenpeng Song
Merge request reports
Activity
Filter activity
assigned to @wenpeng.song
mentioned in merge request asterisk-chan-voicemngr!70 (merged)
requested review from @Yalu
- Resolved by Yalu Zhang
- Resolved by Yalu Zhang
- Resolved by Yalu Zhang
- Resolved by Yalu Zhang
- Resolved by Yalu Zhang
- Resolved by Yalu Zhang
529 529 AST_SIP_100REL_REQUIRED, 530 530 }; 531 531 532 #ifndef _ast_sip_dtmf_mode_ 533 #define _ast_sip_dtmf_mode_ changed this line in version 4 of 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