18 #ifndef RES_PJSIP_SESSION_CAPS_H 19 #define RES_PJSIP_SESSION_CAPS_H struct ast_format_cap * ast_sip_session_create_joint_call_cap(const struct ast_sip_session *session, enum ast_media_type media_type, const struct ast_format_cap *remote)
Create joint capabilities.
media_type
Media types generate different "dummy answers" for not accepting the offer of a media stream...
A structure describing a SIP session.
static struct ast_mansession session
Structure used to handle boolean flags.
struct ast_format_cap * ast_sip_create_joint_call_cap(const struct ast_format_cap *remote, struct ast_format_cap *local, enum ast_media_type media_type, struct ast_flags codec_pref)
Create joint capabilities.
ast_media_type
Types of media.
struct ast_stream * ast_sip_session_create_joint_call_stream(const struct ast_sip_session *session, struct ast_stream *remote)
Create a new stream of joint capabilities.