summaryrefslogtreecommitdiffstats
path: root/dss1.h
diff options
context:
space:
mode:
authorAndreas Eversberg2009-02-15 09:04:14 +0100
committerAndreas Eversberg2009-02-15 09:04:14 +0100
commitfb6e219eda69fe19fdd16457570dd51d07099320 (patch)
tree87cd05d9c819849c6560912955d91749b9dffdc0 /dss1.h
parentfixed end-pointer bug on forwarded messages. thanx to bodo for this bugfix. (diff)
downloadlcr-fb6e219eda69fe19fdd16457570dd51d07099320.tar.gz
lcr-fb6e219eda69fe19fdd16457570dd51d07099320.tar.xz
lcr-fb6e219eda69fe19fdd16457570dd51d07099320.zip
chan_lcr hopefully now compiles against SVN version of asterisk.
Added limitation option for maximum dialed digits. If dial string exceeds that limit, overlap-dialing is used to complete dial string. Siemens EWSD (APS V16) only allows 20 digits at a time. modified: README modified: chan_lcr.c modified: default/interface.conf modified: dss1.cpp modified: dss1.h modified: ie.cpp modified: interface.c modified: interface.h
Diffstat (limited to 'dss1.h')
-rw-r--r--dss1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dss1.h b/dss1.h
index cb31b3b..168a56b 100644
--- a/dss1.h
+++ b/dss1.h
@@ -23,7 +23,7 @@ class Pdss1 : public PmISDN
int p_m_d_ntmode; /* flags the nt-mode */
int p_m_d_tespecial; /* special te-mode with all nt-mode IEs */
- struct lcr_msg *p_m_d_queue; /* queue for SETUP if link is down */
+ char p_m_d_queue[64]; /* queue for dialing information (if larger than setup allows) */
struct lcr_msg *p_m_d_notify_pending; /* queue for NOTIFY if not connected */
int p_m_d_collect_cause; /* collecting cause and location */
@@ -69,7 +69,7 @@ class Pdss1 : public PmISDN
void dec_ie_bearer(struct l3_msg *l3m, int *coding, int *capability, int *mode, int *rate, int *multi, int *user);
void enc_ie_call_id(struct l3_msg *l3m, unsigned char *callid, int callid_len);
void dec_ie_call_id(struct l3_msg *l3m, unsigned char *callid, int *callid_len);
- void enc_ie_called_pn(struct l3_msg *l3m, int type, int plan, unsigned char *number);
+ void enc_ie_called_pn(struct l3_msg *l3m, int type, int plan, unsigned char *number, int number_len);
void dec_ie_called_pn(struct l3_msg *l3m, int *type, int *plan, unsigned char *number, int number_len);
void enc_ie_calling_pn(struct l3_msg *l3m, int type, int plan, int present, int screen, unsigned char *number, int type2, int plan2, int present2, int screen2, unsigned char *number2);
void dec_ie_calling_pn(struct l3_msg *l3m, int *type, int *plan, int *present, int *screen, unsigned char *number, int number_len, int *type2, int *plan2, int *present2, int *screen2, unsigned char *number2, int number_len2);