summaryrefslogtreecommitdiff
path: root/channels/sig_pri.h
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2011-05-17 20:13:27 +0000
committerRichard Mudgett <rmudgett@digium.com>2011-05-17 20:13:27 +0000
commit5257a915a8b579112243d7fda067e153aa9aafad (patch)
treed2071136ac28dea79f2a09eddec0b381f0fa2e6f /channels/sig_pri.h
parent380e0e3e2db352ba1009433dd131c686bfc44fca (diff)
Option needed for Q931_IE_TIME_DATE to be optional in CONNECT message.
The NEC SV8300 rejects the Q931_IE_TIME_DATE for Q.SIG. Add option to specify if and how much of the current time is put in Q931_IE_TIME_DATE. * Send date/time ie never. * Send date/time ie date only. * Send date/time ie date and hour. * Send date/time ie date, hour, and minute. * Send date/time ie date, hour, minute, and second. * Send date/time ie default: Libpri will send date and hhmm only when in NT PTMP mode to support ISDN phones. (closes issue #19221) Reported by: kenner JIRA SWP-3396 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@319427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.h')
-rw-r--r--channels/sig_pri.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h
index 9b4f56e68..d2e844138 100644
--- a/channels/sig_pri.h
+++ b/channels/sig_pri.h
@@ -441,6 +441,10 @@ struct sig_pri_span {
/*! \brief TRUE if allow sending MCID request on this span. */
unsigned int mcid_send:1;
#endif /* defined(HAVE_PRI_MCID) */
+#if defined(HAVE_PRI_DATETIME_SEND)
+ /*! \brief Configured date/time ie send policy option. */
+ int datetime_send;
+#endif /* defined(HAVE_PRI_DATETIME_SEND) */
int dialplan; /*!< Dialing plan */
int localdialplan; /*!< Local dialing plan */
int cpndialplan; /*!< Connected party dialing plan */