projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mncc: Use stdint.h from C++, copy newer version of OpenBSC's mncc.h
[lcr.git]
/
message.h
diff --git
a/message.h
b/message.h
index
6330654
..
82df9d5
100644
(file)
--- a/
message.h
+++ b/
message.h
@@
-148,11
+148,22
@@
enum {
B_MODE_HDLC, /* hdlc data mode */
};
B_MODE_HDLC, /* hdlc data mode */
};
+enum {
+ MEDIA_TYPE_ALAW = 1,
+ MEDIA_TYPE_ULAW,
+ MEDIA_TYPE_GSM,
+ MEDIA_TYPE_GSM_EFR,
+ MEDIA_TYPE_AMR,
+ MEDIA_TYPE_GSM_HR,
+};
+
/* rtp-info structure */
struct rtp_info {
/* rtp-info structure */
struct rtp_info {
- int payload_type;
- unsigned int ip;
- unsigned short port;
+ int payloads; /* number of payloads offered */
+ unsigned char payload_types[32];/* rtp payload types */
+ int media_types[32]; /* media type of given payload */
+ unsigned int ip; /* peer's IP */
+ unsigned short port; /* peer's port */
};
/* call-info structure CALLER */
};
/* call-info structure CALLER */