libamsip 4.6.0

am_call.h File Reference

amsip session API More...

#include <amsip/am_filter.h>


int am_session_start (const char *identity, const char *url, const char *proxy, const char *outbound_proxy)
int am_session_start_text_conversation (const char *identity, const char *url, const char *proxy, const char *outbound_proxy)
int am_session_start_file_transfer (const char *identity, const char *url, const char *proxy, const char *outbound_proxy)
int am_session_get_udpftp (int did, MST140Block *_blk)
int am_session_send_udpftp (int did, MST140Block *_blk)
int am_session_get_text (int did, MST140Block *_blk)
int am_session_send_text (int did, MST140Block *_blk)
void am_free_t140block (MST140Block *_blk)
int am_session_hold (int did, const char *wav_file)
int am_session_off_hold (int did)
int am_session_inactive (int did)
int am_session_inactive_0_0_0_0 (int did)
int am_session_mute (int did)
int am_session_unmute (int did)
int am_session_add_in_conference (const char *identity, const char *url, const char *proxy, const char *outbound_proxy, const char *conf_name)
int am_session_answer (int tid, int did, int code, int enable_audio)
int am_session_answer_with_video (int tid, int did, int code, int enable_audio, int enable_video)
int am_session_redirect (int tid, int did, int code, const char *url)
int am_session_stop (int cid, int did, int code)
int am_session_refer (int did, const char *url, const char *referred_by)
int am_session_get_referto (int did, char *refer_to, size_t refer_to_len)
int am_session_find_by_replaces (osip_message_t *request)
int am_session_answer_request (int tid, int did, int code)
int am_session_send_notify (int did, const char *sub_state, const char *content_type, const char *body, int size)
int am_session_send_request (int did, const char *method, const char *content_type, const char *body, int size)
int am_session_play_file (int did, const char *wav_file)
int am_session_playfile (int did, const char *wav_file, int repeat, MSFilterNotifyFunc cb_fileplayer_eof)
int am_session_send_inband_dtmf (int did, char dtmf_number)
int am_session_send_rtp_dtmf (int did, char dtmf_number)
int am_session_send_dtmf (int did, char dtmf_number)
int am_session_send_dtmf_with_duration (int did, char dtmf_number, int duration)
int am_session_get_dtmf_event (int did, struct am_dtmf_event *dtmf_event)
int am_session_get_audio_remote (int did, char *remote_info)
int am_session_get_udpftp_bandwidth (int did, struct am_bandwidth_stats *band_stats)
int am_session_get_text_bandwidth (int did, struct am_bandwidth_stats *band_stats)
int am_session_get_audio_bandwidth (int did, struct am_bandwidth_stats *band_stats)
int am_session_get_audio_statistics (int did, struct am_audio_stats *audio_stats)
int am_session_modify_bitrate (int did, const char *preferred_codec, int compress_more)
int am_session_record (int did, const char *recfile)
int am_session_stop_record (int did)
int am_session_add_t140 (int did)
int am_session_receive_file (int cid, int did, const char *filename)
int am_session_file_info (int cid, int did, struct am_fileinfo *fileinfo)
int am_session_send_file (int cid, int did, const char *filename, const char *filename_short)
int am_session_stop_transfer (int cid, int did)
int am_session_add_external_rtpdata (int did, MSFilter *external_rtpdata)
int am_session_build_req (int did, const char *method, osip_message_t **request)
int am_session_send_req (int did, const char *method, osip_message_t *request)

Detailed Description

amsip session API

This file provide the API needed to control session.