Displaying 1 result from an estimated 1 matches for "ast_rtp_codec".
Did you mean:
ast_rtp_codecs
2015 Jan 17
1
Fwd: Asterisk pjsip auto dtmf mode
...are my changes:
In res/res_pjsip_sdp_rtp.c (I added session_media to get_codecs and used it
in order to update dtmf settings on rtp instance when telephone-event is
not included in the sdp):
150:
static void get_codecs(struct ast_sip_session *session, const struct
pjmedia_sdp_media *stream, struct ast_rtp_codecs *codecs, struct
ast_sip_session_media *session_media)
159:
char fmt_param[256];
int tel_event = 0;
177:
ast_copy_pj_str(name, &rtpmap->enc_name, sizeof(name));
if (strcmp(name,"telephone-event") == 0) {
tel_ev...