summaryrefslogtreecommitdiffstats
path: root/message.h
diff options
context:
space:
mode:
authorAndreas Eversberg2008-11-04 09:31:09 +0100
committerAndreas Eversberg2008-11-04 09:31:09 +0100
commitefc550418c0b107c07818809a3d8e779e476dcd4 (patch)
tree4ce7e1612b611a95007fa335019a1ebc19fa993f /message.h
parentMerge branch 'master' of ssh://jolly@www.mISDN.org/var/git/lcr (diff)
downloadlcr-efc550418c0b107c07818809a3d8e779e476dcd4.tar.gz
lcr-efc550418c0b107c07818809a3d8e779e476dcd4.tar.xz
lcr-efc550418c0b107c07818809a3d8e779e476dcd4.zip
Added processing of second caller id.
New routing macht rule to filter second caller id. Fixed extensions directory path. "make clean" now cleans ".po" files. Fixed unititialized variable bugs and compiler warnings. modified: Makefile.am modified: Makefile.in modified: action.cpp modified: apppbx.cpp modified: callerid.c modified: chan_lcr.c modified: dss1.cpp modified: dss1.h modified: extension.c modified: gentones.c modified: ie.cpp modified: mISDN.cpp modified: message.h modified: port.cpp modified: route.c modified: route.h modified: socket_server.c modified: tones.c modified: trace.c
Diffstat (limited to 'message.h')
-rw-r--r--message.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/message.h b/message.h
index 8fb7021..7ac4a84 100644
--- a/message.h
+++ b/message.h
@@ -19,17 +19,17 @@ enum { /* interface types */
};
enum { /* number types */
- INFO_NTYPE_UNKNOWN = 0,
+ INFO_NTYPE_NOTPRESENT = 0,
+ INFO_NTYPE_UNKNOWN,
INFO_NTYPE_SUBSCRIBER,
INFO_NTYPE_NATIONAL,
INFO_NTYPE_INTERNATIONAL
};
enum { /* number presentation */
- INFO_PRESENT_NULL = 0,
+ INFO_PRESENT_NOTAVAIL,
INFO_PRESENT_ALLOWED,
- INFO_PRESENT_RESTRICTED,
- INFO_PRESENT_NOTAVAIL
+ INFO_PRESENT_RESTRICTED
};
enum { /* number presentation */
@@ -161,6 +161,10 @@ struct caller_info {
int present; /* presentation */
int screen; /* who provided the number */
char display[84]; /* display information */
+ char id2[32]; /* second callerid */
+ int ntype2; /* second type of number */
+ int present2; /* second presentation */
+ int screen2; /* second who provided the number */
};
/* call-info structure DIALING */