projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added patch to play ringing tone when connected but the call is forwarded
[lcr.git]
/
lcrsocket.h
diff --git
a/lcrsocket.h
b/lcrsocket.h
index
e7d51c5
..
7ecf7ad
100644
(file)
--- a/
lcrsocket.h
+++ b/
lcrsocket.h
@@
-39,6
+39,7
@@
enum { /* messages */
ADMIN_CALL_DISCONNECT,
ADMIN_CALL_RELEASE,
ADMIN_CALL_NOTIFY,
ADMIN_CALL_DISCONNECT,
ADMIN_CALL_RELEASE,
ADMIN_CALL_NOTIFY,
+ ADMIN_CALL_PROGRESS,
ADMIN_TRACE_REQUEST,
ADMIN_TRACE_RESPONSE,
ADMIN_MESSAGE,
ADMIN_TRACE_REQUEST,
ADMIN_TRACE_RESPONSE,
ADMIN_MESSAGE,
@@
-69,11
+70,14
@@
struct admin_response_interface {
int block;
int ntmode;
int ptp;
int block;
int ntmode;
int ptp;
+ int l1hold;
+ int l2hold;
int pri;
int extension;
int use; /* number of ports that use this interface */
int l1link; /* down(0) or up(1) */
int l2link; /* down(0) or up(1) */
int pri;
int extension;
int use; /* number of ports that use this interface */
int l1link; /* down(0) or up(1) */
int l2link; /* down(0) or up(1) */
+ unsigned char l2mask[16]; /* one bit for each tei */
int los, ais, rdi, slip_tx, slip_rx;
int channels;
char busy[256]; /* if port is idle(0) busy(1) */
int los, ais, rdi, slip_tx, slip_rx;
int channels;
char busy[256]; /* if port is idle(0) busy(1) */
@@
-127,7
+131,7
@@
struct admin_call {
int present; /* presentation */
int cause; /* cause to send */
int location;
int present; /* presentation */
int cause; /* cause to send */
int location;
- int notify;
+ int notify
_progress
;
int bc_capa;
int bc_mode;
int bc_info1;
int bc_capa;
int bc_mode;
int bc_info1;
@@
-185,4
+189,5
@@
enum {
ADMIN_STATE_CONNECT,
ADMIN_STATE_IN_DISCONNECT,
ADMIN_STATE_OUT_DISCONNECT,
ADMIN_STATE_CONNECT,
ADMIN_STATE_IN_DISCONNECT,
ADMIN_STATE_OUT_DISCONNECT,
+ ADMIN_STATE_RELEASE,
};
};