Displaying 1 result from an estimated 1 matches for "ast_rtp_instance_dtmf_mode_set".
Did you mean:
  ast_rtp_instance_dtmf_mode_get
  
2015 Jan 17
1
Fwd: Asterisk pjsip auto dtmf mode
...256];
        int tel_event = 0;
177:
                ast_copy_pj_str(name, &rtpmap->enc_name, sizeof(name));
                if (strcmp(name,"telephone-event") == 0) {
                        tel_event++;
                }
202:
        }
        if (tel_event==0) {
                ast_rtp_instance_dtmf_mode_set(session_media->rtp,
AST_RTP_DTMF_MODE_INBAND);
        }
        /* Get the packetization, if it exists */
241:
        get_codecs(session, stream, &codecs, session_media);
In res/res_pjsip_session.c (Just activated DSP also on RFC dtmf mode - I
didn't find a way to test the rtp instanc...