projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Make GSM BS compile without SIP support
[lcr.git]
/
sip.h
diff --git
a/sip.h
b/sip.h
index
8fd420b
..
6d62cff
100644
(file)
--- a/
sip.h
+++ b/
sip.h
@@
-35,7
+35,6
@@
class Psip : public Port
nua_handle_t *p_s_handle;
nua_magic_t *p_s_magic;
int p_s_rtp_bridge; /* bridge RTP instead of having a local RTP peer */
nua_handle_t *p_s_handle;
nua_magic_t *p_s_magic;
int p_s_rtp_bridge; /* bridge RTP instead of having a local RTP peer */
- uint8_t p_s_rtp_payload_type;
unsigned short p_s_rtp_port_local;
unsigned short p_s_rtp_port_remote;
unsigned int p_s_rtp_ip_local;
unsigned short p_s_rtp_port_local;
unsigned short p_s_rtp_port_remote;
unsigned int p_s_rtp_ip_local;
@@
-63,10
+62,11
@@
class Psip : public Port
unsigned char p_s_rxdata[160]; /* receive audio buffer */
int p_s_rxpos; /* position in audio buffer 0..159 */
int bridge_rx(unsigned char *data, int len);
unsigned char p_s_rxdata[160]; /* receive audio buffer */
int p_s_rxpos; /* position in audio buffer 0..159 */
int bridge_rx(unsigned char *data, int len);
- int parse_sdp(sip_t const *sip, unsigned int *ip, unsigned short *port, uint8_t
payload_type
);
+ int parse_sdp(sip_t const *sip, unsigned int *ip, unsigned short *port, uint8_t
*payload_types, int *media_types, int *payloads, int max_payloads
);
void rtp_shutdown(void);
};
void rtp_shutdown(void);
};
+const char *media_type2name(uint8_t media_type);
int sip_init_inst(struct interface *interface);
void sip_exit_inst(struct interface *interface);
int sip_init(void);
int sip_init_inst(struct interface *interface);
void sip_exit_inst(struct interface *interface);
int sip_init(void);