[ifxmips]
[openwrt.git] / package / tapi_sip / src / sip_agent.h
1 #ifndef __SIP_AGENT_H__
2 #define __SIP_AGENT_H__
3
4 #include "agent.h"
5 #include <events.h>
6
7 struct sip_agent {
8         struct sip_client *client;
9         const char *identifier;
10
11         struct tapi_stream *stream;
12         struct session *session;
13
14         struct pjsip_inv_session *inv;
15
16         int rtp_sockfd;
17
18         struct sockaddr_storage remote_addr;
19         struct sockaddr_storage local_addr;
20
21         struct agent agent;
22
23         struct event_callback rtp_recv_callback;
24         struct event_callback stream_recv_callback;
25 };
26
27 #endif