summaryrefslogtreecommitdiffstats
path: root/chan_lcr.h
diff options
context:
space:
mode:
authorschlaile2008-06-14 20:21:14 +0200
committerroot2008-06-14 20:21:14 +0200
commit0543086812cd2fbeb0f0a9dc1f908a8c2d86c020 (patch)
treec8d63935ccf83060f95262868532b528e16aad3e /chan_lcr.h
parentchanged long to int (64 bit system's compatibilty) (diff)
downloadlcr-0543086812cd2fbeb0f0a9dc1f908a8c2d86c020.tar.gz
lcr-0543086812cd2fbeb0f0a9dc1f908a8c2d86c020.tar.xz
lcr-0543086812cd2fbeb0f0a9dc1f908a8c2d86c020.zip
made callerid handling work in call from asterisk
(Asterisk 1.4.18 at least changes cid records between call and setup ...) fixed Makefile (emacs kept complaining :) )
Diffstat (limited to 'chan_lcr.h')
-rw-r--r--chan_lcr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chan_lcr.h b/chan_lcr.h
index c24a666..52bb095 100644
--- a/chan_lcr.h
+++ b/chan_lcr.h
@@ -27,6 +27,7 @@ struct chan_call {
unsigned char dialque[64];
/* queue dialing prior setup ack */
char oad[64];/* caller id in number format */
+
struct connect_info connectinfo;
/* store connectinfo form lcr */
int bridge_id;
@@ -43,6 +44,9 @@ struct chan_call {
/* LCR interface name for setup */
char dialstring[64];
/* cached dial string for setup */
+ char cid_num[64]; /* cached cid for setup */
+ char cid_name[64]; /* cached cid for setup */
+ char cid_rdnis[64]; /* cached cid for setup */
char display[128];
/* display for setup */
int dtmf;